async in html script tag code example
Example 1: javascript async script
<script async src="script.js"></script>
Example 2: script async syntax
<script src="demo_async.js" async></script>
Example 3: script deferred
<script src="demo_defer.js" defer></script>