The HTML defer attribute is a Boolean attribute which is used to specify that script is executed when the page has finished parsing. This attribute only works with external scripts.
External script: my_script.js
Supported Browsers: The browsers supported by <script> defer Attribute are listed below:
- Google Chrome
- Internet Explorer
- Apple Safari