This is the main container for a Frame. Sets the number and size of vertical and horizontal frames for a compound document. Use the FRAME element within FRAMESET to define the content and properties of the individual frames.
<FRAMESET
BORDER=pixels
BORDERCOLOR=color
CLASS=Style Sheet class name
COLS=col-widths
FRAMEBORDER=NO | YES | 0 | 1
FRAMESPACING=spacing
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
ROWS=row-heights
TITLE=text content
event=script
>
Parameter |
Description |
BORDER |
Defines the space between the frames in pixels, including the 3D border. For nested FRAMESETS, the border can only be defined for the top-level FRAMESET element. |
BORDERCOLOR |
Sets border color and must be used with the BORDER attribute, except for frames. |
CLASS |
Class of the tag being defined. This is used to associate a subclassed style sheet with the tag. |
COLS |
A comma delimited list of frames to create. Each item in the list contains the initial size of the column. You can specify the column dimensions by percentage (%), pixels, or a relative size (*) |
FRAMEBORDER |
Specifies whether or not to display a border for the frame. |
FRAMESPACING |
Creates additional space between the frames in pixels. |
ID |
SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position. |
LANG |
Specifies which language to use in ISO standard language abbreviation form. |
LANGUAGE |
Specifies the language the current script is written in and invokes the
proper scripting engine. The default value is JAVASCRIPT. |
ROWS |
This takes a list of values, separated by comma marks. Each item in the list contains the initial size of the row.They can represent either absolute pixel, percentage, or relative scaling values. |
TITLE |
The TITLE attribute is for advisory information (unless used with a mailto: attribute). The Title attribute should provide the title of the document whose address is given by the HREF attribute. The contents of the title attribute will be displayed in a tooltip during the mouse moves on the link. Internet Explorer 4.0 (and above) is the only browser to implement this. |
Event |
Can be one or more of these events: |
<HTML>
<HEAD>
<TITLE> Frameset example</TITLE>
</HEAD>
<FRAMESET FRAMEBORDER="0" FRAMESPACING="0" BORDER="0"
COLS="165,*" >
<FRAME src="contents.htm" NAME="contents">
...
</FRAMESET>...
A frameset organizes multiple frames on the screen. Only frames, nested FRAMESETelements, and the NOFRAMES tag are valid within a frameset.
This element is a block element. Both the start and end tags are required.