Easy Tutorial
❮ Att Iframe Srcdoc Ref Pxtoemconversion ❯

HTML <frameset> cols Attribute

HTML <frameset> Tag

Example

A three-column frame:


Browser Support

All major browsers support the cols attribute.


Definition and Usage

The cols attribute specifies the dimensions and number of columns in a <frameset>.

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

Note: Once the number of cols attribute values is specified, it defines the number of columns in the <frameset>.


Syntax

Attribute Values

Value Description
pixels Specifies the column size in pixels (e.g., "100px" or simply "100").
% Specifies the column size as a percentage of the available space (e.g., "50%").
* The remaining available space will be allocated to this column.

❮ Att Iframe Srcdoc Ref Pxtoemconversion ❯