- Element of
- HTML Frames Are Obsolete In HTML5: Here's How To Make Them Responsive
- What does
How to Use <frame> Tags in Your HTML Codedo?
- The <frame> element was used to break a single browser window into multiple independent browsing contexts. Frames have been deprecated and should not used by modern websites.
Frames provided a way to split the browser window into several individual browsing contexts, each displaying an independent HTML document. You probably suffered through a number of poorly-designed frame-based websites if you spent any time online in the early part of the 21st century. The most common design pattern that used “ elements was a menu-and-display panel approach that reloaded some content in a frame as you clicked on menu items (all without the URL in your navigation bar changing, making it impossible to link to any particular view).
Frames are now deprecated in HTML5, but the ability to place one document inside another still exists. You can do this in an [
](/tags/iframe/). And it is important to realize that is not simply a renamed or updated version of
. An is an “inline” frame (or, some would call it, and “internal frame). This does not split the browser window into separate contexts but rather embeds one document into another.