HTML Cheatsheet

Bold:

I'm bold text! <b>content</b>

Italicized:

I'm italic text! <i>content</i>

Underlined:

I'm underlined text! <u>content</u>

Center:

<center>content</center>

Line Break:

<br>

Horizontal Rule:


<hr>

Paragraph:

<p>content</p>

Image:

<img src="link" width="number" height="number">

Unordered Lists:

<ul> <li>content</li> <li>content</li> </ul>

Ordered Lists:

  1. one
  2. two
  3. three
<ol> <li>content</li> <li>content</li> </ol>

Headings:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<h1>content</h1> <h2>content</h2> <h3>content</h3> <h4>content</h4> <h5>content</h5> <h6>content</h6>

Links:

<a href="link">Display text</a>

Comments:

<!-- content -->

Tables:

Column 1 Column 2 Column 3
Row 1 ... ...
Row 2 ... ...
... ... ...
<table> <tr> <th>content</th> <th>content</th> </tr> <tr> <td>content</td> <td>content</td> </tr> </table>

Style

I'm a blue heading!

<h1 style="color:blue;"></h1>