106 Chapter 7 – Formatting TextSummary of Text Tags
Web Design in a Nutshell, eMatter Edition<cite> NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
<cite>...</cite>Denotes a citation—a reference to another document, especially books, maga-
zines, articles, etc. Browsers generally display citations in italic.<code> NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
<code>...</code>Denotes a code sample. Code is rendered in the browser’s specified monospace
font (usually Courier).<del> NN: 2, 3, 4- MSIE:2, 3, 4, 5 - HTML 4 -WebTV- Opera3
<del>...</del>Indicates deleted text. It has no inherent style qualities on its own, but may be
used to hide deleted text from view or display it as strike-through text via style
sheet controls. It may be useful for legal documents and any instance where edits
need to be tracked. Its counterpart isinsertedtext (<ins>). Both can be used to
indicate either inline or block-level elements.<em> NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
<em>...</em>Indicates emphasized text. Nearly all browsers render emphasized text in italic.<font> NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4D- WebTV - Opera3
<font>...</font>Used to affect the style (color, typeface, and size) of the enclosed text.
Attributes
color="#rrggbb"
Specifies the color using a hexadecimal RGB value.
face=typeface (or list of typefaces)
Specifies a typeface for the text. The specified typeface will be used only if it
is found on the user’s machine. You may provide a list of fonts (separated by
commas) and the browser will use the first available in the string.
size=value
Sets the size of the type to an absolute value on a scale from 1 to 7 (3 is the
default), or using a relative value+nor-n(based on the default or<base-
font> setting).<i> NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
<i>...</i>Enclosed text is displayed in italic.