WebDevelopersNotes logo

home-icon Home / HTML / How to make tables in HTML – Tables part 5

How to make tables in HTML – Tables part 5

How to make tables in HTML - Tables part 5

A few last words about tables before we more on to frames.

Another useful table tag is <TH> which is used for adding heading to columns. It replaces the <TD> tags of the first row. The <TH> tag helps in a logical table structure assisting in overall page design. Contents of <TH> are typically rendered in bold by browsers.

<TH>Heading 1</TH>
<TH>Heading 2</TH>
<TH>Heading 3</TH>
<TD>Column 1</TD>
<TD>Column 2</TD>
<TD>Column 3</TD>
Heading 1 Heading 2 Heading 3
Column 1 Column 2 Column 3

The <CAPTION> tag provides a summary of the table’s contents. It assists in a logical structure for the table. You should use this tag immediately after the <TABLE> tag.

According to HTML 4 specifications, a table should be divided into head, body and foot using the <THEAD>, <TBODY> and <TFOOT> tags. However, at the time of writing, only Internet Explorer supports these tags. The main functions of these tags is to group rows so that common alignment, styles, color etc. can be applied to them.

Sponsored Links

Your comments
Star icon IMPORTANT Have a question / problem? Click here to ask an expert.

Sponsored Links


How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]


In Japan, the term Sudoku is copyrighted. It was coined by Maki Kaji, president of Nikoli, a company that publishes puzzle books. The Japanese, however, still refer to the puzzle by it's original name - Number Place. Sudoku means digit-single in Japanese. By the way, Sudoku did not originate it Japan. The popular puzzle was invented by an American architect, Howard Garns and first published as Number Place in the May 1979 issue of Dell Pencil Puzzles and Word Games. In Japan, it was first published by the monthly Nikoli magazine. Sudoku gained worldwide popularity because of the efforts of Wayne Gould who not only convinced The Times UK to publish it but also developed a program that would churn out countless puzzles of specified difficulty. Gould was also responsible for taking Sudoku to the United States where it was published in several daily newspapers across the country. [more...]

We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy