Schema Central > XHTML 1.0 Strict > xhtml1-strict.xsd > fieldset
Advanced search

Recommended Reading:

Definitive XML Schema

 

fieldset

      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
      

Element information

Type: Anonymous

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
id [0..1]xsd:IDfrom group coreattrs
class [0..1]xsd:NMTOKENSfrom group coreattrs
style [0..1]StyleSheetfrom group coreattrs
title [0..1]Textfrom group coreattrs
lang [0..1]LanguageCodefrom group i18n
xml:lang [0..1]Anonymousfrom group i18n
dir [0..1]Anonymousfrom group i18n
onclick [0..1]Scriptfrom group events
ondblclick [0..1]Scriptfrom group events
onmousedown [0..1]Scriptfrom group events
onmouseup [0..1]Scriptfrom group events
onmouseover [0..1]Scriptfrom group events
onmousemove [0..1]Scriptfrom group events
onmouseout [0..1]Scriptfrom group events
onkeypress [0..1]Scriptfrom group events
onkeydown [0..1]Scriptfrom group events
onkeyup [0..1]Scriptfrom group events

Used in

Sample instance

<fieldset>Any text, intermingled with:
   <legend>Any text, intermingled with:
      <a href="http://www.example.com/">Any text, intermingled with:
         <br/>
      </a>
   </legend>
   <p>Any text, intermingled with:
      <a href="http://www.example.com/">Any text, intermingled with:
         <br/>
      </a>
   </p>
</fieldset>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com