Table Structure

Four basic table tags describe the whole table as

<table> </table> – This tag is a container for all tags used to create a table. The opening and closing table tags should be placed at the beginning and end of the table.

<tr></tr> – It stands for table row and opening and closing tags surround cells for that row.

<th></th> – It stands for table header. It is an optional tag used instead of td tag. It defines a cell containing header information and by default, content of header cells is in bold and centered.

<td></td> – It stands for table data and holds the actual content for the cell. There are opening and closing td tags for each cell in each row.

Basic and complex table structures can be made with these tags as per needs.

Get industry recognized certification – Contact us