Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

HTML Advanced: Frames : Page 3

Learn how to create framed pages that work well.


advertisement
Frame Tags

<frameset cols="XX,XX" or rows="xx,XX">
<frame src="URL" name="frame-name" marginwidth="X" marginheight="X">
<frame src="URL" name="framename" marginwidth="X" marginheight="X">
</frameset>

You'll use frame tags in two places.



First, you'll use frame tags to create the frameset file. The frameset file contains tags that define what types of rows and columns are part of the frame, gives each of those rows and columns a name, and defines which default content files fill each row and column. The frameset file doesn't contain any actual content—it simply defines the underlying frame grid.

Then, in each of your content files, you'll use frame tags to tell any linked data where it should display—in the current frame or in one of the other frames in the frame set.

You build a frameset with three simple tags. Click on any of the tags to learn more about it.

  • <frameset> announces that this site will display within frames and begins the frameset definition.
  • <frame> describes each individual frame. Each frame in your frameset must have a separate frame tag.
  • </frameset> ends the frameset definition.




Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date