Home » defer attribute javascript delay execution .js loading empty stub functions programming coding download speed javascripts ie html4 standard interent explorer defer

JavaScript: Defer Execution – with the defer attribute of the script element

First introduced by Internet Explorer 4, the defer attribute of the script element is now part of the HTML 4 and XHTML specifications. The defer attribute gives a hint to the browser that the script does not create any content so the browser can optionally defer interpreting the script. This can improve performance by delaying execution of scripts until after the body content is parsed and rendered.

Read more