The fieldset element is used to group form fields. Only one legend element should occur in the content and if present should only be preceded by whitespace. NOTE: this content model is different from the XHTML 1.0 DTD, closer to the intended content model in HTML4 DTD |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
class | xs:NMTOKENS | optional | |||||
dir | restriction of xs:token | optional | |||||
id | xs:ID | optional | |||||
lang | LanguageCode | optional | |||||
onclick | Script | optional | |||||
ondblclick | Script | optional | |||||
onkeydown | Script | optional | |||||
onkeypress | Script | optional | |||||
onkeyup | Script | optional | |||||
onmousedown | Script | optional | |||||
onmousemove | Script | optional | |||||
onmouseout | Script | optional | |||||
onmouseover | Script | optional | |||||
onmouseup | Script | optional | |||||
style | StyleSheet | optional | |||||
title | Text | optional | |||||
xml:lang | union of(xs:language, restriction of xs:string) | optional |
|
Element Group | block |
<xs:element name="fieldset"> <xs:annotation> <xs:documentation>The fieldset element is used to group form fields. Only one legend element should occur in the content and if present should only be preceded by whitespace. NOTE: this content model is different from the XHTML 1.0 DTD, closer to the intended content model in HTML4 DTD</xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:sequence> <xs:element ref="legend"/> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:group ref="block"/> <xs:element ref="form"/> <xs:group ref="inline"/> <xs:group ref="misc"/> </xs:choice> </xs:sequence> <xs:attributeGroup ref="attrs"/> </xs:complexType> </xs:element> |