Introduction
Account Policies
Problem Solving
Instructor Help
General help by subject
Hypertext and the web
Remote access
Contact NWE Help
Main help page
NWE Help: Web: Authoring: HTML: Tips: Inline frames
NWE Home :: Help :: Web :: Authoring :: HTML :: Tips
Iframes are inline frames that allow you to pop existing information into your web page in much the same way as you would using server side includes. Unlike SSI, iframes constrict the space of the internal frames so that you can maintain complete control over your page layout. Iframes can also function the same way CSS2 DIV tags do, but CSS2 isn't as supported yet.
For iframes, you would specify the source, because the content within the frame is actually within another file. To make an iframe, you would call the iframe with this:
<iframe src="iframe2.html" width="50%" height="200" align="left" frameborder="0" marginwidth="1" marginheight="1" scrolling="yes"> </ iframe >
The required attribute is source, abbreviated src. The optional attributes are width, height, align, frameborder, marginwidth, marginheight, and scrolling with the options auto, yes, or no. If you select to have the iframe scroll and provide a height and width larger than the text inside, the iframe won't need to scroll and so it won't.
