3 ms·
Frames have been deprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fr... Th
by chrisco255 4y ago
Frames have been deprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fr...
They were very commonly used in 90s websites. Typically, you would create one html page for a Nav bar on the left and multiple html pages for your content that would appear in a content frame. In creating a link on the nav, you'd have to specify to render the content in the appropriate frame.
They fell out of favor in the early-mid 00s due to issues with proper rendering on various screensizes and browsers. In addition, web crawlers could not know whether a page was supposed to be rendered within a navigation context or not, so you'd often find google linking to content pages but without the navigation frame included, leaving users stranded on the page.
iframes solved these issues to a large extent, along with better, more powerful CSS.