Full width home advertisement

Welcome Home

Post Page Advertisement [Top]

How to Use Table Header, Body, and Footer.
The three tag elements for sorting out the head, body, and foot of a table are:

1. <thead> - used to construct a separate table header.

2. <tbody> - used to specify the main body of the table.

3. <tfoot> - used to construct a separate table footer.


<!DOCTYPE html>



<title>Scholars HTML Table</title>



<table border="2" width="90%">



<td colspan="6">The head of the table</td>





<td>Cell 1</td>

<td>Cell 2</td>

<td>Cell 3</td>

<td>Cell 4</td>





<td colspan="4">The foot of the table</td>






No comments:

Post a Comment

Bottom Ad [Post Page]