Learn HTML Code Tutorial Reference Guide

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:

<IFRAME 
     SRC="BeaverHabitat.html" 
     WIDTH=275 HEIGHT=200 
     ALIGN=RIGHT
     >
<TABLE ALIGN=RIGHT BORDER=1 CELLPADDING=5>
<TR><TD>See the article on 
<A HREF="BeaverHabitat.html">Stuff about the Beaver</A></TD></TR>
</TABLE>
</IFRAME>

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.

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial