supported tags example
Head tags
body <body bgcolor=white text=black link=red alink=blue> <body bgcolor=white text=black link=red alink=blue>
title none <title> Supported Tags </title>(value returned by title method)
Body tags:
a <a id=a href="#a">anchor</a> anchor
address <address>address</address>
address
b <b>Bold</b> Bold
base <base href="../index.html">
basefont <basefont size=6>
big <big>big</big> big
blockquote <blockquote>blockquote</blockquote>
blockquote
br line<br> break line
break
center <center>center</center>
center
cite <cite>cite</cite> cite
code <code>code</code> code
dir <dir id=dir plain src=green_ball.gif>dir lists:
<li>item 1
<li>item 2
</dir>
dir lists:
  • item 1
  • item 2
  • div some text <div align=center id=div> some more text some text
    some more text
    dl <dl>definition lists
    <dt>term<dd>definition
    </dl>
    definition lists
    term
    definition
    dfn <dfn>dfn</dfn>, or the defining instance of a term. dfn, or the defining instance of a term.
    em <em>emphasis</em> emphasis
    font <font size=+2 color=red>font</font> font
    h1 <h1 align="left" src="somegif.gif">heading</h1>

    heading

    h2 <h2 align="right" src="somegif.gif">heading</h2>

    heading

    h3 <h3 align="right" src="somegif.gif">heading</h3>

    heading

    h4 <h4 align="right" src="somegif.gif">heading</h4>

    heading

    h5 <h5 align="right" src="somegif.gif">heading</h5>
    heading
    h6 <h1 align="right" src="somegif.gif">heading</h6>
    heading
    hr horizontal
    <hr align="right" width=50% size="10" noshade>
    <hr>
    rule
    horizontal

    rule
    i <i>italics</i> italics
    img <img src="invalid.filename" alt="intentionally blank" width=100 height=100> intentionally blank
    kbd <kbd>kbd</kbd> <kbd>kbd</kbd>
    listing <listing>listing</listing> listing
    menu <menu>menu lists
    <li>item 1
    <li>item 2
    </menu>
    menu lists
  • item 1
  • item 2
  • ol <ol type="I" start=15>ordered lists
    <li>item 1
    <li value=2>item 2
    </ol>
      ordered lists
    1. item 1
    2. item 2
    p <p id="p" align="right">paragraph

    paragraph

    pre <pre>preformat</pre>
    preformat
    samp <samp>sample code</samp> sample code
    small <small>small</small> small
    sub <sub>sub</sub>script subscript
    sup <sup>sub</sub>erscript superscript
    strong strong strong
    table <table border align=center id=table width=100% bgcolor=gray text=white link=red cellpadding=4 cellspacing=4 alink=blue>
    <tr> <th colspan=2>
    Heading
    </th>
    </tr> <tr> <td>
    cell1
    </td> <td align=right bgcolor="#808080" link="#40a0f0" text="#00ffff">
    cell2
    </td> </tr> </table>
    Heading
    cell1 cell2
    tt <tt>typewriter text</tt> typewriter text
    u <u>underline</u> underline
    ul <ul src="red_ball.gif">unordered lists, taking the attributes:
    <li>plain
    <li>src
    <li>dingbat
    </ul>
      unordered lists, taking the attributes:
    • plain
    • src
    • dingbat
    var <var>var</var> var