Resources Menu


Quick Reference Sheets for Webmasters

Quick Reference sheets are packed full of useful information for all webmasters.

HTML Reference Sheet

HTML Tag List


<colgroup>
This tag defines a group of table columns. This element allows you to specify formatting for a grup of columns within your table. This element is a table specific element.

Attributes
align
Value(s) : left | right | center | justify | char
This attribute defines the horizontal alignment of the content contained within a column group.
char
Value(s) : character
This sets a character to use to align text in combination with the align="char" attribute
charoff
Value(s) : pixels | percent
This defines the alignment offset used in combination with the char and align="char" attributes.
span
Value(s) : number
This attribute sets the number of columns the colgroup should span across.
valign
Value(s) : top | middle | bottom | baseline
The VALIGN attribute defines the vertical alignment of the content within the column group.
width
Value(s) : pixels | percent | relative unit
This will set the width of the column group.
example:
<table border="1">
<colgroup span="2" align="right">
<tr>
<td>text is aligned to the right</td>
<td>text is aligned to the right</td>
<td>text is default alignment</td>
</tr>
</table>