Image

Chapter 6

Tables: How Nature (and the W3C) Intended

Image

In this chapter:

  • Introducing how tables work
  • Using borders, padding, and spacing
  • Creating accessible tables
  • Enhancing tables with CSS
  • Designing tables for web page layout

The great table debate

Tables were initially intended as a means of displaying tabular data online, enabling web designers to rapidly mark up things such as price lists, statistical comparisons, specification lists, spreadsheets, charts, forms, and so on (the following example shows a simple table, taken from www.infoq.com ...

Get The Essential Guide to HTML5 and CSS3 Web Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.