Iframe

And these are the properties allowed in the starting iframe tag. You may notice that most of these are extremely similar to normal FRAME coding.
src     Specified the URL of the document to be displayed in the frame.
src=”FileName.html”
name     Specifies the name of the frame for the purpose of linking and targeting.
name=”MyIframe”
width
height     Specifies the width/height of the iframe space in pixels or percentages.
width=”200″ height=”100″
align     Aligns the iframe to the left, center, or right side of the page.
align=”center”
noresize     Kills the visitors ability to resize the iframe borders manually.
noresize=”noresize”
scrolling     Indicates the ability of a scrollbar to appear (or not) with a value of yes, no, or auto.
scrolling=”auto”
frameborder     Carries a value of 0 or 1 depending if you want a border to appear around the iframe or not.
frameborder=”1″
marginwidth
marginheight     Specifies the width/height of the margin in pixels.
marginwidth=”1″ marginheight=”1″
vspace
hspace     Specifies the verticle/horizontal margin space in pixels.
vspace=”1″ hspace=”1″

You don’t have to use ALL of these properties. Most of the time, you will use the first four : SRC, NAME, WIDTH, and HEIGHT.

The space between the opening and closing iframe tags is used just like the NOFRAMES tag in frames and the default text in the TEXTAREA tag. The text you enter within this area will be shown on the webpage IF the visitor’s browser does not support the IFRAME tag.

The next part is linking. Iframes behave the exact same way as regular frames when it comes to linking. The Iframe has a NAME property assigned to it, the link tags get a TARGET property in them.