
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <FRAME>
| Next Tag: <HEAD>
|
<FRAMESET>
A structural element that provides the container for a series of <FRAME> tags.
Support:
-
Notes:
- If you need to divide your frameset into both columns and rows, you can next one frameset inside another.
- Most browsers support frames. However, to allow for those few that don't, include a <NOFRAMES> tag within the framset.
- This tag requires the </FRAMESET> end tag.
Attributes:
- BORDER
= Postive integer
The size of the frame borders, in pixels.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
4.0 and later |
3.0 and later |
Notes:
-
If you set FRAMEBORDER to "NO", then use BORDER=0 to remove the white space that remains where the borders would have appeared.
- BORDERCOLOR
= "Color value"
The color of the frame borders.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
4.0 and later |
3.0 and later |
Notes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- COLS
= "Postive integer or percentage"
Divides the window into two or more columns, each of which is a frame,
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
Notes:
-
Use postiive integers to specify exact widths, in pixels, for each column.
- Use a percentage value to assign each column a portion of the browser window.
- To assign the rightmost column whatever space is left in the browser window, use an asterisk (*).
- Be sure to surround the values with quotation marks (e.g., COLS="100,200,*")
- FRAMEBORDER
= "Yes/No"
Determines whether the frame borders ares displayed.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
3.0 and later |
Notes:
-
Versions of Netscape prior to 4.5 only understood either FRAMEBORDER=1 (show borders) or FRAMEBORDER=0 (don't show borders). To support these older versions, use two FRAMEBORDER attributes (e.g., FRAMEBORDER="NO" FRAMEBORDER=0.
- FRAMESPACING
= Postive integer
The amount of space, in pixels, between each frame.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
3.0 and later |
Not supported |
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- ROWS
= "Postive integer or percentage"
Divides the window into two or more rows, each of which is a frame,
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
Notes:
-
Use postiive integers to specify exact widths, in pixels, for each row.
- Use a percentage value to assign each row a portion of the browser window.
- To assign the bottom row whatever space is left in the browser window, use an asterisk (*).
- Be sure to surround the values with quotation marks (e.g., ROWS="10%,*")
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
Example:
<FRAMESET ROWS="100,*">
<FRAME SRC="1.htm" NAME="Upper">
<FRAMESET COLS="40%,60%">
<FRAME SRC="2.htm" NAME="LowerLeft">
<FRAME SRC="3.htm" NAME="LowerRight">
</FRAMESET>
<NOFRAMES>
Your browser doesn't support frames. How retro!
</NOFRAMES>
</FRAMESET>
How It Looks:
- Follow this link to see the above example in action.
| Index
| Previous Tag: <FRAME>
| Next Tag: <HEAD>
|
|