---
title: "Discussion on \"Did You Notice We Add Script in Body and Not in Head?\" | Hashnode"
description: "Discussion on \"Did You Notice We Add Script in Body and Not in Head?\". Have you ever wondered why web developers often place JavaScript scripts at the end of the body tag instead of the head?"
url: "https://hashnode.com/posts/did-you-notice-we-add-script-in-body-and-not-in-head/66c55bce0dc014313ededca3"
---

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

Discussion

# [Did You Notice We Add Script in Body and Not in Head?](https://himbhr.hashnode.dev/did-you-notice-we-add-script-in-body-and-not-in-head?utm_source=hashnode&utm_medium=feed)

Have you ever wondered why web developers often place JavaScript scripts at the end of the body tag instead of the head?

Aug 21, 2024 · 3 min read · himbhr.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#optimization](https://hashnode.com/tag/optimization)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Himanshu Bhoir](https://hashnode.com/@himbhr)

@himbhr · Navi Mumbai, India

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

Web Developer

Obsessed with Web Development | Full-Stack Specialist in React, Node.js, and Spring Boot | Top 5% LeetCode Programmer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
