What is HTML async Attribute?

HTML, HTML Attributes , 0 Comments

The async attribute specifies that the script will be executed asynchronously as soon as it is available. And It is a boolean attribute.

The async attribute is only for external scripts usage and it can be used only if the src attribute is present.

Tag Support

You can use the async attribute with <script> tag.

Example

<script src="my_main.js" async></script> 

Browser Support

Attribute
asyncYes10.03.6YesYes
Spread the love

Leave a Reply

avatar
  Subscribe  
Notify of