GLAMERDAVOR


HTM71


  • Description
  • Output
  • Source Code



  • BACK TO EXERCISES




    Description


    A simple two-column frames page with a navigation bar from and a main content frame.

    return


    Output



    return


    Source Code


    <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>

    return

    HTM71