Tag Reference - iframe
Description
Attributes
align
Sets the alignment of the object, relative to the text. An alignment of left, right or centre will cause text to flow around the object.
border
Sets the width of the border around the object.
bordercolor
Sets the colour of the frame border.
class
The CSS style class to be applied to this tag. This could be used, for example, to create a style for "important" items, using a line in the style sheet as below:
.important { font-color: red }
This can be applied to the tag as follows:
<b class="important">This is important.</b>
.important { font-color: red }
This can be applied to the tag as follows:
<b class="important">This is important.</b>
datafld
In Internet Explorer 4 and above, this specifies the column name from the data source which supplies the data for this tag.
datasrc
In Internet Explorer 4 and above, this specifies the "id" of the data source object which will supply the data for this tag.
frameborder
Determines whether a border appears around the frame.
framespacing
Sets the amount of space between frames.
height
Sets the height of the object.
hspace
Specifies the horizontal spacing around the object.
id
A unique alphanumeric identifier used to identify this object/tag. This identifier can be used in scripting languages to refer to the tag or object.
lang
The language of the text enclosed by this tag, as defined in RFC 1766 (eg en-gb for British English).
language
In Microsoft's implementation, sets the language for the scripts defined in the tag's event handlers.
longdesc
The attribute specifies the URL of a file with a long description of what the frame contains.
marginheight
This Netscape-specfic attribute sets the width of both top and bottom margins.
marginwidth
This Netscape-specfic attribute sets the width of both left and right margins.
name
Defines a name for this tag - in <a> tags it may be used in a hyperlink to jump directly to the tag's location.
noresize
Prevents the frame from being resized.
scrolling
Determines whether to show the scrollbars when needed ("auto"), not show them at all ("no") or to always show them ("yes").
src
Specifies the URL of the source file for this element.
style
Inline style-sheet information.
title
Advisory text for this tag - this could define an abbreviation or acronym, explain where a link goes or provide some other useful description.
vspace
Specifies the vertical space around the object.
width
Sets the width of the object.
