---
title: "Discussion on \"Maximizing Script Efficiency: Why You Should Always Use the defer Attribute with <script> Tags in the <head>\" | Hashnode"
description: "Discussion on \"Maximizing Script Efficiency: Why You Should Always Use the defer Attribute with <script> Tags in the <head>\". Always use defer attribute in script tag if you are using it in head"
url: "https://hashnode.com/posts/maximizing-script-efficiency-why-you-should-always-use-the-defer-attribute-with-script-tags-in-the-head/64f019fd9bc997226e217a46"
---

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

Discussion

# [Maximizing Script Efficiency: Why You Should Always Use the defer Attribute with <script> Tags in the <head>](https://codemaani.hashnode.dev/maximizing-script-efficiency-why-you-should-always-use-the-defer-attribute-with-script-tags-in-the-head?utm_source=hashnode&utm_medium=feed)

Always use defer attribute in script tag if you are using it in head

Aug 31, 2023 · 3 min read · codemaani.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#script](https://hashnode.com/tag/script)
-   [#attributes](https://hashnode.com/tag/attributes)

## Written by

[MOHD. SAQUIB USMANI](https://hashnode.com/@mohdsaquibusmani)

@mohdsaquibusmani

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

I am pursuing MCA from AMU. Interested in Web development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
