Contents
This section is normative.
The Iframe Module defines an element for the definition of inline frames. The element and attribute included in this module are:
Elements | Attributes | Minimal Content Model |
---|---|---|
iframe | Core, frameborder ("1" | "0"), height (Length), longdesc (URI), marginheight (Pixels), marginwidth (Pixels), scrolling ("yes" | "no" | "auto"*), src (URI), width (Length) | (PCDATA | Flow)* |
When this module is used, the iframe
element is added
to the
Text content set as defined by the Inline Text Module.
Implementations: DTD, XML Schema
Attributes
Attributes defined elsewhere
The information to be inserted inline is designated by the src attribute of this element. The contents of the IFRAME element, on the other hand, should only be displayed by user agents that do not support frames or are configured not to display frames.
For user agents that support frames, the following example will place an inline frame surrounded by a border in the middle of the text.
<IFRAME src="foo.html" width="400" height="500" scrolling="auto" frameborder="1"> [Your user agent does not support frames or is currently configured not to display frames. However, you may visit <A href="foo.html">the related document.</A>] </IFRAME>
Inline frames may not be resized (and thus, they do not take the noresize attribute).
Note. XHTML documents may also be embedded in other XHTML documents with the OBJECT element. See the section on embedded documents for details.