Latest

recent

HTML frameset cols Attribute

Definition and Usage

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

Syntax

<frameset cols="cols_size">

Syntax Example

<frameset cols="90,50%,*">

Attribute Values

Value Description
pixels Specifies column size in pixels.
percent Specifies the column size in percent.
* Specifies the rest of the available space should be assigned this column.

Note: The number of attribute values used defines the number of columns.


Browser Support

The attribute is supported in all major browsers.

Example

<html>
<frameset cols="90,50%,*">
<frame src="frame_a.htm" />
<frame src="frame_b.htm" />
<frame src="frame_c.htm" />
</frameset>
</html>
HTML frameset cols Attribute Reviewed by 1000sourcecodes on 03:16 Rating: 5
Powered by Blogger.