search engine optimization articles do it yourself seo hiring search engine experts html and search engine optimization web site analysis and submission service

HTML Table TD Tag Tutorial

Browser Support

Internet Explorer Firefox Opera Safari Chrome

The td element creates a single table data cell in an HTML table.

An HTML table has two types of cells:

Header Cell
The table header cell is coded with the <th> tag. It contains header information which often reads like a label for a table column or table row. The content in the table header cell is rendered in bold and centered horizontally within the cell by the browser. Header cells are usually used across the top of a data table, down the left column of a data table, or both.
Data Cell
The table data cell is coded with the <td> tag. It contains the information you want to present in table format, and usually makes up the bulk of a table. The content in a table data cell is normal weight and left-aligned.

Here's a simple table:

<table border="1" cellpadding="3">
<tr>
<th>Recipe</th>
<th>Difficulty</th>
<th>Rating</th>
<th>Comments</th>
</tr><tr>
<td>13 Bean Soup</td>
<td>5 of 10</td>
<td>7 of 10</td>
<td>Tasty, but there's <i>that</i> problem!</td>
</tr><tr>
<td>Boiled Water</td>
<td>8 of 10</td>
<td>3 of 10</td>
<td>Tastes runny, hard to make.</td>
</tr>
</table>

Here's how that displays:

Recipe Difficulty Rating Comments
13 Bean Soup 5 of 10 7 of 10 Tasty, but there's that problem!
Boiled Water 8 of 10 3 of 10 Tastes runny, hard to make.

Based on your interest in this tutorial you may also be interested in:

This concludes the HTML Table TD Tutorial.
Back | HTML Tag Chart | HTML Index | Web Design Tutorials
search engine optimization course
If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!

Check out SEO for YOU now!

Almost a Newsletter

Subscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:
Email:

First Name:

Privacy Policy

Did you know...

The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ]
See my fancy bottom! :)