🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Expert Masterclasses.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.
REFERENCEhtml

html Documentation

LOADING ENGINE...

The Frameset Tag

A journey into HTML history. Learn about this deprecated tag and why modern CSS Grid and iframe have replaced it.

history.html
<!-- 2000 Style -->
<frameset cols="50%,50%">
<frame src="left.html">
<frame src="right.html">
</frameset>
🏺

HTML History Museum

history_lesson.html
1 / 9
🦖

GuideWelcome to the museum of HTML. In the early days (HTML 4.01), before modern layouts, developers used framesets to divide pages. Enter the <frameset> tag.


Deprecated Mastery

Unlock nodes by learning web history.

Concept 1: Deprecation

Technologies evolve. HTML tags that are replaced by better solutions (like CSS Grid and iframe) are marked as deprecated.

System Check

What happens if you use a deprecated tag in a modern browser?


Community Archive

Share Historical Finds

Found a legacy site still using framesets? Share the screenshot!

Enjoying this guide?

Codesyllabus is 100% free and open-source. Support our mission, pay for server infrastructure, and fuel new tutorials by buying us a coffee!

The Deprecated <frameset> Tag

Author

Pascual Vila

Frontend Instructor & Web Historian.

In the late 90s and early 2000s, web developers used framesets to divide browser windows into multiple sections. The <frameset> tag was the container that replaced the entire <body> element and divided the page into frames.

What did it do?

The <frameset> tag replaced the <body> element entirely and divided the browser window into multiple sections using cols (columns) or rows attributes. Each section contained a <frame> tag that displayed a different HTML document. This structure made it impossible to have normal HTML content alongside frames.

Why is it gone?

Framesets had several major problems: they completely replaced the body element, broke browser navigation (back/forward buttons), made bookmarking difficult, caused severe accessibility issues, and didn't work well on mobile devices. CSS Grid, Flexbox, and <iframe> were introduced as better alternatives that work within normal HTML documents. Consequently, <frameset> and <frame> were deprecated in HTML5.

The Modern Alternative

Today, you should use CSS Grid or Flexbox for layouts, and <iframe> for embedded content:

<div style="display: grid; grid-template-columns: 1fr 1fr;">
  <iframe src="left.html"></iframe>
  <iframe src="right.html"></iframe>
</div>

Modern layouts work within normal HTML documents, support responsive design, and don't break navigation or bookmarking.

Historical Glossary

Frameset
An obsolete HTML tag that replaced the entire <body> element and divided the browser window into multiple sections using cols or rows attributes. Not supported in HTML5.
Frame
A deprecated tag used inside <frameset> to display separate HTML documents in different sections of a browser window.
CSS Grid
The modern replacement for framesets. A CSS layout system that creates grid-based layouts within normal HTML documents.
Deprecated
A status applied to features that are discouraged from use and may be removed in future versions.