Here is a list of basic HTML tags and their functions:

HTML Tags Code Examples Results
<a></a> - Anchor Tag - Link to a URL <a href="http://www.ing.unife.it></a> ing.unife.it
<a></a> - Anchor Tag - Link to e-mail address <a href="mailto:aravani@jakala.com">Send me e-mail</a> Send me e-mail
<a></a> - Anchor Tag - Link to page in same folder <a href="test.html">pagina di test</a> pagina di test
<b></b> - Bold Not bold,<b>bold</b> Not bold, bold
<blockquote></blockquote> - Indent Some regular text<blockquote>some text that is indented from the rest</blockquote> see what I mean? Some regular text
some text that is indented from the rest
see what I mean?
<br> - Line Break One Line<br>Second Line One Line
Second Line
<center></center> - Center Not centered<center>centered</center> Not centered
centered
<cite></cite> - Citation <cite>Vonnegut, Kurt - Slaughterhouse 5</cite> Vonnegut, Kurt - Slaughterhouse 5
<code></code> <code>nice effect for source code, eh?</code> nice effect for source code, eh?

<dl>
<dt>
<dd>
</dl> - Definition List

<dl><dt>Tag</dt>
<dd>Touching someone to make them "it"</dd>
<dt>Run</dt>
<dd>What you do after you tag someone</dd>
</dl>
Tag
Touching someone to make them "it"
Run
What you do after you tag someone
<em></em> - Emphasis Not emphasized, <em>emphasized</em> Not emphasized, emphasized
<font></font> - Font Tags and attributes (size, face, color) some text<font size="5" color="red" face="arial, helvetica, sans-serif">different text here</font> back to the plain stuff some text different text here back to the plain stuff
<h1></h1>...<h6></h6> - Headings <h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<hr> - Horizontal Rule man <hr> board man
board
<hr width=""> - Horizontal Rule with designated width in pixels <hr width="40">
<hr width="" align=""> - Horizontal Rule with designated width in pixels and designated alignment <hr width="30" align="left"><hr width="20" align="right">

<i></i> - Italics Not italic, <i>italic</i> Not italic, italic
<kbd></kbd> - Keyboard regular text, <kbd>keyboard text</kbd> regular text, keyboard text
<ol><li/>
</ol> - Ordered List
<ol><li>first in list</li>
<li>next in list</li>
<li>next in list</li>
<li>one more</li></ol>
  1. first in list
  2. next in list
  3. next in list
  4. one more
<p> - Paragraph <p>This is some stuff that would be in one paragraph and you would want a bigger break than a line break to show that.</p><p>This is some stuff in the second paragraph that is separated by that paragraph tag.</p>

This is some stuff that would be in one paragraph and you would want a bigger break than a line break to show that.

This is some stuff in the second paragraph that is separated by that paragraph tag.

<pre></pre> - Preformatted text
text with
        spaces  and
    breaks   and
    stuff 
      with    the
    preformat
    tags
<pre>text with
        spaces  and
    breaks   and
    stuff 
      with    the
    preformat
    tags</pre>
text with spaces and breaks and stuff with the preformat tags
text with
        spaces  and
    breaks   and
    stuff 
      with    the
    preformat
    tags
<s></s> - Strikethrough <s>strikethrough</s> strikethrough
<strong></strong> - Strong not strong,<strong>strong emphasis text</strong> not strong, strong emphasis text
<sub></sub> - Subscript Object<sub>subscript identifier</sub> Object subscript identifier
<sup></sup> - Superscript 2 x 10<sup>-3</sup> 2 x 10-3
<tt></tt> <tt>Teletype text</tt> Teletype text
<ul><li/>
</ul>
<ul><li>a list member</li>
<li>another list member</li>
<li>one more</li></ul>
  • a list member
  • another list member
  • one more