HOW to use frame in HTML with example?
<html>
<head>
<title>use frame</title>
</head>
<!-- outer frameset -->
<!-- cols for vertical divisions -->
<frameset cols="100,*" >
<frame src="frame-a.html" />
<!-- right frame is another frameset -->
<!-- rows for horizontal divisions -->
<frameset rows="100,*">
<!-- top frame -->
<frame src="frame-b.html"/>
<!-- bottom frame -->
<frame src="frame-c.html">
</frameset>
<body>
</body>
</frameset>
</html>
(NOTE- <!--This is a comment. Comments are not displayed in the browser--> )
OUTPUT-
(Three frame in one window )<html>
<head>
<title>use frame</title>
</head>
<!-- outer frameset -->
<!-- cols for vertical divisions -->
<frameset cols="100,*" >
<frame src="frame-a.html" />
<!-- right frame is another frameset -->
<!-- rows for horizontal divisions -->
<frameset rows="100,*">
<!-- top frame -->
<frame src="frame-b.html"/>
<!-- bottom frame -->
<frame src="frame-c.html">
</frameset>
<body>
</body>
</frameset>
</html>
(NOTE- <!--This is a comment. Comments are not displayed in the browser--> )
No comments:
Post a Comment