HTML · Metadata and script attributes

async

Runs a script as soon as it downloads. Order is not guaranteed; use it for independent analytics.

Syntax
async

Example

Try it

More in this group

blocking charset content defer http-equiv nomodule property

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course