This section defines datatypes that are referenced by attribute definitions in the HTML elements, Common attributes, and Forms attributes sections.
For any attribute definition in this document that references the string datatype, a string is defined as normal character data.
The Attributes section of this document describes additional restrictions on strings in attribute values — in particular, restrictions for the following cases:
For any attribute definition in this document that references the token datatype, a token is defined as a string that does not contain any space characters.
_blank_self_parent_top#"
character, followed by a string which
exactly matches the value of the
name
attribute of an element in the document with type
type.0—9,
optionally prefixed with a
"-"
character.-"
character.0—9".."
character0—9"e"
character or
"E"
character-"
character or
"+"
character0—9".T and
Z in the date/time syntax must always be
uppercaseExamples:
1990-12-31T23:59:60Z1996-12-19T16:39:57-08:00
any"0"
character and that are separated by a single
"x"
character.For documents in the HTML syntax: Any character set name listed in the IANA Character Sets list [IANACHARSET].
For documents in the XML
syntax, any
case-insensitive match
for the string
"UTF-8".
text/html;".charset=".;"
character.url=".javascript".Example:
1996-12-19
-".Example:
1996-12
-W".Example:
1996-W16
Examples:
foo-bar.baz@example.com