Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML col span attribute

HTML span attribute

HTML col Tag Reference HTML Tag

Example

Here, the background color of the first two columns is red:

 

   

   

 

 

   

   

   

 

 

   

   

   

 

ISBN Title Price
3476896 My first HTML $53

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the span attribute.


Definition and Usage

The span attribute specifies the number of columns the col element should span.


Differences between HTML 4.01 and HTML5

NONE.


Syntax

HTML tag