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.


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

Browser Support

async Yes 10.0 3.6 Yes Yes

Leave a Reply

Your email address will not be published.