Creating Inline Frames

A frameset exists in a special type of HTML document that contains no <body> area (except within a <noframes> tag). You cannot ordinarily mix framesets with unframed content in a single document. There is one exception to that, however: you can create an inline frame.

An inline frame is a frame that exists as a floating object within an ordinary Web page. It is useful when you want to include content from another HTML file without converting the entire page to a frameset. In the following example, the listing of courses is in a separate frame, and its content comes from a separate HTML file.

Creating Inline Frames

To create an inline frame, use the ...

Get HTML and XHTML Step by Step 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.