IE

<IFRAME>...</IFRAME>

This tag is a container to create an inline or floating frame. A floating frame is a frame in which the contents of another HTML document can be seen. The difference with a normal frame is that the floating frame can be seen inside a document and is treated as a part of the document. This means that when you scroll through the page the frame will scroll with it.

Browsers that support this tag will ignore all HTML inside the container. Other browsers will not, so you can give an alternative for the floating frame to browsers that do not support it.

FRAMEBORDER
IE
Provides the option to display or not display a border for a frame. A value of 0 displays no border. A value greater than 1 will display a border, but the value has no influence of the width of the border.

HEIGHT
IE
Specify the height of the frame to the browser. You can specify the height as a number of pixels or as a percentage of the current screen height.

MARGINHEIGHT
IE
This attribute is used to control the vertical margins for the frame. If specified, the value for MARGINWIDTH is in pixels. Margins can not be less than one-so that frame objects will not touch frame edges-and can not be specified so that there is no space for the document contents. The MARGINWIDTH attribute is optional; by default, all frames default to letting the browser decide on an appropriate margin width.

MARGINWIDTH
IE
This attribute is used to control the horizontal margins for the frame. If specified, the value for MARGINWIDTH is in pixels. Margins can not be less than one-so that frame objects will not touch frame edges-and can not be specified so that there is no space for the document contents. The MARGINWIDTH attribute is optional; by default, all frames default to letting the browser decide on an appropriate margin width.

NAME
IE
The NAME attribute is used to assign a name to a frame so it can be targeted by links in other documents (These are usually from other frames in the same document.) The NAME attribute is optional; by default all windows are unnamed. Names must begin with an alphanumeric character. All other window names will be ignored.

Named frames can have their window contents targeted with the TARGET attribute of the A tag


SCROLLING
IE
The SCROLLING attribute is used to describe if the frame should have a scrollbar or not.

Value Description
YES Yes results in scrollbars always being visible on the frame.
NO No results in scrollbars never being visible.
AUTO Auto instructs the browser to decide whether scrollbars are needed, and place them where necessary.
The SCROLLING attribute is optional; the default value is auto.


SRC
IE
The SRC attribute takes as its value the URL of the document to be displayed in this particular frame.

WiDTH
IE
Specify the height of the frame to the browser. You can specify the height as a number of pixels or as a percentage of the current screen height.

 
Source:
Lets create a page with several sites inside it :
<TABLE WIDTH=100%>
<TR><TD>www.microsoft.com</TD></TR>
<TR><TD>
 <IFRAME SRC=http://www.microsoft.com
  WIDTH=100% HEIGHT=200 FRAMEBORDER=0>
  <FONT COLOR=#7F0000>I'm sorry but your browser
  doesn't support the IFRAME tag.</FONT>
 </IFRAME></TD></TR>
<TR><TD>www.netscape.com</TD></TR>
<TR><TD>
 <IFRAME SRC=http://www.netscape.com
  WIDTH=100% HEIGHT=200 FRAMEBORDER=0>
  <FONT COLOR=#7F0000>I'm sorry but your browser
  doesn't support the IFRAME tag.</FONT>
 </IFRAME></TD></TR>
</TABLE>
 
Result: Lets create a page with several sites inside it :
www.microsoft.com
www.netscape.com


Statistics Copyright © 1996, 1997 Rob Schlüter
Last updated 1997/05/01
Email: schluter@knoware.nl