element label
diagram girr_ns_p65.png
namespace http://www.w3.org/1999/xhtml
type extension of Inline
properties
content complex
mixed true
children a br span bdo map object img tt i b big small em strong dfn code q samp kbd var cite abbr acronym sub sup input select textarea label button ins del script
used by
group inline.forms
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      
forxs:IDREF      
accesskeyCharacter      
onfocusScript      
onblurScript      
annotation
documentation

      Each label must not contain more than ONE field
      Label elements shouldn't be nested.
     
source <xs:element name="label">
 
<xs:annotation>
   
<xs:documentation>
      Each label must not contain more than ONE field
      Label elements shouldn't be nested.
     
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType mixed="true">
   
<xs:complexContent mixed="true">
     
<xs:extension base="Inline">
       
<xs:attributeGroup ref="attrs"/>
       
<xs:attribute name="for" type="xs:IDREF"/>
       
<xs:attribute name="accesskey" type="Character"/>
       
<xs:attribute name="onfocus" type="Script"/>
       
<xs:attribute name="onblur" type="Script"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute label/@for
type xs:IDREF
properties
isRef 0
source <xs:attribute name="for" type="xs:IDREF"/>

attribute label/@accesskey
type Character
properties
isRef 0
facets
Kind Value annotation 
length 
source <xs:attribute name="accesskey" type="Character"/>

attribute label/@onfocus
type Script
properties
isRef 0
source <xs:attribute name="onfocus" type="Script"/>

attribute label/@onblur
type Script
properties
isRef 0
source <xs:attribute name="onblur" type="Script"/>


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