Define THEAD, TBODY, TFOOT tags

Q13. Define the <THEAD>, <TBODY>, and <TFOOT> tags with respect to a table.

Ans. In HTML, the <THEAD>, <TBODY>, and<TFOOT> tags are used inside the <TABLE> tag. These tags divide a table in different sections.

The <THEAD> tag is used to define the header of the table.

The <TBODY> tag defines the body of the table, and has several attributes, such as BGCOLOR and ALIGN. You can use these attributes to change the default setting of the table body.

The <TFOOT> tag is used to define the footer of a table.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: