HTML and CSS Reference
discussions of URLs. With advanced browsers such as Netscape, Opera,
selects the link. While these URLs will work, we don't recommend us-
ing them. Instead, authors should use the onclick attribute to associate
in your documents (see Chapter 12 for details). For example:
are valid URLs you may include as the value for a link reference (see
that activates an alert dialog with the simple message "Hello, world!", if
elsewhere in the document within the <script> tag and which perhaps
flashes the background color of the document window between red and
blue. The second expression is the same alert method as in the first ex-
ample, with a slightly different message.
wherein the user types in and tests various expressions and methods.