form
Element information
Namespace: http://www.w3.org/1999/xhtml
Schema document: xhtml1-frameset.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content, intermingled with:
- Choice [0..*]
- p
- div generic language/style container
- pre content is "Inline" excluding "img|object|applet|big|small|sub|sup|font|basefont"
- hr
- blockquote
- address information on author
- center center content
- isindex single-line text input control (DEPRECATED)
- 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
- table
from group blockfrom group listsfrom group blocktext
from type form.content
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [0..1] | xsd:ID | from group coreattrs | |
class | [0..1] | xsd:NMTOKENS | from group coreattrs | |
style | [0..1] | StyleSheet | from group coreattrs | |
title | [0..1] | Text | from group coreattrs | |
lang | [0..1] | LanguageCode | from group i18n | |
xml:lang | [0..1] | Anonymous | from group i18n | |
dir | [0..1] | Anonymous | from group i18n | |
onclick | [0..1] | Script | from group events | |
ondblclick | [0..1] | Script | from group events | |
onmousedown | [0..1] | Script | from group events | |
onmouseup | [0..1] | Script | from group events | |
onmouseover | [0..1] | Script | from group events | |
onmousemove | [0..1] | Script | from group events | |
onmouseout | [0..1] | Script | from group events | |
onkeypress | [0..1] | Script | from group events | |
onkeydown | [0..1] | Script | from group events | |
onkeyup | [0..1] | Script | from group events | |
action | [1..1] | URI | ||
method | [0..1] | Anonymous | Default value is "get". | |
enctype | [0..1] | ContentType | Default value is "application/x-www-form-urlencoded". | |
onsubmit | [0..1] | Script | ||
onreset | [0..1] | Script | ||
accept | [0..1] | ContentTypes | ||
accept-charset | [0..1] | Charsets | ||
target | [0..1] | FrameTarget |
Used in
- Anonymous type of element applet
- Anonymous type of element fieldset
- Anonymous type of element map
- Anonymous type of element object
- Type Flow
- Anonymous type of element blockquote via extension of Flow
- Anonymous type of element body via extension of Flow
- Anonymous type of element center via extension of Flow
- Anonymous type of element dd via extension of Flow
- Anonymous type of element del via extension of Flow
- Anonymous type of element div via extension of Flow
- Anonymous type of element iframe via extension of Flow
- Anonymous type of element ins via extension of Flow
- Anonymous type of element li via extension of Flow
- Anonymous type of element noscript via extension of Flow
- Anonymous type of element td via extension of Flow
- Anonymous type of element th via extension of Flow
Sample instance
<form action="http://www.example.com/">Any text, intermingled with: <p>Any text, intermingled with: <a>Any text, intermingled with: <br/> </a> </p> </form>