type

The attribute type allows to specify the type of a multimedia element (similar to mime types). Possible values are gif,
jpeg, png, flash, svg, quicktime, mpeg, mp3, mp4, ogg, webm, vrml, x3d, realone, mathml, div and applet.

Attribute Information

Used By

Attribute Group elml:TypeReq

Source

<xs:attribute name="type" use="required">
  <xs:annotation>
    <xs:documentation>The attribute type allows to specify the type of a multimedia element (similar to mime types). Possible values are gif, jpeg, png, flash, svg, quicktime, mpeg, mp3, mp4, ogg, webm, vrml, x3d, realone, mathml, div and applet.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="gif"/>
      <xs:enumeration value="jpeg"/>
      <xs:enumeration value="png"/>
      <xs:enumeration value="flash"/>
      <xs:enumeration value="svg"/>
      <xs:enumeration value="quicktime"/>
      <xs:enumeration value="mpeg"/>
      <xs:enumeration value="mp3"/>
      <xs:enumeration value="mp4"/>
      <xs:enumeration value="ogg"/>
      <xs:enumeration value="webm"/>
      <xs:enumeration value="applet"/>
      <xs:enumeration value="vrml"/>
      <xs:enumeration value="x3d"/>
      <xs:enumeration value="realone"/>
      <xs:enumeration value="mathml"/>
      <xs:enumeration value="div"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample