Whether <applet>, <object>, or <embed>, all the executable content we've talked about so far have had one common trait: they are separate from the browser and the HTML document--separate data, separate execution engine.
Browsers that do not support the <script> tag will process contents of the tag as regular HTML, to the confusion of the user. For this reason, and as with the new <style> tag, we recommend that you include the contents of the <script> tag inside HTML comments:
So that you can tell users of browsers that do not support the <script> tag that they are missing something, Netscape supports the <noscript> tag.
Unfortunately, only Netscape 3.0 and later versions ignore the contents of the <noscript> tag. So even <script>-able browsers like Internet Explorer and Netscape 2.0 will display the contents of the <noscript> tag, to the confusion of their users.
<a href=doc.html onMouseOver="document.status='Click me!'; return true">
pops up an alert dialog box, and does nothing else. The document containing the hyperlink would still be visible after the dialog box gets displayed and is dismissed by the user.
Character entities in HTML consist of an ampersand, an entity name or number, and a closing semicolon. They are used to insert special or reserved characters into documents.
More than one statement must be separated by semicolons within the curly braces. The value of the last (or only) statement is converted to a string and replaces the entity in the document.
will set the text color of the document to the color value returned by the individual's favorite_color() function.