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.


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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.