XHTML
(eXtensible HyperText Markup Language)

Basic Tags for Text Markup
Markup Output (font=Arial) Attributes
BLOCK-LEVEL TAGS
<h1>Largest Heading</h1>

Largest heading

ATTRIBUTES incl.:
- id [+ name]
- class
- title
- style
<h6>Smallest Heading</h6>
Smallest heading
ATTRIBUTES incl.:
- id [+ name]
- class
- title
- style
<p>Paragraph tags.</p>

Paragraph tags.

ATTRIBUTES incl.:
- id [+ name]
- class
- style
Line <br />break Line
break
ATTRIBUTES seldom applied
<hr /> ("horizontal rule" graphic text divider)
("horizontal rule" graphic text divider)
ATTRIBUTES incl.:
- class
- style
NOTE: all "special" attributes are deprecated
<blockquote>
<p>Blockquote tags isolate extended quotations by surrounding them with white space.</p>
</blockquote>.

<p>Note that they must contain other block-level elements (usually one or more paragraphs), and not just plain text.</p>

Blockquote tags isolate extended quotations by surrounding them with white space.

Note that they must contain other block-level elements (usually one or more paragraphs), and not just plain text.

ATTRIBUTES incl.:
- cite="[URL]"
- id [+ name]
- class
- title
- style
<pre>Preformatted 
  text   maintains
spacing and
    line breaks     as
typed, using a  
 		fixed-pitch font</pre>
Preformatted 
  text   maintains
spacing and
    line breaks     as
typed, using a  
 		fixed-pitch font
ATTRIBUTES incl.:
- id [+ name]
- class
- title
- style
<div style="text-align: center; border-style: dotted"> Division tags create a block-level box around their contents.</div> Use with a "class," "id," or "style" attribute to add CSS formating.
Division tags create a block-level box around their contents.
Use with a "class," "id," or "style" attribute to add CSS formating.
ATTRIBUTES incl.:
- id [+ name]
- class
- title
- style
INLINE TAGS (these cannot enclose BLOCK-LEVEL tags)
<span style="border: 1px dashed black">Span tags create an inline box around their contents.</span> Use with a "class," "id," or "style" attribute to add CSS formating. Span tags create an inline box around their contents. Use with a "class," "id," or "style" attribute to add CSS formating. ATTRIBUTES incl.:
- id [+ name]
- class
- title
- style
<b>Bold-face (but generally prefer &lt;strong&gt;</b> Bold-face (but generally prefer <strong>) ATTRIBUTES seldom applied
<big>Bigger than normal</big> Bigger than normal ATTRIBUTES seldom applied
<del>Deleted text, that's being editorially removed.</del> (Often used with <ins>inserted text</ins>.) Deleted text, that's being editorially removed. (Often used with inserted text.) ATTRIBUTES incl.:
- cite="[URL]"
- datetime=[YYYMMDD]"
- id [+ name]
- class
- style
- title
<em>Emphasis</em> Emphasis ATTRIBUTES incl.:
- class
- style
<ins>Inserted text, as an editorial addition.</ins> (Often used with <del>deleted text</del>.) Inserted text, as an editorial addition. (Often used with deleted text.) ATTRIBUTES incl.:
- cite="[URL]"
- datetime=[YYYMMDD]"
- id [+ name]
- class
- style
- title
<i>Italics (but generally prefer &lt;em&gt;)</i> Italics (but generally prefer <em>) ATTRIBUTES seldom applied
<small>Smaller than normal</small> Smaller than normal ATTRIBUTES seldom applied
<strong>Strong emphasis</strong> Strong emphasis ATTRIBUTES incl.:
- class
- style
<sub>Subscript</sub> text Subscript text ATTRIBUTES incl.:
seldom applied
<sup>Superscript</sup> text Superscript text ATTRIBUTES
seldom applied
<tt>Teletype text displays in a default monospaced font</tt> Teletype text displays in a default monospaced font ATTRIBUTES
seldom applied