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=#rrggbborcolor nameSets the color for frame’s borders (if the border is turned on). Support for this attribute is limited to Navigator 3.0 and higher and Internet Explorer 4.0.
frameborder=1|0(Internet Explorer 3+ and W3C 4.0 Spec.);yes|no(Navigator 3+ and Internet Explorer 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 theframeborderat theframesetlevel, which may be more reliable.Because Navigator and Internet Explorer support different values, you may need to specify the
framebordertwice within<frame>to ensure full browser compatibility, as follows:frameborder=yes frameborder=1 ...
longdesc=urlSpecifies 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=numberSpecifies 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
0(zero) in order to place objects flush against the edge of the frame will work in Internet Explorer, however, Navigator will still display a 1-pixel margin space.marginheight= ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access