What does "tbody" do for us in HTML?
TBODY is a group of table rows. There are THEAD, TBODY, and TFOOT.
For example:
<table>
<tfoot><tr><td>This is a footer</td></tr></tfoot>
<tbody><tr><td>This is a body</td></tr></tbody>
<thead><tr><th>This is a header</th></tr></thead>
</table>
You will see that the footer will be at the bottom, the header will be at the top.
This way search engines or some browser can easily seperate between headers and the body.
0 коммент.:
Post a Comment