defer javascript inline code example
Example: javascript can you defer inline
// for external scripts
<script defer src="abc.js"></script>
// for inline scripts add: type="module"
<script type="module">alert('test')</script>
// for external scripts
<script defer src="abc.js"></script>
// for inline scripts add: type="module"
<script type="module">alert('test')</script>