HTML - Tags - <td>

#131 of 147

         <caption>Population by Country</caption>
             <col span="2" style="background-color:lightgreen">
                 <th>Pop 2030</th>
                 <th>% change</th>
                 <td>1.38 billion</td>
                 <td>1.41 billion</td>
                 <td>3 billion</td>
                 <td>3.3 billion</td>

The td element represents a table cell.

A live example:

Population by country
Country Pop Pop 2030 % change
China 1.38 billion 1.41 billion 2.1%
India 1.31 billion 1.53 billion 16.8%
USA 322 million 356 million 10.6%
Total 3 billion 3.3 billion 10%

N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath