The Most Secure Cross Browser Testing Platform since 2012


Cross Browser async Attribute

BLOG / Web Development

Cross Browser async Attribute

The boolean async attribute on script elements allows the external JavaScript file to run when it’s available, without delaying page load first.

Browser Support

Async attribute is already supported by all major browser so it should be really easy to get it working cross browser.

Code Example

You can use async attribute like this:

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

More Information

More information can be found here.