Page 19 of 24PREVNEXT

HTML Tables I: Basic concepts

Two tables with alignment options

These two tables show the most commonly used options for the horizontal and vertical alignment of a cell.

When you specify the alignment for a cell, you are setting the position, or justification of the content within the cell. This affects any content that's in the cell: text, pictures, and so on.

Horizontal alignment    This property specifies the horizontal alignment of the cell contents. Most of the time you will set this to be left, center, or right aligned.

Vertical Alignment    This property specifies the vertical alignment of cell contents. Most of the time you will align things to the top, but you could choose other options like middle or bottom.

Page 19 of 24PREVNEXT