Chapter 6. Layout Tables
Tables and their associated tags are HTML’s tools for presenting information in tabular format, such as spreadsheets, timetables, and reports. To fully describe tabular information, the
TABLE tag comes with associated elements and attributes, including the
TH element to indicate column and row headings, the
CAPTION element to provide a title, and the
SUMMARY attribute to provide a short description of a table’s purpose and structure.
In the early days of the Web, lacking more suitable options, designers adopted tables as a tool for page layout. By setting the table border value to zero (
<table border="0">), the resulting “invisible” tables could be used for multiple layout tasks, such as creating columns and indents, ...