Site Design

Page 6

Intermediate HTML (IFrames Pages)

Inline frames, also known as IFrames, are created with the <IFRAME> tag, which is supported by Explorer 3.2 and up, as well as Netscape 4.0 or better. Inline frames differ from the regular <Frame> tag, as we simply embed them right into an HTML page. No frameset or index pages are required.

Here is an example of how to use a simple IFRAME:
<IFRAME SRC="sample.html"></IFRAME>

All we will do place the IFrame into a page, bearing the source of the actual file. This method is handy if you want to give people remote files to include on their site, sourcing a file to yours.

So in our example, an HTML page carrying our IFRAME might look like this:
<HTML>
<BODY>
Our page .. text, etc ... and now, here comes the IFRAME!
<IFRAME SRC="sample.html"></IFRAME>
</BODY>
</HTML>
The IFRAME Tag does carry some specific attributes to help you control the display. Here is a quick, but limited reference:

Another nice thing to using a frameset is that the menu can be on the left, right or any place you choose to place it.  Most however, place it on the left.

ALIGN ? Offset to other elements, much like the Image Tag.
BORDER ? The default is 0 (pixels)
HEIGHT / WIDTH ? (pixels or %)

HSPACE / VSPACE ? As with Images, this attribute specifies a pixel size for horizontal or vertical margins around the IFRAME (external margin)

MARGINHEIGHT / MARGINWIDTH ? Internal margin in pixels

SCROLLING ? If set to "AUTO," the browser determines whether scrollbars are necessary; otherwise, specify either "YES" or "NO"

Sample IFrame


[ Site Design 1 | Site Design 2 | Site Design 3 | Site Design 4 | Site Design 5 | Site Design 6 ]

  

[ About Me | Site Legal Info | Site Design | CSS Coding ]
[ JavaScripts | Hints & Tips | BackGrounds | Misc. Images ]
[ Templates | Logo Page | Special Characters | Color Chart ]
[ Contact Us! | Awards Won | Links ]
[ Home | Site Map ]

  

Go to Top


Webmaster & Owner: Anita Eberline
No part may be reproduced without prior permission by Anita Eberline