HTML5 types with variants. (See also Html5.M)
Character data
A document-unique identifier
A reference to a document-unique identifier
A name with the same character constraints as ID above
A name composed of only name tokens as defined in XML 1.0
A single character from ISO 10646.
A character encoding, as per RFC2045 (MIME).
A space-separated list of character encodings, as per RFC2045 (MIME).
A media type, as per RFC2045 (MIME).
A comma-separated list of media types, as per RFC2045 (MIME).
Comma- separated list of coordinates to use in defining areas.
Date and time information.
A character string representing an SGML Formal Public Identifier.
Frame name used as destination for results of certain actions.
A language code, as per RFC5646/BCP47.
The value may be either in pixels or a percentage of the available
horizontal or vertical space. Thus, the value `Percent 50
means half of
the available space.
Authors may use the following recognized link types, listed here with
their conventional interpretations. A LinkTypes value refers to a
space-separated list of link types. White space characters are not
permitted within link types. These link types are case-insensitive, i.e.,
"Alternate"
has the same meaning as "alternate"
.
User agents, search engines, etc. may interpret these link types in a variety of ways. For example, user agents may provide access to linked documents through a navigation bar.
`Alternate
:
Gives alternate representations of the current document.`Archives
:
Provides a link to a collection of records, documents, or other materials of historical interest.`Author
:
Gives a link to the current document's author.`Bookmark
:
Gives the permalink for the nearest ancestor section.`External
:
Indicates that the referenced document is not part of the same site as the current document.`First
:
Indicates that the current document is a part of a series, and that the first document in the series is the referenced document.`Help
:
Provides a link to context-sensitive help.`Icon
:
Imports an icon to represent the current document.`Index
:
Gives a link to the document that provides a table of contents or index listing the current document.`Last
:
Indicates that the current document is a part of a series, and that the last document in the series is the referenced document.`Licence
:
Indicates that the main content of the current document is covered by the copyright license described by the referenced document.`Next
:
Indicates that the current document is a part of a series, and that the next document in the series is the referenced document.`Nofollow
:
Indicates that the current document's original author or publisher does not endorse the referenced document.`Noreferrer
:
Requires that the user agent not send an HTTP Referer (sic) header if the user follows the hyperlink.`Pingback
:
Gives the address of the pingback server that handles pingbacks to the current document.`Prefetch
:
Specifies that the target resource should be preemptively cached.`Prev
:
Indicates that the current document is a part of a series, and that the previous document in the series is the referenced document.`Search
:
Gives a link to a resource that can be used to search through the current document and its related pages.`Stylesheet
:
Imports a stylesheet.`Sidebar
:
Specifies that the referenced document, if retrieved, is intended to be shown in the browser's sidebar (if it has one).`Tag
:
Gives a tag (identified by the given address) that applies to the current document.`Up
:
Provides a link to a document giving the context for the current document.The MediaDesc attribute is a comma-separated list of media descriptors. The following is a list of recognized media descriptors:
`Screen
:
For non-paged computer screens.`TTY
:
For media using a fixed-pitch character grid (like teletypes, terminals, or devices with limited display capabilities).`TV
:
For TV-type devices (low resolution, limited scrollability).`Projection
:
For projectors.`Handheld
:
For handheld devices (small screen, limited bandwidth).`Print
:
For paged and for documents viewed on screen in print preview mode.`Braille
:
For braille tactile feedback devices.`Aural
:
For speech synthesizers.`All
:
For speech synthesizers.`Raw_mediadesc
:
For more complex (untyped) media descriptors.The value may be a Length or a relative length. A relative length
has the form "i*"
, where "i"
is an integer. When allotting space
among elements competing for that space, user agents allot pixel
and percentage lengths first, then divide up remaining available
space among relative lengths. Each relative length receives a
portion of the available space that is proportional to the integer
preceding the "*"
. The value "*"
is equivalent to "1*"
. Thus, if
60 pixels of space are available after the user agent allots pixel
and percentage space, and the competing relative lengths are "1*"
,
"2*"
, and "3*"
, the "1*"
will be allotted 10 pixels, the "2*"
will be
allotted 20 pixels, and the "3*"
will be allotted 30 pixels.
The value is an integer that represents the number of pixels of
the canvas (screen, paper). Thus, the value "50"
means fifty
pixels. For normative information about the definition of a pixel,
please consult CSS2.
Script data can be the content of the "script"
element and the
value of intrinsic event attributes. User agents must not evaluate
script data as HTML markup but instead must pass it on as data to a
script engine.
The case-sensitivity of script data depends on the scripting language.
Please note that script data that is element content may not contain character references, but script data that is the value of an attribute may contain them.
Arbitrary textual data, likely meant to be human-readable.
Javascript events
These category are mainly subdivised in
Transparent elements.
Such elements have a part of they children in their dataconsigor,
and behaves like them. We could do something like =a: 'a elt list -> 'a elt
but the information about the node name would be forgotten and would allow
things like that : =p [a [a []]]
.
This system allow to build non-conforming terms such as a [a []]
but when passed
to a standard element (such as p
), it will yield an error.
Exception to that : if you embdedd the element in another transparent (of an
another kind) : p [noscript (a [a []])]
will be correctly typed.
Metadata without title
Interactive contents : contents that require user-interaction (Forms, link, etc.)
Core element types are element types without transparent.
Phrasing contents is inline contents : bold text, span, and so on.
Phrasing without the interactive markups