A.9 Text-Level Elements^587
Table A.8Logical style tags
Element Example Usage
<strong> strongtext Causes text to be emphasized or to stand out from surrounding text. Usually
displays in bold.
<em> emphasized
text
Causes text to be emphasized in relation to other text on the page. Usually
displayed in italic.
<cite> citetext Identifies a citation or reference.
<code> code text Identifies program code samples. Usually a fixed-space font.
<dfn> dfntext Identifies a definition of a word or term.
<kbd> kbd text Identifies user text to be typed. Usually a fixed-space font.
<samp> samp text Shows program sample output.
<var> vartext Identifies and displays a variable or program output.
Logical Style Tags
Logical style tags specify the logical use and format of the text. Table A.8 shows logical
style tags and examples of their use.
Table A.9Physical style tags
Element Example Usage
<b> boldtext Displays text in bold.
<i> emphasizedtext Displays text in italic.
<big> big text Displays text in larger than normal size.
<small> small text Displays text in smaller than normal size.
<sub> subscripttext Displays in smaller text, below the baseline.
<sup> superscripttext Displays text in smaller text, above the baseline.
<strike> strikethroughtext Displays text with a line through it. (Deprecated)
<tt> teletypetext Displays text in teletype or fixed-space font.
<u> underlinedtext Displays text underlined; avoid using this because underlined text can be
confused with hyperlinks. (Deprecated)
Physical Style Tags
Physical style tags configure the physical display of the text. Table A.9 shows physical
style tags and examples of their use.
The <br />Ta g
<br />
The self-contained <br />tag creates a line break. The next XHTML element is dis-
played on a new line. The values for the deprecated clearattribute on the <br />tag
are shown in Table A.10.