iframe

inline subwindow

Element Information

Model

p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | menu | dir | pre | hr | blockquote | address | center | noframes | isindex | fieldset | table | form | a | br | span | bdo | object | applet | img | map | iframe | tt | i | b | u | s | strike | big | small | font | basefont | em | strong | dfn | code | q | samp | kbd | var | cite | abbr | acronym | sub | sup | input | select | textarea | label | button | noscript | ins | del | script

Attributes

QName Type Fixed Default Use Inheritable Annotation
align ImgAlign optional
class xs:NMTOKENS optional
frameborder restriction of xs:token 1 optional
height Length optional
id xs:ID optional
longdesc URI optional
marginheight Pixels optional
marginwidth Pixels optional
name xs:NMTOKEN optional
scrolling restriction of xs:token auto optional
src URI optional
style StyleSheet optional
title Text optional
width Length optional

Used By

Element Group special.extra

Source

<xs:element name="iframe">
  <xs:annotation>
    <xs:documentation>inline subwindow</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:complexContent>
      <xs:extension base="Flow">
        <xs:attributeGroup ref="coreattrs"/>
        <xs:attribute name="longdesc" type="URI"/>
        <xs:attribute name="name" type="xs:NMTOKEN"/>
        <xs:attribute name="src" type="URI"/>
        <xs:attribute name="frameborder" default="1">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="1"/>
              <xs:enumeration value="0"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="marginwidth" type="Pixels"/>
        <xs:attribute name="marginheight" type="Pixels"/>
        <xs:attribute name="scrolling" default="auto">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="yes"/>
              <xs:enumeration value="no"/>
              <xs:enumeration value="auto"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="align" type="ImgAlign"/>
        <xs:attribute name="height" type="Length"/>
        <xs:attribute name="width" type="Length"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample