Contents /
Previous /
Next
Text Tags
Headers
<h1> . . . </h1>
Most prominent header
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6> . . . </h6>
Least prominent header
Logical Styles
Emphasis :
<em> . . . </em>
Stronger emphasis :
<strong> . . . </strong>
Display source code (also HTML code) :
<code> . . . </code>
Include sample output :
<samp> . . . </samp>
Display a keyboard key :
<kbd> . . . </kbd>
Display a definition:
<var> . . . </var>
Display a citation :
<cite> . . . </cite>
Physical Styles
Boldface :
<b> . . . </b>
Italics :
<i> . . . </i>
Underline :
<u> . . . </u>
Typewriter font :
<tt> . . . </tt>
Text Elements
A New paragraph :
<p>
Pre-formatted text:
<pre> . . . </pre>
Identifies text that has already been formatted
some other system and must be displayed as is.
Pre-formatted text may include embedded tags,
but not all tag types are permitted.
Examples (source code):
<xmp> . . . </xmp>
Similar to <pre> except no embedded tags will be
recognized.
Quoted text:
<blockquote> . . . </blockquote>