Table and its Properties

HTML Table:

  • Web developers can organize information like text, images, links, and other data into rows and columns of cells using HTML tables.

  • The <table> tag is used to generate HTML tables.

  • Table rows are created using the <tr> tag, while data cells are created using the <td> tag. Regular elements beneath <td> are by default left aligned.

Properties of tables:

  • Table Heading

  • Cell padding and spacing

  • Colspan and rowspan

  • Table Background

  • Table height and width

  • Table caption

  • Table Header, Body and footer

Table Heading

Cell padding and spacing

Colspan and Rowspan

Table Background

Table Height and width

Table Caption

Table Header, Body, Footer

0
Subscribe to my newsletter

Read articles from Himangshu Kalita directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Himangshu Kalita
Himangshu Kalita