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

Chrome
All
Edge
All
Firefox
All
IE
All
Opera
All
Safari
All

Mobile browser support

Chrome
All
Firefox
All
Opera
All
Safari
All
Basics
Introduction
Syntax
Editors
Basic Examples
Head Section
<!DOCTYPE>
Tags and Elements
Semantic Elements
Tags Reference
Attributes
Comments
Block and Inline Elements
Forms
Form Elements
Input
Responsive Web Design
Inline Scripts
Uniform Resource Locator
Redirect
XHTML
Geolocation
Drag and Drop
Local Storage
Web Workers
Server-Sent Events
Character Encoding
Text Formatting
Quotation and Citation Elements
Headings
Paragraphs
Links
Tables
Lists
Symbols
Space
Tab
Styles
Computer Code
Layout
Classes
Colors
Images
iframes
Audio Player
Video Player
YouTube Videos
Multimedia
Canvas
SVG
<!-- -->
<a>
<abbr>
<acronym> DEPRECATED
<address>
<applet> DEPRECATED
<article>
<aside>
<audio>
<b>
<base>
<basefont> DEPRECATED
<bdi>
<bdo>
<big> DEPRECATED
<blink> DEPRECATED
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<center> DEPRECATED
<cite>
<code>
<col>
<colgroup>
<datalist>
<dd>
<del>
<details>
<dfn>
<dialog>
<dir> DEPRECATED
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<font> DEPRECATED
<footer>
<form>
<frame> DEPRECATED
<frameset> DEPRECATED
<h1> – <h6>
<head>
<header>
<hr>
<html>
<i>
<iframe>
<img>
<input>
<ins>
<kbd>
<keygen> DEPRECATED
<label>
<legend>
<li>
<link>
<main>
<map>
<mark>
<menu>
<menuitem> DEPRECATED
<meta>
<meter>
<nav>
<noframes> DEPRECATED
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike> DEPRECATED
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt> DEPRECATED
<u>
<ul>
<var>
<video>
<wbr>