HTML frameset cols Attribute
HTML <frameset> tag
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>
|
Try-It-Yourself Demos
frameset
cols attribute example
Specify the size and number of columns in a frameset.
HTML <frameset> tag
|
|
|