XHTML 1.0 (Second Edition) Strict

http://www.w3.org/1999/xhtml
element label

Documentation
      Each label must not contain more than ONE field
      Label elements shouldn't be nested.
      

Model
<label
  accesskey = Character
  class = xs:NMTOKENS
  dir = <TODO local simpleType in attribute>
  for = xs:IDREF
  id = xs:ID
  lang = LanguageCode
  lang = xs:language
  onblur = Script
  onclick = Script
  ondblclick = Script
  onfocus = Script
  onkeydown = Script
  onkeypress = Script
  onkeyup = Script
  onmousedown = Script
  onmousemove = Script
  onmouseout = Script
  onmouseover = Script
  onmouseup = Script
  style = StyleSheet
  title = Text>
((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) )*
</label>


Attribute Summary
 Characteraccesskey
          
 xs:NMTOKENSclass
          
 <TODO local simpleType in attribute>dir
          
 xs:IDREFfor
          
 xs:IDid
          
 LanguageCodelang
          
 xs:languagelang
          In due course, we should install the relevant ISO 2- and 3-letter codes as the enumerated possible values . 
 Scriptonblur
          
 Scriptonclick
          
 Scriptondblclick
          
 Scriptonfocus
          
 Scriptonkeydown
          
 Scriptonkeypress
          
 Scriptonkeyup
          
 Scriptonmousedown
          
 Scriptonmousemove
          
 Scriptonmouseout
          
 Scriptonmouseover
          
 Scriptonmouseup
          
 StyleSheetstyle
          
 Texttitle
          

Attribute Detail

accesskey

Character accesskey


class

xs:NMTOKENS class


dir

<TODO local simpleType in attribute> dir


for

xs:IDREF for


id

xs:ID id


lang

LanguageCode lang


lang

xs:language lang
In due course, we should install the relevant ISO 2- and 3-letter codes as the enumerated possible values . . .


onblur

Script onblur


onclick

Script onclick


ondblclick

Script ondblclick


onfocus

Script onfocus


onkeydown

Script onkeydown


onkeypress

Script onkeypress


onkeyup

Script onkeyup


onmousedown

Script onmousedown


onmousemove

Script onmousemove


onmouseout

Script onmouseout


onmouseover

Script onmouseover


onmouseup

Script onmouseup


style

StyleSheet style


title

Text title


Source
<xs:element name="label">
<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>

XHTML 1.0 (Second Edition) Strict

Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://www.sourceforge.net.