Learn HTML Code Tutorial Reference Guide

Attribute for <FRAME ...>
NAME = "text string"

NAME is used in conjunction with <A TARGET="..."> to indicate which frame the link targets. For example, a common use for frames is to have three frames on a web page, such as pictured here (and here's the real thing):

illustration of FRAME NAME and A TARGET

The large frame in the lower right is named "RECIPES" using NAME:

<HTML>
<HEAD>
<TITLE>Great Recipes</TITLE>
</HEAD>

<FRAMESET ROWS="15%,*">
     <FRAME SRC="recipetitlebar.html" NAME=TITLE SCROLLING=NO>

     <FRAMESET COLS="20%,*">
          <FRAME SRC="recipesidebar.html" NAME=SIDEBAR>
          <FRAME SRC="recipes.html" NAME=RECIPES>
     </FRAMESET>

<NOFRAMES>NOFRAMES stuff
</NOFRAMES>

</FRAMESET>


</HTML>

The <A ...> tag which links to "Greek Salad" uses TARGET:

<A HREF="recipes.html#Greek Salad" TARGET=RECIPES>Greek Salad</A>

When the user clicks on the "Greek Salad" link, the results are put in the RECIPES frame.

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial