i

Learn HTML and CSS in 10 Days

Creating A Table

Tables comprise of data that are placed inside rows and columns, and HTML provides multiple elements for describing and structuring these items. A table contains , (table row), and (table data) elements. For additional semantic value and greater structure, tables may come with (table header) element as well as some other elements. All of them work together to provide a solid taste.

Table

Using the element, one can initialize a table on a page. The element implies that the data inside this component will be tabular data shown in the desired rows and columns.

Table Row

To add the row in a table, you can use the element. A table can take in numerous rows. Contingent upon the measure of data to be shown, the number of table columns might be generous.

Table Data

To add data cells inside the row, one can use the element. Listing several elements in a steady progression will make columns inside a table row.