[ Prev ] [ Index ] [ Next ]

Basic HTML Text Styles

The following styles should all be rendered differently to ordinary text that has no style markup (such as this first paragraph of Times New Roman proportional plaintext).

(EM) Emphasis, usually rendered in italic or underlined to bring out the text slightly from the background.

(STRONG) Strong emphasis, usually rendered in boldface. Must be rendered differently from emphasis.

(CITE) Citation, for titles and references within the text, typically rendered in italic.

(TT) Typewriter Text, a monospaced font (with every character having the same pixel-width) such as Courier New.

Netscape Navigator also recognises a special style tag (FONT) which can be written with a SIZE attribute (normal font sizes being 1-7). For example:


Style tags change the typography of contained text, but are abstract or logical constructs (rather than explicit as in wp-software). HTML also includes explicit styles, specifically (B),(I),(U) being BOLD, ITALIC and UNDERLINED for instances where explicit control is required, but (to quote the book) "generally the use of structural (tag) elements within styles should be avoided whenever possible".

(U) Underlined text is rarely used in HTML documents because it causes confusion too easily, having the same appearance as a hypertext-link to another document.

(STRIKE) Text within strike-tags gives the impression of having been struck out by the addition of a line through its center.