HTML CSS JavaScript SEO Python Posts Privacy About Contact

HTML Tables

HTML tables allow web developers to arrange data into rows and columns.

HTML tables allow web developers to arrange data into rows and columns.

Try It — Basic HTML Table

Preview

Table Elements Explained

TagDescription
<table>Defines a table
<tr>Defines a table row
<th>Defines a table header cell
<td>Defines a table data cell

Tip: Use the border-collapse: collapse CSS property to combine table borders into one clean line.