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>
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved