<frame> : subwindow
The FRAME element defines the contents and appearance of a single frame.
Attributes
-) name
This attribute assigns a name to the current frame. This name may be used as the target of subsequent links.
longdesc
This attribute specifies a link to a long description of the frame. This description should supplement the short description provided using the title attribute, and may be particularly useful for non-visual user agents.
-) src
This attribute specifies the location of the initial contents to be contained in the frame.
-) noresize
When present, this boolean attribute tells the user agent that the frame window must not be resizeable.
-) scrolling = auto|yes|no
This attribute specifies scroll information for the frame window. Possible values
auto: This value tells the user agent to provide scrolling devices for the frame window when necessary. This is the default value.
yes: This value tells the user agent to always provide scrolling devices for the frame window.
no: This value tells the user agent not to provide scrolling devices for the frame window.
-) frameborder = 1|0
This attribute provides the user agent with information about the frame border. Possible values:
1: This value tells the user agent to draw a separator between this frame and every adjoining frame. This is the default value.
0: This value tells the user agent not to draw a separator between this frame and every adjoining frame. Note that separators may be drawn next to this frame nonetheless if specified by other frames.
-) marginwidth
This attribute specifies the amount of space to be left between the frame's contents in its left and right margins. The value must be greater than zero (pixels). The default value depends on the user agent.
-) marginheight
This attribute specifies the amount of space to be left between the frame's contents in its top and bottom margins. The value must be greater than zero (pixels). The default value depends on the user agent.
Example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>A frameset document</TITLE>
</HEAD>
<FRAMESET cols="33%,33%,33%">
<FRAMESET rows="*,200">
<FRAME src="contents_of_frame1.html">
<FRAME src="contents_of_frame2.gif">
</FRAMESET>
<FRAME src="contents_of_frame3.html">
<FRAME src="contents_of_frame4.html">
</FRAMESET>
</HTML>
For complete reference see html reference at W3C
P0..1 P0..2 P1..1 P1..2 P1..3 P1..4 P1..5 P2..1 P2..2 P2..3 P3..1 P3..2 P4..1 P4..2
P4..3 P4..4 P4..5 P4..6 P4..7 P4..8 P4..9 P4..10 P4..11 P4..12 P4..13 P4..14 P4..15 P4..16
P4..17 P4..18 P4..19 P4..20 P4..21 P4..22 P4..23 P4..24 P4..25 P5..1 P5..2 P5..3 P6..1 P6..2
P6..3 P6..4 P6..5 P6..6 P6..7 P6..8 P6..9 P6..10 P6..11 P6..12 P6..13 P6..14 P6..15 P6..16
|