HTM71

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION

A simple demonstration of Frames

OUTPUT


SOURCE CODE

<HTML>
<HEAD><TITLE>A simple demonstration of Frames</TITLE></HEAD>
<FRAMESET COLS = “1*, 3*”>
<FRAME SRC = navbar.html>
<FRAME SRC = main.html>
</FRAMESET>
</HTML>
Here is the HTML code for navbar.html:
<HTML>
<BODY BGCOLOR = black TEXT = white>
<H1>Primary Colors</H1>
<UL>
<LI><FONT COLOR = red>RED</FONT>
<LI><FONT COLOR = yellow>YELLOW</FONT>
<LI><FONT COLOR = blue>BLUE</FONT>
<LI><FONT COLOR = white>MAIN FRAME</FONT>
</UL>
</BODY>
</HTML>
Here is the HTML code for main.html:

<HTML>
<BODY BGCOLOR = black TEXT = white>
<H1>RED, YELLOW, BLUE</H1>
Click on the words in the left navigation frame to load a new page into this right main frame.
</BODY>
</HTML>