Frame Tags Examples


   

SINGLE FRAMESET

Example code:

<FRAMESET COLS="100%,*" BORDER="0" FRAMEBORDER="no">
<FRAME MARGINHEIGHT="50" MARGINWIDTH="50" SRC="border1.htm" NAME="main">
</FRAMESET>

Result of code:

This link will take you to the page with the above coding: margin1.htm

To the Table of Contents


DOUBLE FRAMESET

Example code:

<FRAMESET ROWS="100%" COLS="10%,*">
<FRAME NAME="Frame 1" SRC="sidemenu.htm" SCROLLING="AUTO" MARGINHEIGHT=1 MARGINWIDTH=1>
<FRAME NAME="Frame 2" SRC="2ndframe.htm" SCROLLING="AUTO" MARGINHEIGHT=1 MARGINWIDTH=1>
</FRAMESET>

Result of code:

This link will take you to the page with the above coding: 2frames.htm

To the Table of Contents


TRIPLE FRAMESET

Example code:

<FRAMESET COLS="96,*,96" BORDERCOLOR="#ffffcc" BORDER="0" FRAMEBORDER="no" FRAMESPACING="no">
<FRAME NAME="left" SRC="left.htm" SCROLLING="none" MARGINHEIGHT="0" MARGINWIDTH="0">
<FRAME NAME="main" SRC="dream.htm">
<FRAME NAME="right" SRC="right.htm" SCROLLING="none" MARGINHEIGHT="0" MARGIINWIDTH="0">
<NOFRAMES>
<BODY BGCOLOR=#FFFFCC TEXT=#990033>
This is an example of frames. If you are reading this your browser does not have the ability to view frames.
</body></noframes>
</frameset>

Result of code:

This link will take you to the page with the above coding: 3frames.htm

To the Table of Contents


QUAD FRAMESET

Example code:

<FRAMESET ROWS="75,*>
<NOFRAMES>
<HEAD></HEAD><BODY BGCOLOR="#FFFFF0">
<CENTER>Your browser does not suport frames. This live example will not work. Return to <A HREF="frames.htm">Frame Tags page</A> or the <A HREF="index.htm">HTML Examples Title page</A>.</CENTER></BODY>
</NOFRAMES>
     <FRAMESET BORDERCOLOR="RED" COLS="200,*">
        <FRAMESET ROWS="23,23">
             <FRAME MARGINWIDTH="1" MARGINHEIGHT="1" NAME="logo" SRC="logo.htm" SCROLLING="no">
             <FRAME MARGINWIDTH="1" MARGINHEIGHT="1" NAME="counter" SRC="counter.htm" SCROLLING="no">
        </FRAMESET>
        <FRAME MARGINWIDTH="1" MARGINHEIGHT="1" NAME="menu" SRC="menu.htm" SCROLLING="no">
     </FRAMESET>
<FRAME FRAME MARGINWIDTH="35" MARGINHEIGHT="1" NAME="main" SRC="main.htm">
</FRAMESET>

Result of code:

This link will take you to the page with the above coding: 4frames.htm

To the Table of Contents


|Title Page| |Basic Template|
|Color| |Dynamic HTML/Layers| |Form Tags| |Frame Tags| |HTML Entities / ISO Characters|
|Image Tags| |Link Tags| |List Tags| |Other Spacing / Layout Tags| |Rule Tags| |Sound Tags|
|Style Sheets| |Table Tags I| |Table Tags II| |Text Tags| |Bibliography / Resources| |Index|


© David Merchant 1997-2001.
<