HTML <table> Tag


The <table> tag is used to create an HTML table.

An HTML table is made up of a <table> element and one or more <tr>, <th>, and <td> elements.

The <tr> tag creates a row in a table, the <th> tag is used for the table header, and the <td> tag is used for a cell in the table.

An HTML table can have additional elements like <caption>, <colgroup>, <thead>, <tfoot>, and <tbody>.