---
title: "Discussion on \"Different ways to load JavaScript in HTML\" | Hashnode"
description: "Discussion on \"Different ways to load JavaScript in HTML\". Regular Script Loading Inside of the head tag\n\nThe browser fetches and executes the script before parsing the HTML body, which means that the script may run before the HTML content has been fully loaded.\n\nManipulating the DOM in the script can lead t..."
url: "https://hashnode.com/posts/different-ways-to-load-javascript-in-html/6431b8dacd0730ae619a7c4a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Different ways to load JavaScript in HTML](https://spectrasonic.hashnode.dev/different-ways-to-load-javascript-in-html?utm_source=hashnode&utm_medium=feed)

Regular Script Loading Inside of the head tag The browser fetches and executes the script before parsing the HTML body, which means that the script may run before the HTML content has been fully loaded. Manipulating the DOM in the script can lead t...

Apr 8, 2023 · 1 min read · spectrasonic.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Manuel Heredia](https://hashnode.com/@spectrasonic)

@spectrasonic

  
[View profile](https://hashnode.com/@spectrasonic)

css

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
