Hello Html

HTML Tables

Tables are defined by using the table tag. Tables are divided into table rows with the tr tag. Table rows are divided into table columns (table data) with the td tag.

Here is an example of a table with one row and three columns:

Table data tags td act as data containers within the table.

They can contain all sorts of HTML elements, such as text, images, lists, other tables, and so on.

The border and colspan Attributes

A border can be added using the border attribute. A table cell can span two or more columns:

To make a cell span more than one row, use the rowspan attribute.