The Web Design Group

SCRIPT - Inline scripts


This element is also available in our updated HTML 4 reference. Some characteristics may have changed.

Appearance: <SCRIPT> </SCRIPT>
Attributes: None.
Contents: Plain text, but should be a valid script.
May occur in: HEAD.

The SCRIPT tag is included only to ensure upward compatibility. Newer versions of HTML will include support for inline scripts, which should be contained in this tag. The tag should contain a valid script.

Note that current browsers are only required to hide the contents of the SCRIPT tag, it does not have to use the information contained therein.

In the meantime, if you need scripts in your documents, put them inside HTML comments.

Notes:

HTML 3.2 Reference  ~ Elements by Function  ~ Elements Alphabetically


Home, Forums, Reference, Tools, FAQs, Articles, Design, Links

Copyright © 1996 - 2006. Web Design Group All rights reserved.