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 ...>

Usage Recommendation
Use it, but don't rely on it.

  • SRC: what file to put in the frame
  • NAME: the name of the frame
  • SCROLLING: should the frame have a scrollbar?
  • NORESIZE: don't let the user make the frame bigger or smaller
 

<FRAME ...> sets a single frame in the framed page. <FRAME ...> always goes inside a <FRAMESET ...> element. The SRC attribute, which is required, indicates the URL of the page that goes in the frame. In most situations you should also use NAME to give the frame a name so that links can target the frame.

For example, this code creates a frameset with two frames. The first <FRAME ...> loads the file frame1_title.html into a frame named TITLE. The second<FRAME ...> loads the file frame1_body.html into a frame named MAIN.

this code produces this
<FRAMESET ROWS="20%,*">
<FRAME SRC="frame1_title.html" NAME="TITLE">
 <FRAME SRC="frame1_body.html" NAME="MAIN">
<NOFRAMES>NOFRAMES stuff
</NOFRAMES>
</FRAMESET>
this page

<FRAME SRC="..."> >>>

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