A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

MicrosyntaxDescriptions: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(Explain purpose of page)
(→‎Language: Start lang)
Line 36: Line 36:
...
...
==Language==
==Language==
...
An [http://tools.ietf.org/html/rfc4646 RFC 4646] language tag consists of hyphen-separated ASCII-alphanumeric subtags. There is a primary tag identifying a natural language by its shortest ISO 639 language code (e.g. <code>en</code> for English) and zero or more trailing subtags adding precision.
 
==MediaQuery==
==MediaQuery==
...
...

Revision as of 13:02, 20 November 2007

The purpose of this page is to enable collaborative creation of brief advisory text for each HTML5 microsyntax so that when an attribute value does not conform to a given microsyntax, a validator can display the advisory text about the syntax to guide the author to fix the value. Note that like the rest of this wiki, editing requires you to agree to release your contributions under the MIT license (see wiki footer). Copying text from the WHATWG version of HTML 5 is OK.

Note that some formats pertain to Web Forms 2.0 (e.g. DatetimeLocal is datetime-local).

Date

...

DateOrTime

(time element attribute version)

DateOrTimeContent

(time element text content version)

Datetime

...

DatetimeLocal

...

DatetimeTz

...

float

...

float.non-negative

...

float.positive

...

Id

...

integer

...

integer.non-negative

...

integer.positive

...

Iri

...

IriRef

...

Language

An RFC 4646 language tag consists of hyphen-separated ASCII-alphanumeric subtags. There is a primary tag identifying a natural language by its shortest ISO 639 language code (e.g. en for English) and zero or more trailing subtags adding precision.

MediaQuery

...

MimeType

...

Month

...

Pattern

...

percent

...

Ratio

...

Time

...

Week

...