The HTML Elements reference.
"frameset" - html element
- The element is a frame container for dividing a window into rectangular subspaces called frames.
- Starttag <frameset> is Required and endtag </frameset> is Required
- In a Frameset document, the outermost FRAMESET element takes the place of 'body' and immediately follows the 'head' .
- The FRAMESET element contains one or more FRAMESET or 'frame' elements,
-
Browsers that support the frameset - element :
Element "frameset" example:
<!DOCTYPE html >
<html>
<head>
<title>A simple frameset document</title>
</head>
<frameset cols="25%, 75%">
<frameset rows="200, 200">
<frame src="a.html" >
<frame src="object_classid.html" >
</frameset>
<frame name="mainframe" src="http://www.bing.com">
<noframes>
<p>Browser cannot handle frameset </p>
</noframes>
</frameset>
</html>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
</head>
<body>
Visit <a href="http://www.w3processing.com"
target="mainframe">www.w3processing.com</a>
<br/>
Visit <a href="http://www.amazon.com"
target="mainframe" >www.amazon.com</a>
<br/>
Visit <a href="http://www.bing.com"
target="mainframe" >www.bing.com</a>
<br/>
</body>
</html>
<!DOCTYPE html >
<html>
<head>
<title>Object element example</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>
<body>
<p>
<object classid="java:Clock.class"
type="application/x-java-applet"
archive="Clock.jar"
height="140" width="140" >
<!-- Some browser needs the following param -->
<param name="code" value="Clock" />
<param name="archive" value="Clock.jar" />
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="http://java.sun.com/update/1.6.0/jinstall-1_6_0-windows-i586.cab"
height="140" width="140" >
<param name="code" value="Clock" />
<param name="archive" value="Clock.jar" />
<strong>
This browser does not have a Java Plug-in.
<br />
<a href="http://java.sun.com/products/plugin/downloads/index.html">
Get the latest Java Plug-in here.
</a>
</strong>
</object>
</object>
</p>
</body></html>
Attributes:
class , cols (Initial: 100% (1 col)), id , rows (Initial: 100% (1 row)), style , title
Attribute "class" value(s): A list of style class names that must be separated by white space characters.
class , cols (Initial: 100% (1 col)), id , rows (Initial: 100% (1 row)), style , title
Attribute "class" value(s): A list of style class names that must be separated by white space characters.
- This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
- You will find more about this in the CSS learning on this site.
© 2010 by Finnesand Data.
All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.