Webmaster Sessions

HTML Tutorial - Frames

March 31, 2008

HTML Frames are used to display multiple pages within one window on a website. Using frames requires a frameset to control the placement of frames and load the initial pages.

<frameset cols=”20%,*”>
<frame src=”menu.htm” />
<frame src=”main.htm” />
</frameset>

With this frameset example, the cols attribute describes how the frames will layout. The left frame is 20% of the width, and the right is 80%. A rows attribute can be used as well to position frames vertically.

If you liked this post, please consider subscribing to my rss feed.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • Technorati

Leave a Reply

You must be logged in to post a comment.