DEV Community

vidhya murali
vidhya murali

Posted on

Tables in HTML

Define an HTML Table
A table in HTML consists of table cells inside rows and columns.
HTML tables allow web developers to arrange data into rows and columns.

  • Each table cell is defined by a and a tag.[td stands for table data.]
  • Each table row starts with a and ends with a tag.[tr stands for table row.]
  • Sometimes you want your cells to be table header cells. In those cases use the tag instead of the tag.[th stands for table header.]

    Reference : https://www.w3schools.com/html/html_tables.asp

Top comments (1)

Collapse
 
karthick_k_983555db6df3 profile image
Karthick (k)

πŸ‘πŸ»