HTML and CSS Reference
pops up an alert dialog box and does nothing else. The document con-
taining the hyperlink is still visible after the dialog box is displayed and
dismissed by the user.
Character entities in HTML and XHTML consist of an ampersand ( & ), an
entity name or number, and a closing semicolon. For instance, to insert
the ampersand character itself in a document text flow, use the char-
and a closing semicolon. For example:
You must separate multiple statements 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.
tities, however, are restricted to values of tag attributes. This lets you
write "dynamic tags" whose attributes are not known until the document
text color of the document to the color value returned by the individual's
browsers and for this reason we recommend against their use.