element img
diagram girr_ns_p61.png
namespace http://www.w3.org/1999/xhtml
properties
content complex
used by
element remote
group special
attributes
Name  Type  Use  Default  Fixed  annotation
idxs:ID      
classxs:NMTOKENS      
styleStyleSheet      
titleText      
langLanguageCode      
lang      
documentation
<div>
<h3>lang (as an attribute name)</h3>
<p>
       denotes an attribute whose value
       is a language code for the natural language of the content of
       any element; its value is inherited.  This name is reserved
       by virtue of its definition in the XML specification.</p>
</div>
<div>
<h4>Notes</h4>
<p>
      Attempting to install the relevant ISO 2- and 3-letter
      codes as the enumerated possible values is probably never
      going to be a realistic possibility. 
     </p>
<p>
      See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
       http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
      and the IANA language subtag registry at
      <a href="http://www.iana.org/assignments/language-subtag-registry">
       http://www.iana.org/assignments/language-subtag-registry</a>
      for further information.
     </p>
<p>
      The union allows for the 'un-declaration' of xml:lang with
      the empty string.
     </p>
</div>
dirderived by: xs:token      
onclickScript      
ondblclickScript      
onmousedownScript      
onmouseupScript      
onmouseoverScript      
onmousemoveScript      
onmouseoutScript      
onkeypressScript      
onkeydownScript      
onkeyupScript      
srcURIrequired      
altTextrequired      
longdescURI      
heightLength      
widthLength      
usemapURI      
documentation

          usemap points to a map element which may be in this document
          or an external document, although the latter is not widely supported
         
ismapderived by: xs:token      
source <xs:element name="img">
 
<xs:complexType>
   
<xs:attributeGroup ref="attrs"/>
   
<xs:attribute name="src" type="URI" use="required"/>
   
<xs:attribute name="alt" type="Text" use="required"/>
   
<xs:attribute name="longdesc" type="URI"/>
   
<xs:attribute name="height" type="Length"/>
   
<xs:attribute name="width" type="Length"/>
   
<xs:attribute name="usemap" type="URI">
     
<xs:annotation>
       
<xs:documentation>
          usemap points to a map element which may be in this document
          or an external document, although the latter is not widely supported
         
</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="ismap">
     
<xs:simpleType>
       
<xs:restriction base="xs:token">
         
<xs:enumeration value="ismap"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute img/@src
type URI
properties
isRef 0
use required
source <xs:attribute name="src" type="URI" use="required"/>

attribute img/@alt
type Text
properties
isRef 0
use required
source <xs:attribute name="alt" type="Text" use="required"/>

attribute img/@longdesc
type URI
properties
isRef 0
source <xs:attribute name="longdesc" type="URI"/>

attribute img/@height
type Length
properties
isRef 0
facets
Kind Value annotation 
pattern [-+]?(\d+|\d+(\.\d+)?%) 
source <xs:attribute name="height" type="Length"/>

attribute img/@width
type Length
properties
isRef 0
facets
Kind Value annotation 
pattern [-+]?(\d+|\d+(\.\d+)?%) 
source <xs:attribute name="width" type="Length"/>

attribute img/@usemap
type URI
properties
isRef 0
annotation
documentation

          usemap points to a map element which may be in this document
          or an external document, although the latter is not widely supported
         
source <xs:attribute name="usemap" type="URI">
 
<xs:annotation>
   
<xs:documentation>
          usemap points to a map element which may be in this document
          or an external document, although the latter is not widely supported
         
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute img/@ismap
type restriction of xs:token
properties
isRef 0
facets
Kind Value annotation 
enumeration ismap 
source <xs:attribute name="ismap">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:enumeration value="ismap"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy