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 TH Tag Tutorial

Browser Support

Internet Explorer Firefox Opera Safari Chrome

The th element creates a single table header 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">
<th>Book Title</th>
<td>No Right or Wrong</td>
<td>Seymour Gray</td>
<td>7 of 10</td>
<td>Anita Newhhouse</td>
<td>8 of 10</td>
<td>Visual Learning</td>
<td>I.C. Howe</td>
<td>7 of 10</td>

Here's how that displays:

Book Title Author Rating
No Right or Wrong Seymour Gray 7 of 10
Foreclosure! Anita Newhhouse 8 of 10
Visual Learning I.C. Howe 7 of 10

Did you catch those book title/author combinations? I got a million of 'em!

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:

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! :)