This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

HTML Coding

Tables: Headers

Note: The HTML pages are out-of-date and will not be updated.

To organize table data and make it more readable, use column headers or row headers. Both types of headers appear boldface and centered in their cells. The table data code <TD> is replaced with the table header code <TH> for row and column headers. Column header codes are generally grouped together in a single row (within the <TR> code).

return to topA Table With Headers

Colors 1 Colors 2 Colors 3
Red Green Blue
Orange Yellow Purple
<TABLE BORDER=1>
<TR>
<TH>Colors 1</TH>
<TH>Colors 2</TH>
<TH>Colors 3</TH>
</TR>
<TR>
<TD>Red</TD>
<TD>Green</TD>
<TD>Blue</TD>
</TR>
<TR>
<TD>Orange</TD>
<TD>Yellow</TD>
<TD>Purple</TD>
</TR>
</TABLE>

return to topA Table With Side Headers

Colors 1 Red Green Blue
Colors 2 Orange Yellow Purple
<TABLE BORDER=1>
<TR>
<TH>Colors 1</TH>
<TD>Red</TD>
<TD>Green</TD>
<TD>Blue</TD>
</TR>
<TR>
<TH>Colors 2</TH>
<TD>Orange</TD>
<TD>Yellow</TD>
<TD>Purple</TD>
</TR>
</TABLE>
Excellence. Our Measure. Our Motto. Our Goal.