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

HTML frameset cols Attribute

The HTML cols attribute

HTML frameset Tag Reference HTML Tag

Example

A three-column frameset:

 

 

 

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the cols property.


Definition and Usage

HTML5 does not support the tag.

The cols attribute specifies the size and number of columns in the frameset.

The width of each frame is specified in the cols attribute as a comma-separated list.

**Note:** Once the number of values for the cols attribute is specified, the number of columns in the frameset is defined.


Syntax

HTML tag