Name
iframe — <iframe> . . . </iframe>
Defines an inline (floating) frame within a document that is
used for embedding an HTML document on a web page. An
inline frame displays the content of an
external document and may display scrolling devices if the content
doesn’t fit in the specified window area. Inline frames may be
positioned similarly to images. The content of the iframe
element displays in browsers that
do not support inline frames.
Attributes
Core
align="top|middle|bottom|left|right"
Deprecated . Aligns the inline frame on the page within the flow of the text. Left and right alignment allows text to flow around the inline frame.
frameborder="1|0"
Turns on or off the display of a 3D border for the inline frame. The default is 1, which displays the border.
height="
number
"
Specifies the height of the inline frame in pixels or as a percentage of the window size. Internet Explorer and Navigator use a default height of 150 pixels.
hspace="
number
"
Nonstandard. Used in conjunction with left and right alignment, this attribute specifies the amount of space (in pixels) to hold clear to the left and right of the inline frame.
longdesc="
URL
"
Specifies a link to a document containing a long description of the inline frame and its contents. This addition to the HTML 4.01 specification may be useful for nonvisual web browsers.
marginheight="
number
"
Specifies the amount of space (in pixels) between the top and bottom edges of the inline frame and its contents.
marginwidth="
number
"
Specifies the amount ...
Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.