Тег IFRAME
IFRAME
<IFRAME
ALIGN=ABSBOTTOM | ABSMIDDLE | BASELINE | BOTTOM | LEFT | MIDDLE | RIGHT | TEXTTOP | TOP
BORDER=integer
BORDERCOLOR=color
DATAFLD=colname
DATASRC=#ID
FRAMEBORDER=string
FRAMESPACING=string
HEIGHT=string
HSPACE=variant
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT 
| JSCRIPT | VBS | VBSCRIPT
MARGINHEIGHT=string
MARGINWIDTH=string
NAME=window_name
NORESIZE=NORESIZE 
| RESIZE
SCROLLING=AUTO | NO | YES
SRC=string
STYLE=string
TITLE=string
VSPACE=string
WIDTH=string
event = script
>
 
Used to create in-line floating frames. 
 - ALIGN= 
- Specifies the alignment for the control-like element. 
 
- BORDER= 
- Specifies the thickness of a border to be drawn around the element. 
 
- BORDERCOLOR= 
- Sets border color and must be used with the BORDER= attribute. 
 
- DATAFLD= 
- The column name from the data source object that supplies the bound data. 
 
- DATASRC= 
- Indicates the ID of the data source object that supplies the data that is 
bound to this element. 
 
- FRAMEBORDER= 
- Specifies whether or not to display a border for the frame. 
 
- FRAMESPACING= 
- Creates additional space between the frames in pixels. 
 
- HEIGHT= 
- Along with the width attribute, specifies the size at which the element is 
drawn. Returns the calculated height of the element in pixels. In HTML, this 
attribute may be initially set in pixels or percentages. 
 
- HSPACE= 
- Along with VSPACE=, specifies margins for the 
element. 
 
- CLASS= 
- Specifies the class of the tag being defined. This is most often used to 
associated a sub-classed style sheet with the tag. 
 
- ID= 
- An SGML identifier used as the target for hypertext links or for naming 
particular elements in associated style sheets. Valid names to script with are 
any alphanumeric string that begins with a letter. Valid special characters 
include underbar "_". 
 
- LANG= 
- This specifies the language to use. The specifier is an ISO standard 
language abbreviation. 
 
- LANGUAGE= 
- Specifies the language that the current script is written in. JavaScript is 
the default for this attribute. 
 
- MARGINHEIGHT= 
- Sets the amount of top and bottom margin should be set before displaying the 
text in a frame. 
 
- MARGINWIDTH= 
- Sets the amount of left and right margin should be set before displaying the 
text in a frame. 
 
- NAME= 
- Specifies the window or frame to target the contents at. If no frame or 
window exists that matches the specified target, a new window is opened for the 
specified link. If no target is specified, the default is "_self" for a link 
within the same site or "_top" if the site is external. Special target values 
are listed below: 
    _blank Specifies to load the link into a new unnamed window.  _parent Specifies to load the link into the immediate parent of the document 
the link is in.  _self Specifies to load the link into the same window the link was clicked 
in.  _top Specifies to load the link into the full body of the current window. 
 
 
- NORESIZE= 
- When this attribute is supplied, the frame is not resizable by the user. 
 
- SCROLLING= 
- Specifies that the frame can be scrolled. 
 
- SRC= 
- Specifies a URI for the associated file. 
 
- STYLE= 
- Specifies an in-line style sheet for the tag. 
 
- TITLE= 
- The Title attribute is used to provide advisory information. 
 
- VSPACE= 
- Along with HSPACE=, specifies margins for the 
element. 
 
- WIDTH= 
- Returns the calculated width of the element in pixels. In HTML, this 
attribute may be initially set in pixels or percentages. 
 
- event 
- Can be this event: 
    onreadystatechange  
This element is a block element. 
 
Both the start and end tags are required. 
 
Example
 
<IFRAME FRAMEBORDER=0 SCROLLING=NO SRC="sample.htm"></IFRAME>