HTML PROGRAM TO CREATE FRAMES (WITHOUT USING JAVASCRIPT FUNCTION)

 

Main.html

<html>

<head>

<frameset cols="50%,50%">

<frame src="left.html" name="left">

<frame src="right.html" name="right">

</frameset>

</head>

</html>

 

Left.html

<html>

<body>

<h1>YOU ARE IN LEFT FRAME</h1>

<ul>

<li><A HREF="yahoo.html" target="right">CLICK ME TO TAKE TO YAHOO</A></li>

<li><A HREF="google.html" target="right">CLICK ME TO TAKE TO GOOGLE</A></li>

<li><A HREF="infoseek.html" target="right">CLICK ME TO TAKE TO INFO SEEK</A></li>

</ul>

</body>

</html>

 

Right.html

<HTML>

<BODY>

<H1>HEY YOURE IN RIGHT FRAME NOW CLICK ON YOUR OPTIONS TO LOAD THE PAGE HERE !!!!!!!</H1>

</BODY>

</HTML>

 

Yahoo.html

<HTML>

<BODY>

<H1>WELCOME TO YAHOO PAGE !!!!!!!</H1>

</BODY>

</HTML>              

 

Infoseek.html

<HTML>

<BODY>

<H1>WELCOME TO INFOSEEK PAGE !!!!!!!</H1>

</BODY>

</HTML>

 

Google.html

<HTML>

<BODY>

<H1>WELCOME TO GOOGLE PAGE !!!!!!!</H1>

</BODY>

</HTML>

OUTPUT:




No comments:

Post a Comment