Тег FRAMESET
FRAMESET
<FRAMESET
BORDER=integer
BORDERCOLOR=color
COLS=string
FRAMEBORDER=string
FRAMESPACING=string
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT
| JSCRIPT | VBS | VBSCRIPT
ROWS=string
TITLE=string
event = script
>
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. You can also nest FRAMESET elements to
create frames within a frame.
- BORDER=
- Defines the space between the frames, including the 3D border.
- BORDERCOLOR=
- Sets border color and must be used with the BORDER= attribute.
- COLS=
- A comma delimited list of frames to create. Each item in the list contains
the initial size of the column.
- FRAMEBORDER=
- Specifies whether or not to display a border for the frame.
- FRAMESPACING=
- Creates additional space between the frames in pixels.
- CLASS=
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- ID=
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associated style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- LANG=
- This specifies the language to use. The specifier is an ISO standard
language abbreviation.
- LANGUAGE=
- Specifies the language that the current script is written in. JavaScript is
the default for this attribute.
- ROWS=
- A comma delimited list of frames to create. Each item in the list contains
the initial size of the row.
- TITLE=
- The Title attribute is used to provide advisory information.
- event
- Can be one or more of these events:
onafterupdate onbeforeupdate
onblur onclick
ondblclick ondragstart
onfocus onhelp
onkeydown onkeypress
onmousedown onmousemove
onmouseout onmouseover
onmouseup onresize
onrowenter onrowexit
onselectstart
A frameset organizes multiple frames on the screen. Only FRAMEs, nested FRAMESETs, and the NOFRAMES tag are valid within a frameset.
This element is a block element.
Both the start and end tags are required.
Example
<FRAMESET COLS="25%, 50%, *">
<FRAME SRC="contents.htm">
<FRAME SRC="info.htm">
<FRAME SCROLLING=NO SRC="graphic.htm">
</FRAMESET>