![]() |
Definition and UsageThe When present, it specifies that the script will be executed asynchronously as soon as it is available. Note: The Note: There are several ways an external script can be executed:
Applies toThe
Browser SupportThe numbers in the table specify the first browser version that fully supports the attribute. |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The script async attribute</h1>
<p id="p1">Hello World!</p>
<script src="demo_async.js" async></script>
</body>
</html>
html async attribute |
How to add HTML async Attribute in HTML Page | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 79 |
Reffered: https://www.w3schools.com/tags/att_async.asp