Evangelism/Firefox3.5/35Days/Articles/Defer on script elements: Difference between revisions

Line 1: Line 1:




== '''<font style="color: red;">WORK IN PROGRESS</font>''' <tt>defer</tt> attribute for the  <tt>&lt;script&gt;</tt>  element ==
== <tt>defer</tt> attribute for the  <tt>&lt;script&gt;</tt>  element ==


In HTML, the <tt>script</tt> element allows authors to include dynamic script in their documents. The <tt>[http://www.w3.org/TR/html5/semantics.html#attr-script-defer defer]</tt> attribute is boolean attribute that indicate how the script should be executed. It was first introduced in Internet Explorer 4, and added in the [http://www.w3.org/TR/html401/interact/scripts.html#h-18.2.1 HTML 4 specification].
In HTML, the <tt>script</tt> element allows authors to include dynamic script in their documents. The <tt>[http://www.w3.org/TR/html5/semantics.html#attr-script-defer defer]</tt> attribute is boolean attribute that indicate how the script should be executed. It was first introduced in Internet Explorer 4, and added in the [http://www.w3.org/TR/html401/interact/scripts.html#h-18.2.1 HTML 4 specification].