Idocs Guide to HTML
back to <SCRIPT DEFER>

Example of SCRIPT DEFER

This page has an example of <SCRIPT DEFER>. The external script that follows this paragraph takes at least ten seconds to load, much like a very long script might take. If your browser doesn't support then the entire rest of the page has to wait for the script to load.

<SCRIPT 
   SRC="../cgi-bin/delscript.js" 
   DEFER
   ></SCRIPT>

This is stuff after the script. If you see this text before you see the "Hi There!" alert box, then works on your browser.


Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.