10. Frames

Frames were far more prevalent in the early days of the Web, in part because bandwidth was so poor that developers saw a benefit in splitting the screen up into pieces that loaded independently of one another. But with frames came usability, accessibility, and SEO shortcomings.

Nowadays, frames are considered a relic of the early days of the Web—so much so that HTML5 does not include them at all. Because of this, coverage here of frame, frameset, and noframes is very light.

The main focus of this chapter is the iframe element, which is very much part of HTML5, complete with some new attributes.

frame

Get The HTML Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.