SCRIPT - Inline scripts

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:


Web Design Group
Reference index ~ Wilbur index ~ Tag overview ~ Feedback

Copyright © 1997 Arnoud "Galactus" Engelfriet.