Notice the first colgroup shows span="2" as an attribute and value. This is how multiple columns are grouped together. Close one colgroup before opening another. Note that you should not place any content between the opening <colgroup> tag and the closing </colgroup> tag.

While the "colgroup" element is supported by all major browsers, Firefox doesn't recognize many HTML attributes or CSS styles you should be able to use with it, so you'll need to test what works and what doesn't in Firefox when you use this element.

Here's how that table looks on a web page:

Product

Description

Price

CSS Made Easy

Learn CSS the easy way.

$27.00

Tables Made Easy

All about HTML tables.

$17.00

Based on your interest in this tutorial you may also be interested in:

If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!