add javascript to html defer code example Example: script deferred <script src="demo_defer.js" defer></script>