HTML and CSS Reference
In-Depth Information The defer attribute
Some JavaScript scripts create actual document content using the docu-
ment.write method. If your scripts do not alter the contents of the doc-
ument, add the defer attribute to the <script> tag to speed its process-
ing. Because the browser knows that it can safely read the remainder of
the document without executing your scripts, it defers interpretation of
the script until after the document has been rendered for the user.
12.3.2. The <noscript> Tag
Use the <noscript> tag to tell users of browsers that do not support the
<script> tag that they are missing something. You've already seen many
examples of this type of tag. You know the drill . . . .
Search WWH ::

Custom Search