1.

What are table sections? How can they be created?

Answer»

In HTML tables, there are three different sections: header, body and footer. These sections can be created using <thead> (header section), <tbody> (body section) and <tfoot> (footer section) tags.

e.g

<table>

<thead>

<tr> <th> Month</th><th>Savings</th></tr> </thead>

<tbody>

<tr><td>January</td><td>$100</td></tr>

<tr><td>February</td><td>$80</td></tr>

</tbody>

<tfoot>

<tr><td>Sum</td><td>$180</td></tr>

</tfoot>

</tab1e>



Discussion

No Comment Found