Name
<frame> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
Synopsis
<frame>
Defines a single frame within a <frameset>
.
Attributes
-
bordercolor=
"#rrggbb"
orcolor name
Sets the color for frame’s borders (if the border is turned on). Support for this attribute is limited to Netscape Navigator 3.0 and higher and Internet Explorer 4.0.
-
frameborder=1|0
(IE 3+ and W3C 4.0 Spec.);yes|no
(NN 3+ and IE 4.0 ) Determines whether there is a 3-D separator drawn between the current frame and surrounding frames. A value of
1
(oryes
) turns the border on. A value of0
(orno
) turns the border off. You may also set the frameborder at the frameset level, which may be more reliable.Because Netscape and Internet Explorer support different values, you may need to specify the frameborder twice within
<frame>
to ensure full browser compatibility, as follows:
frameborder=yes frameborder=1 ...
-
longdesc=
url
Specifies a link to a document containing a long description of the frame and its contents. This addition to the HTML 4.0 Specification may be useful for non-visual web browsers.
-
marginwidth=
number
Specifies the amount of space (in pixels) between the left and right edges of the frame and its contents. The minimum value according to the HTML Specification is 1 pixel. Setting the value to (zero) in order to place objects flush against the edge of the frame will work in Internet Explorer, however, Netscape will still display a 1-pixel margin space.
-
marginheight=
number
Specifies the amount ...
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.