🚀 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 Frame Tag

A journey into HTML history. Learn about this deprecated tag and why modern iframe has 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
🦖

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


Deprecated Mastery

Unlock nodes by learning web history.

Concept 1: Deprecation

Technologies evolve. HTML tags that are replaced by better solutions (like 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 frames? 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 <frame> 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 <frame> tag was part of this system, allowing each section to display a different HTML document.

What did it do?

The <frame> tag was used inside a <frameset> container to create separate sections in a browser window. Each frame displayed a different HTML document via the src attribute. Unlike modern iframes, framesets replaced the entire <body> of the page, making navigation and bookmarking problematic.

Why is it gone?

Frames had several major problems: they broke browser navigation (back/forward buttons), made bookmarking difficult, caused accessibility issues, and didn't work well on mobile devices. The <iframe> tag was introduced as a better alternative that embeds content within a normal HTML document. Consequently, <frame> and <frameset> were deprecated in HTML5.

The Modern Alternative

Today, you should use <iframe> for embedding content:
<iframe src="https://example.com" width="600" height="400"></iframe>
Iframes work within normal HTML documents, support modern features like sandboxing, and don't break navigation or bookmarking.

Historical Glossary

Frame
An obsolete HTML tag used inside <frameset> to display separate HTML documents in different sections of a browser window. Not supported in HTML5.
Frameset
A deprecated container element that replaced the <body> and divided the browser window into multiple frames. Each frame displayed a different HTML document.
Iframe
The modern replacement for frames. An inline frame that embeds another HTML document within the current page, without replacing the body.
Deprecated
A status applied to features that are discouraged from use and may be removed in future versions.