Sunday, 29 December 2013

Design HTML Table Using HTML Tags


Header information in a table are defined with the <th> tag.
All major browsers display the text in the <th> element as bold and centered.

Example Design HTML Table Headers Using HTML tags Code....

<table border="1">
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

No comments:

Comments System