HTML-Lesson 22

Other tags--code to colgroup

The 'code' tag

The 'code' tag is usually used to display computer code in a mono space font like courier:
<code><title>HTML-Lesson 22</title></code>
gives:
<title>HTML-Lesson 22</title>

The 'col' tag

The 'col' tag is used to specify the properties of a column or group of columns in a table.

Attribute Values
*=default
Notes
align left*
right
center
justify
char
char character This is the character which is used to align the
contents of cells; often a '.' in numerical entries.
charoff length This not supported by all browsers
span number The number of columns described by the 'col' tag
valign top
middle
bottom
baseline
width pixels
percentage
number

The 'colgroup' tag

The 'colgroup' tag is used to conceptualise a group of columns.

Previous Lesson previous lesson next lesson Next Lesson