HTML <script> and <noscript> Elements
The <script> element contains a block of client-side script such as JavaScript or a link to an external script file using the
src attribute with a URI.
The type attribute is required to tell the browser the MIME type of the script.
The <noscript> </noscript> element should always be included on a page containg a script in order to
provide alternative content for browsers which either don't support scripts or have scripting disabled.
<script> Attributes
- src - gives the location of the script as a URI.
- type - gives the content type of the script eg: javascript.
- charset - gives the character encoding of the content designated by the src attribute.
- defer - tells the browser that the script is not going to generate any content and processing may be deferred until the page is fully loaded.
<noscript> Attributes
- CORE AND LANGUAGE ATTRIBUTES - class, id, title, style, dir, lang
- EVENT ATTRIBUTES - onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeydown, onkeyup, onkeypress
HTML 4 Element List
<!--<comment>--><!DOCTYPE><a><abbr><acronym><address><applet><area><b><base><basefont><bdo><big><blockquote><body><br><button><caption><center><cite><code><col><colgroup><dd><del><dfn><dir><div><dl><dt><em><fieldset><font><form><frame><frameset><head><h1> to <h6><hr><html><i><iframe><img><input><ins><isindex><kbd><label><legend><li><link><map><menu><meta><noframes> <noscript><object><ol><optgroup><option><p><param><pre><q><s><samp> <script><select><small><span><strike><strong><style><sub><sup><table><tbody><td><textarea><tfoot><th><thead><title><tr><tt><u><ul><var>
