Cyber Week

Save big!

All courses under $5 - for a limited time!

Code has been added to clipboard!

HTML frameset Tag

Reading time 1 min
Published Mar 19, 2019
Updated Sep 30, 2019

HTML frameset: Main Tips

  • The HTML <frameset> contained multiple frames, each of which had their own content. HTML5 no longer supports this element.
  • Instead of <frameset> HTML, you should use <iframe> element.

Use and Purpose of frameset

The HTML <frameset> tag defined a container for holding more than one frame. Modern websites no longer apply this element.

Example
<frameset>
  <frame src="loading.html" name="load-frame">
  <frame src="data-pattern.html" name="show-data">
</frameset>

Note: values for this element were given either in percentage or pixels.

cols

It defined values for frames placed horizontally, in pixels or percentage. Not supported in HTML5.

Example
<frameset cols="50%, 25%, *">
  <frame src="mega.html">
  <frame src="small.html">
  <frame src="small_compressed.html">
</frameset>

rows

It specified values for frames placed vertically, in pixels or percentage. Not supported in HTML5.

Example
<frameset rows="25%,25%,25%,*">
  <frame src="load.html">
  <frame src="demo.html">
  <frame src="main.html">
  <frame src="working.html">
</frameset>

Browser support

Browser image
Chrome
All
Browser image
Edge
All
Browser image
Firefox
All
Browser image
IE
All
Browser image
Opera
All
Browser image
Safari
All

Mobile browser support

Browser image
Chrome
All
Browser image
Firefox
All
Browser image
Opera
All
Browser image
Safari
All