HTML Introduction HTML Basics HTML Editor HTML Basic Tags HTML Document HTML Attributes HTML Formatting HTML Links HTML Bookmark HTML Imggages HTML images HTML Table HTML Lists HTML Forms

HTML Table


The HTML tables allow web authors to arrange data like text, images, links, other tables, etc. into rows and columns of cells. The HTML tables are created using the <table> tag in which the <tr> tag is used to create table rows and <td> tag is used to create data cells & <th > tag is used to create table heading.

Different attributes of table.


  • Border
  • Height & width
  • cell padding
  • cell spacing
  • Row span
  • col span

Example

Try It Yourself