HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

Chapter 16


Tables


Contents


16.1 Basic Markup..................... 162
16.2 Past Abuses...................... 164
16.3 Cell Styling...................... 164
16.4 Merging Cells..................... 165
16.5 Controlling Width.................. 166
16.6 Row Styling...................... 167
16.7 Column Styling.................... 167
16.8 Automatic Row Numbering............ 169
16.9 Overfull Cells..................... 170
16.10For Further Study.................. 171

The table is a very old HTML structure. It has been around forever. It is
pretty simple, but it has a few nice options.


16.1 Basic Markup


You begin it with

and end it with
(required). You start
each row withand end it with(optional). You start each heading
cell withand end it with(optional). You start each data cell
withand end it with(optional).


162

Free download pdf