Code for Frame Examples


Frame 1

<HTML>
<HEAD>
<TITLE>Sizzling HTML Jalfrezi - frames example - 1</TITLE>
</HEAD>
<BODY>
<H3>This is frame 1</H3>
It has scroll bars.<BR>
<A TARGET="_parent" HREF="frx_code.htm#Frame 1">View Source</A>.
</BODY>
</HTML>

[ back ]


Frame 2

<HTML>
<HEAD>
<TITLE>Sizzling HTML Jalfrezi - frames example - 2</TITLE>
</HEAD>
<BODY>
<H3>This is frame 2</H3>
<A HREF="frames.htm#example" target="_parent">Click here</A> to return to the Frames page.
This uses a the <CODE>_parent</CODE> <CITE>magic</CITE> name in the <CODE>target</CODE> attribute.<BR>
<A TARGET="_parent" HREF="frx_code.htm#Frame 2">View Source</A>.
</BODY>
</HTML>

[ back ]


Frame 3

<HTML>
<HEAD>
<TITLE>Sizzling HTML Jalfrezi - frames example - 3</TITLE>
</HEAD>
<BODY>
<H3>This is frame 3</H3>
<A TARGET="_parent" HREF="frx_code.htm#Frame 3">View Source</A>.
</BODY>
</HTML>

[ back ]


Frame 4

<HTML>
<HEAD>
<TITLE>Sizzling HTML Jalfrezi - frames example - 4</TITLE>
</HEAD>
<BODY>
<H3>This is frame 4</H3>
It has a margin width and height of 50.<BR>
<A TARGET="_parent" HREF="frx_code.htm#Frame 4">View Source</A>.
</BODY>
</HTML>

[ back ]


Frame 5

<HTML>
<HEAD>
<TITLE>Sizzling HTML Jalfrezi - frames example - 5</TITLE>
</HEAD>
<BODY>
<H3>This is frame 5</H3>
<A TARGET="frame3" HREF="x_frame6.htm">Click here</A> to load the file <CITE>x_frame6.htm</CITE> into frame 3.
This uses the <CODE>target</CODE> attribute.<BR>
<A TARGET="_parent" HREF="frx_code.htm#Frame 5">View Source</A>.
</BODY>
</HTML>

[ back ]


Frame 6

<HTML>
<HEAD>
<TITLE>Sizzling HTML Jalfrezi - frames example - 6</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFD8">
<H3>This is frame 6</H3>
<A HREF="x_frame3.htm">Click here</A> to load frame 3 back.  This uses the <CODE>target</CODE> attribute.<BR>
<A TARGET="_parent" HREF="frx_code.htm#Frame 6">View Source</A>.
</BODY>
</HTML>

[ back ]