---
title: "Comment by manish bhardwaj on \"Async & Defer: The Dynamic Duo of JavaScript Loading\" | Hashnode"
description: "Is this same for both HEAD and BODY element? script can be included in both HEAD and BODY element will it make any difference to add async and differ attribute"
url: "https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d/comment/6663d82e88f55c139561a9aa"
---

[Discussion](https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d)

Comment [Async & Defer: The Dynamic Duo of JavaScript Loading](https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d)

[manish bhardwaj](https://hashnode.com/@justblogMANISH)

[Jun 8, 2024](https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d/comment/6663d82e88f55c139561a9aa)

Is this same for both HEAD and BODY element?

script can be included in both HEAD and BODY element will it make any difference to add async and differ attribute in script if it is present in BODY element?

[Dhruv Vashist](https://hashnode.com/@DvbyDt)

[Jun 8, 2024](https://hashnode.com/posts/async-defer-the-dynamic-duo-of-javascript-loading/66559e5d8778a98c55404a9d/comment/6663d82e88f55c139561a9aa#reply-6663d9fcd3c19bd7657b85fc)

No, async and defer will work in the same way even if it is declared inside of the instead of the . The only thing is the placement of the
