async attribute for html script tag code example
Example 1: javascript defer
//A script that will not run until after the page has loaded
<script src="demo.js" defer></script>
Example 2: script async syntax
<script src="demo_async.js" async></script>