element form
diagram girr_ns_p50.png
namespace http://www.w3.org/1999/xhtml
type extension of form.content
properties
content complex
children p h1 h2 h3 h4 h5 h6 div ul ol dl pre hr blockquote address fieldset table noscript ins del script
used by
elements fieldset map object
complexTypes Block Flow
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      
actionURIrequired      
methodderived by: xs:token  get    
enctypeContentType  application/x-www-form-urlencoded    
onsubmitScript      
onresetScript      
acceptContentTypes      
accept-charsetCharsets      
source <xs:element name="form">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="form.content">
       
<xs:attributeGroup ref="attrs"/>
       
<xs:attribute name="action" type="URI" use="required"/>
       
<xs:attribute name="method" default="get">
         
<xs:simpleType>
           
<xs:restriction base="xs:token">
             
<xs:enumeration value="get"/>
             
<xs:enumeration value="post"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="enctype" type="ContentType" default="application/x-www-form-urlencoded"/>
       
<xs:attribute name="onsubmit" type="Script"/>
       
<xs:attribute name="onreset" type="Script"/>
       
<xs:attribute name="accept" type="ContentTypes"/>
       
<xs:attribute name="accept-charset" type="Charsets"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

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

attribute form/@method
type restriction of xs:token
properties
isRef 0
default get
facets
Kind Value annotation 
enumeration get 
enumeration post 
source <xs:attribute name="method" default="get">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:enumeration value="get"/>
     
<xs:enumeration value="post"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute form/@enctype
type ContentType
properties
isRef 0
default application/x-www-form-urlencoded
source <xs:attribute name="enctype" type="ContentType" default="application/x-www-form-urlencoded"/>

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

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

attribute form/@accept
type ContentTypes
properties
isRef 0
source <xs:attribute name="accept" type="ContentTypes"/>

attribute form/@accept-charset
type Charsets
properties
isRef 0
source <xs:attribute name="accept-charset" type="Charsets"/>


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