Idocs Guide to HTML

Inset Boxes using <IFRAME ...>

The most popular use of <IFRAME ...> is for creating "inset boxes", much like those found in newspapers and magazines. Insets boxes are popular for small mini-articles tagentially related to the main page. For example, this code puts an inline frame on the page, and provides a link for non-IFRAME browsers:

     WIDTH=275 HEIGHT=200 
<TR><TD>See the article on 
<A HREF="BeaverHabitat.html">Stuff about the Beaver</A></TD></TR>

which produces this inline frame (or table, or just a link): Note that we use ALIGN to set the frame aligned to the right side and to have text flow around it.

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.