Here is the list of tags used to create an HTML Table.
<table>
: Table Tag, Entry or Root element for an HTML table.<tbody>
: Table Body Tag, Body of an HTML table.<tr>
: Table Row Tag, Table Row element.<td>
: Table Data Cell Tag, Data Cell for an HTML table.<thead>
: Table Header Group Tag, Header for an HTML table.<th>
: Table Header Cell Tag, Header Cell for Table Header Group.<tfoot>
: Table Foot Tag, Addition or Footer for an HTML Table.<caption>
: Caption Tag, Title or Caption for an HTML Table.<colgroup>
: Column Group Tag, Grouping of column properties to apply.<col>
: Column Tag, Apply properties and style to entire column.
- For Create an HTML Table, Atleast, It need a Table entry point
Table Tag
, Body of the TableTable Body Tag
, Cell Data Table Data Cell Tag and Which is arranged in Table Rows Table Row Tag. - Use
rowspan
andcolspan
attributes for Table Header Cell Tag and Table Data Cell Tag to span the Table cell to meet the requirements. - Apply repeated properties for cells use Column Group Tag with Column Tag.