1 2 3 4 5

HTML Short List

Syntax

Description

<li>...</li>

These tags define the enclosed text as an item in a list. The closing tag is optional.

Example

<li>If I don't do it, somebody else will!</li>

Syntax

Description

<ol>...</ol>

The ordered list tags instruct the browser to format the list of items that follow in numerical order.

Example

<ol>
<li>This is the first item</li>
<li>This is the second item</li>
<li>This is the last item</li> </ol>

Syntax

Description

<p>...</p>

The paragraph tags define the enclosed text as a single paragraph for display purposes. Each paragraph is separated by some spacing.

Example

<p>Here is a single sentence paragraph.</p>

Syntax

Description

<table>...</table>

The table tags denote the beginning and end of a table.

Example

<table>
<th>Here is the table heading</th>
<tr>
<td>This is the text for the first column</td>
<td>This is the text for the second column</td>
<td>This is the text for the third column</td>
</tr>
</table>

Syntax

Description

<td>...</td>

The <td> tags define the enclosed text as a single entry for a column in a table.

Example

See <table> above

Syntax

Description

<th>...</th>

The <th> tags define the enclosed text as a heading for a table.

Example

See <table> above

©Abernethy and Allen, 2003
Furman University
Last Modified: 1/03