HTML and CSS Reference
In-Depth Information
<frameset cols="20%, 80%">
<frame src="controls.html" name="controls">
<frame src="display.html" name="body">
<p> Error: No frame support </p>
<!-- This example defines two rows, one of which is 10% of the screen,
and the other, whatever space is left. -->
<frameset rows="10%, *">
<frame src="adbanner.html" name="ad_frame">
<frame src="contents.html" name="content_frame">
HTML 4 and 4.01 (frameset DTD)
XHTML 1.0 (frameset DTD)
Firefox 1+, Internet Explorer 3+,
Netscape 2+,
Opera 4+, Safari 1+
• The content model says that the <frameset> tag contains one or more <frame>
tags, which are used to indicate the framed contents. A <frameset> tag also might
contain a <noframes> tag, whose contents will be displayed by browsers that do
not support frames.
• HTML5 currently does include support for frames beyond the inline frame defined
by an <iframe> tag.
• The <frameset> tag replaces the <body> tag in a framing document, as shown
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
<html xmlns="" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Frame Demo </title>
<frameset cols="*,50,*">
<frame src="column1.html" name="col1" />
<frame src="column2.html" name="col2" />
<frame src="column3.html" name="col3" />
<p> Please visit our <a href="noframes.html"> no frames </a> site. </p>
Search WWH ::

Custom Search