Horje

How to add HTML <script> async Attribute

It is a script that will be downloaded in parallel to parsing the page, and executed as soon as it is available.
index.html
Example: HTML
<p id="p1">Hello World!</p>
<script src="demo_async.js" async></script>

Output should be:

How to add HTML <script> async Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin