Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Frames > <FRAME ...>

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.

<FRAME SCROLLING="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com