Frame Examples

Here are some examples of frames with their corresponding HTML. The examples use the two previous pages from the tutorial just to show you what it looks like.

Example 1 - Two Rows

<HTML><HEAD>
<TITLE> Frame Example 1</TITLE>
<FRAMESET ROWS="50%,*">
  <FRAME NAME="TOP" SRC="page21.htm">
  <FRAME NAME="BOTTOM" SRC="page22.htm">
</FRAMESET>
</HEAD>
</NOFRAMES>
<BODY BGCOLOR="#FFFFFF">
<H1 Align="center">You must have frames to view this page</H1>
</BODY></NOFRAMES></HTML>

Let's See It!

Use your "BACK" button to return here.

Example 2 - Two Columns

<HTML><HEAD>
<TITLE> Frame Example 1</TITLE>
<FRAMESET COLS="50%,*">
  <FRAME NAME="TOP" SRC="page21.htm">
  <FRAME NAME="BOTTOM" SRC="page22.htm">
</FRAMESET>
</HEAD>
</NOFRAMES>
<BODY BGCOLOR="#FFFFFF">
<H1 Align="center">You must have frames to view this page</H1>
</BODY></NOFRAMES></HTML>

Let's See It!

Use your "BACK" button to return here.

Example 3 - Rows and Columns

<HTML><HEAD>
<TITLE> Frame Example 1</TITLE>
<FRAMESET ROWS="50%,*">
  <FRAME NAME="TOP" SRC="page21.htm">
  <FRAMESET COLS="50%,*">
    <FRAME NAME="LEFT" SRC="page22.htm>
    <FRAME NAME="RIGHT" SRC="page23.htm">
  </FRAMESET>
</FRAMESET>
</HEAD>
</NOFRAMES>
<BODY BGCOLOR="#FFFFFF">
<H1 Align="center">You must have frames to view this page</H1>
</BODY></NOFRAMES></HTML>

Let's See It!

Use your "BACK" button to return here.

BACK HOME NEXT
Try It