Headings A heading element implies all the font changes, paragraph breaks before and after, and white space (for example) necessary to render the heading. Further character emphasis or paragraph marks are not required in HTML, and should be avoided.

<H1>

Bold very large font, centered. One or two lines clear space between this and anything following. If printed on paper, start new page.

<H2>

Bold, large font,, flush left against left margin, no indent. One or two clear lines above and below.

<H3>

Italic, large font, slightly indented from the left margin. One or two clear lines above and below.

<H4>

Bold, normal font, indented more than H3. One clear line above and below.
<H5>
Italic, normal font, indented as H4. One clear line above.
<H6>
Bold, indented same as normal text, more than H5. One clear line above.
Formatting elements
<P>Paragraph marks The P element marks the break between two paragraphs. You do NOT need to use <P> to put white space around heading, list, address or blockquote elements which imply a paragraph break. It is the responsibility of the rendering software to generate that white space.
<BR>Line Breaks Like paragraph marks, but just forces a new line.
<HR>Horizontal Rule A horizontal dividing line.
<ADDRESS>Address style An ADDRESS element is displayed in a particular style.
<BLOCKQUOTE>Blockquote style A block of text quoted from another source.
<PRE>Preformatted text Sections in fixed-width font for preformatted text.
Logical Styles
<EM>Emphasis, typically italic.
<STRONG>Stronger emphasis, typically bold.
<CODE>Example of code. typically monospaced font, not <pre>
<SAMP>A sequence of literal characters.
<KBD>in an instruction manual, Text typed by a user.
<VAR>A variable name.
<DFN>The defining instance of a term. Typically bold or bold italic.
<CITE>A citation. Typically italic.
Physical Styles
<TT>Fixed-width typewriter font.
<B>Boldface, where available, otherwise alternative mapping allowed.
<I>Italic font (or slanted if italic unavailable).
<U>Underline.
Lists
Unordered list (<UL>) Ordered list (<OL>) Menu (<MENU>) Directory (<DIR>) Definition list (<DL>)
A list of multi-line paragraphs, typically separated by some white space and/or marked by bullets, etc. As UL, but the paragraphs are typically numbered in some way to indicate the order as significant. A list of smaller paragraphs. Typically one line per item, with a style more compact than UL. A list of short elements, typically less than 20 characters. These may be arranged in columns across the page, typically 24 characters in width. A list of paragraphs each of which has a short title alongside it. Apart from glossaries, this element is useful for presenting a set of named elements to the reader.
UList
<ul>
<li>item
<li>item
</ul>
OList
<ol>
<li>item
<li>item
</ol>
Menu
<menu>
<li>item
<li>item
</menu>
Dir
<dir>
<li>item
<li>item
</dir>
Defs
<dl>
<dt>term
<dd>def
</dl>
UList
  • <li>
  • <li>
  • text
OList
  1. <li>
  2. <li>
  3. text
Menu
  • <li>
  • <li>
  • text
  • Dir
  • <li>
  • <li>
  • text
  • Defs
    <dt>
    <dd>
    term
    def

     
    &#160;
    ¡
    &#161;
    ¢
    &#162;
    £
    &#163;
    ¤
    &#164;
    ¥
    &#165;
    ¦
    &#166;
    §
    &#167;
    ¨
    &#168;
    ©
    &#169;
    ª
    &#170;
    «
    &#171;
    ¬
    &#172;
    ­
    &#173;
    ®
    &#174;
    ¯
    &#175;
    °
    &#176;
    ±
    &#177;
    ²
    &#178;
    ³
    &#179;
    ´
    &#180;
    µ
    &#181;

    &#182;
    ·
    &#183;
    ¸
    &#184;
    ¹
    &#185;
    º
    &#186;
    »
    &#187;
    ¼
    &#188;
    ½
    &#189;
    ¾
    &#190;
    ¿
    &#191;
    À
    &#192;
    Á
    &#193;
    Â
    &#194;
    Ã
    &#195;
    Ä
    &#196;
    Å
    &#197;
    Æ
    &#198;
    Ç
    &#199;
    È
    &#200;
    É
    &#201;
    Ê
    &#202;
    Ë
    &#203;
    Ì
    &#204;
    Í
    &#205;
    Î
    &#206;
    Ï
    &#207;
    à
    &#224;
    á
    &#225;
    â
    &#226;
    ã
    &#227;
    ä
    &#228;
    å
    &#229;
    æ
    &#230;
    ç
    &#231;
    è
    &#232;
    é
    &#233;
    ê
    &#234;
    ë
    &#235;
    ì
    &#236;
    í
    &#237;
    î
    &#238;
    ï
    &#239;
    Ð
    &#208;
    Ñ
    &#209;
    Ò
    &#210;
    Ó
    &#211;
    Ô
    &#212;
    Õ
    &#213;
    Ö
    &#214;
    ×
    &#215;
    Ø
    &#216;
    Ù
    &#217;
    Ú
    &#218;
    Û
    &#219;
    Ü
    &#220;
    Ý
    &#221;
    Þ
    &#222;
    ß
    &#223;
    ð
    &#240;
    ñ
    &#241;
    ò
    &#242;
    ó
    &#243;
    ô
    &#244;
    õ
    &#245;
    ö
    &#246;
    ÷
    &#247;
    ø
    &#248;
    ù
    &#249;
    ú
    &#250;
    û
    &#251;
    ü
    &#252;
    ý
    &#253;
    þ
    &#254;
    ÿ
    &#255;

    Language glyphs A E I N O U Y a e i n o u y
    acute (&_acute;) ÁÉÍ ÓÚÝ áéí óúý
    circ (&_circ; ) Â Ê Î Ô Û â ê î ô û
    grave (&_grave;) ÀÈÌ ÒÙ àèì òù
    ring (&_ring; ) Å å
    slash (&_slash;) Ø ø
    tilde (&_tilde;) Ã Ñ ã ñ
    uml (&_uml; ) Ä Ë Ï Ö Ü ä ë ï ö ü ÿ