A lot of information can be presented in a table. Data such as sport results, train timetables, stock prices are good candidates for a table. This chapter explains how to work with HTML tables.
An HTML table is a grid of columns and rows and can have a horizontal heading and a vertical one. A table can also have any number of rows and each block in the table is referred to as a table cell. A table cell can span multiple columns and rows. Headings in a table are optional.
You use the table element to create a table. A table element may contain any number of rows, each created using the tr element. A tr element that contains a heading may contain any number of th elements. A tr element that contains normal rows ...