Home Advertise with us Forum Articles Sitemap Contact

HTML Frames

HTML frames serve to display multiple HTML documents within the same browser window at a time. Each HTML document displayed is called a frame & these are independent of each other.

Frames are typically created using the frameset page which has all the other frames defined in it. This means that, the frameset page itself doesn’t have any content but only the reference to each frame.

The HTML <frame > tag is the tag used to define frames within the frameset. This tag specifies how the browser window be divided into frames. Each frameset specifies a set of columns & rows & the values of these are an indication to the amount of space each column or row will occupy.




<frameset cols="30%,*">

<frame src="menu.html">

<frame src="content.html">




  • frameset – The tag which defines the frameset page within which all the other frames are defined.
  • frameset cols – Used to define the width of each individual frame.
  • frame src – This specifies the location or source of the web page to be loaded into the frame.

HTML Tip 1

Use only hexadecimal #RGB values for colors. The behavior of named colors is browser-idiosyncratic and totally unpredictable.

HTML Tip 2

You can resize your images without a graphics program by changing the HEIGHT and WIDTH in your image tag.