Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Tables > <COL ...>

Attribute for <COL ...>
SPAN =integer

SPAN indicates how many columns the <COL ...> tag affects. The default value (i.e. if you don't use SPAN) is 1.

For example, in the following code the first SPAN affects the first column. The second SPAN uses SPAN=2 to apply itelf to the next two columns.

<TABLE BORDER CELLPADDING=5>
<COL>
<COL STYLE="color:red" SPAN=2>
<TR> <TH>Expense</TH> <TH>Price</TH> <TH>Status</TH> </TR>
<TR> <TD>office suite</TD> <TD>1,343.11</TD> <TD>rental</TD> </TR>
<TR> <TD>cabling</TD> <TD>1.00</TD> <TD>installed</TD> </TR>
</TABLE>

which gives us this table.

ExpensePriceStatus
office suite1,343.11rental
cabling 1.00installed

<COL ALIGN="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com