HTML frameset cols attribute
Examples
A three frameworks:
<frameset cols="25%,*,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
try it"
Browser Support
All major browsers support cols attribute.
Definition and Usage
HTML5 does not support the <frameset> tag.
cols attribute specifies the <frameset> the size and number of columns.
The width of each frame is in a comma-separated list of cols attribute specified.
NOTE: Once a predetermined number of cols attribute value, it defines the number of <frameset> in the column.
grammar
<frameset cols="pixels|%|*">
Property Value
值 | 描述 |
---|---|
pixels | 规定列尺寸,以像素计(比如 "100px" 或者只是 "100")。 |
% | 规定列尺寸,以可用空间的百分比计(比如 "50%")。 |
* | 可用空间的剩余部分将会分配给该列。 |
HTML <frameset> tag