The term "HTML5 validator" can be used to refer to a + conformance checker that itself conforms to the applicable + requirements of this specification.
-The term "HTML validator" can be used to refer to a - conformance checker that itself conforms to the applicable - requirements of this specification.
The 2D graphics - context has a separate color syntax that also handles - opacity.
If the hyperlink has a ping
attribute and its absolute URL(s) are being shown to the
- user, then the ping
- attribute's tokens should be re-resolved relative to the element and the UI updated
- appropriately.
The HTMLPropertiesCollection
interface represents a
- collection of elements that add
- [93 lines skipped]
- title="dom-itemValue">itemValue DOM property of each of the
- elements represented by the object, in tree order.
SECURITY_ERR
exception whenever any of the members of
- an HTMLDocument
object are accessed by scripts whose
- effective script origin is not the same as the Document
's effective
- script origin.
- URL
readyState
IDL
- attribute must, on getting, return the current document
- readiness.
-
-
- The html
element of a document is the
- document's root element, if there is one and it's an
- html
element, or null otherwise.
The dir
- attribute on the HTMLDocument
interface is defined
- along with the dir
content
- attribute.
XML documents can be created from script using the
- createDocument()
- [63 lines skipped]
-
Return doc.
Elements, attributes, and attribute values in HTML are defined
- (by this specification) to have certain meanings (semantics). For
- example, the ol
element represents an ordered list, and
- [88 lines skipped]
-
-
HTML has a progress
element that
- describes a progress bar. If its "value" attribute is dynamically
- updated by a script, the UA would update the rendering to show the
- progress changing.
The nodes representing HTML elements in the DOM - must implement, and expose to scripts, the - interfaces listed for them in the relevant sections of this - [36 lines skipped] - attribute DOMString itemId; - [PutForwards=value] readonly attribute DOMSettableTokenList itemRef; - [PutForwards=value] readonly attribute DOMSettableTokenList itemProp; - readonly attribute HTMLPropertiesCollection properties; - attribute any itemValue;
itemid
itemprop
itemref
itemscope
itemtype
link
(if the itemprop
attribute is present)meta
(if the itemprop
attribute is present)link
(if the itemprop
attribute is present)meta
(if the itemprop
attribute is present)link
elementitemprop
attribute is present: flow content.itemprop
attribute is present: phrasing content.itemprop
attribute is present: where phrasing content is expected.A link
element must have either a rel
attribute, or an itemprop
attribute, or both.
A link
element must have rel
attribute.
itemprop
attribute is present: flow content.itemprop
attribute is present: phrasing content.itemprop
attribute is present: where metadata content is expected.itemprop
attribute is present: where phrasing content is expected.Exactly one of the name
,
- http-equiv
, charset
, and itemprop
attributes must be
- specified.
If either name
, http-equiv
, or itemprop
is specified, then the content
attribute must also be
- specified. Otherwise, it must be omitted.
Exactly one of the name
,
+ http-equiv
, and charset
attributes must be
+ specified.
If either name
or http-equiv
is specified, then
+ the content
attribute must
+ also be specified. Otherwise, it must be omitted.
a
elementping
ping
,
- and ping
- ping
,
img
elementparam
elementtrack
elements, then
- zero or more track
elements, then
video
elementstrack
elements, then
- zero or more track
elements, then
source
elementaudio
elementstrack
elements.
- track
elementsrclang
must
- reflect the respective content attributes of the same
- name.
-
-
Forget the media element's media-resource-specific - timed tracks.
Forget the media element's media-resource-specific - timed tracks.
⌛ Forget the media element's - media-resource-specific timed tracks.
Run the steps to expose a media-resource-specific timed - track with the relevant data.
- -A media element can have a group of associated WebSRT parser has finished.
- - - -canvas
elementThis specification only defines one context, with the name "2d
". If getContext()
is called with
- that exact string for its contextId argument,
- then the UA must return a reference to an object implementing
- CanvasRenderingContext2D
. Other specifications may
- define their own contexts, which would return different
- objects.
Contexts are defined by other specifications, for example the 2D + Context specification. [2DCONTEXT]
-When the getContext()
- method of a canvas
element is invoked with 2d
as the argument, a
- CanvasRenderingContext2D
object is returned.
There is only one CanvasRenderingContext2D
object
- per canvas, so calling the getContext()
method with the
- 2d
argument a second time
- must return the same object.
area
elementcanvas
elementsping
ping
- ping
,
- ping
,
caption
elementThis provides the user with more context:
- -3 | 4 | 5 | 6 | 7 | 8 | 9 - |
---|---|---|---|---|---|---|
4 | 5 | 6 | 7 | 8 | 9 | 10 - |
5 | 6 | 7 | 8 | 9 | 10 | 11 - |
6 | 7 | 8 | 9 | 10 | 11 | 12 - |
This table could look like this:
- -Gross margin percentage - | 34.3% - | 34.0% - | 29.0% - |
---|
accesskey
attribute to define a command on other elementsdevice
elementTo prevent network sniffing from allowing a - fourth party to establish a connection to a peer using the - information sent out-of-band to the other peer and thus spoofing the - client, the configuration information should always be transmitted - using an encrypted connection.
The ping
attribute, if
- present, gives the URLs of the resources that are interested in
- being notified if the user follows the hyperlink. The value must be
- a set of space-separated tokens, each of which must be
- a valid non-empty URL. The value is
- used by the user agent for hyperlink
- auditing.
If an a
or area
hyperlink element has a
- [130 lines skipped]
-
-
prev
"This section is non-normative.
- -Sometimes, it is desirable to annotate content with specific - machine-readable labels, e.g. to allow generic scripts to provide - services that are customised to the page, or to enable content from - a variety of cooperating authors to be processed by a single script - in a consistent manner.
- -For this purpose, authors can use the microdata features - described in this section. Microdata allows nested groups of - name-value pairs to be added to documents, in parallel with the - existing content.
-This section is non-normative.
- -At a high level, microdata consists of a group of name-value - [192 lines skipped] - document, in the former case, the item will be included in the - drag-and-drop data. In neither case is the image in any way - associated with the item.
- -This section is non-normative.
- -The examples in the previous section show how information could - [34 lines skipped] - the properties, thus defining a vocabulary: a property named "class" - given for an item with the type "http://census.example/person" might - refer to the economic class of an individual, while a property named - "class" given for an item with the type "http://example.com/school/teacher" - might refer to the classroom a teacher has been assigned.
-This section is non-normative.
- -Sometimes, an item gives - [45 lines skipped] - for something other than the resource actually designated by the URL - leads to a situation where it is ambiguous whether the identifier, - and thus the set of properties specified in the microdata, - references the page or something else.
- --> -This section is non-normative.
- -Using microdata means using a vocabulary. For some purposes, an - [73 lines skipped] -
This section is non-normative.
- -The microdata becomes even more useful when scripts can use it to - [137 lines skipped] - -
(The duplicate occurrence of "http://example.com/color" is not included - in the list.)
- - -The microdata model consists of groups of name-value pairs known - as items.
- - [16 lines skipped] - relevant type for a typed item is the item's item type, if it has - one, or else is the relevant type of the item for which it is a property's value. -Every HTML element may have an
- itemscope
attribute
- specified. The itemscope
- [106 lines skipped]
- subtree.
The itemref
attribute must not
- be specified on elements that do not have an itemscope
attribute specified.
itemprop
attributeEvery HTML element may have an
- The property value of a
- name-value pair added by an element with an itemprop
attribute specified, if
- doing so adds a
- [95 lines skipped]
- <p itemprop="a">1</p>
- </div>
-
-
-
- Values
-
- itemprop
attribute depends on the
- [78 lines skipped]
- title="concept-time">timedatetime
attribute of a
- time
element.
To find the properties of an item defined by the
- element root, the user agent must try to
- crawl the properties of the element license
- An item with the item type An item with the item type An item with the item type Given a list of nodes nodes in a
- Return result. To convert a Given a The Atom namespace is: The user agent must take the list of dragged nodes
- and extract the microdata from those
- nodes into a JSON form, and then must add the resulting
- string to the Messages in server-sent events, Web
- sockets, cross-document messaging, and
- channel messaging use the source attribute must be
- null, and the The task source for the tasks in cross-document
- messaging is the posted message task source. This section is non-normative. This section is non-normative. To enable independent pieces of code (e.g. running in different
- [29 lines skipped]
- http://www.opensource.org/licenses/mit-license.php
-
-
-
- Microdata DOM API
-
-
-
getItems
( [ types ] )for (var index = 0; index < element.itemRef.length; index += 1)
- process(document.getElementById(element.itemRef[index]));
-
-
Drag-and-drop
- Microdata vocabularies
- vCard
-
-
- http://microformats.org/profile/hcard
- [2026 lines skipped]
- FN:George Washington
- N:Washington;George;;;
- END:VCARD
-
-
- vEvent
-
-
- http://microformats.org/profile/hcalendar#vevent
- [954 lines skipped]
- itemprop="url">See this event on livebrum.co.uk</a>.</p>
- <meta itemprop="description" content="via livebrum.co.uk">
- </div>
-
-
- Licensing works
-
-
- http://n.whatwg.org/work
- [133 lines skipped]
-
-
-
-
- Converting HTML to other formats
- JSON
-
- Document
, a user agent must run the following algorithm
- to extract the microdata from those
- [90 lines skipped]
- title="">properties.RDF
-
- Document
to
- RDF, a user agent must run the following algorithm:Atom
-
- Document
source, a user
- agent may run the following algorithm to extract an Atom feed. This is not the only algorithm
- [546 lines skipped]
- document does not have any <meta name="author"
- content="...">
elements), then the output will not be
- conforming.http://www.w3.org/2005/Atom
The
Window
objectBrowsing context names
Navigating auxiliary browsing contexts in the DOM
- void postMessage(in any message, in DOMString targetOrigin, in optional MessagePortArray ports);
Drag-and-drop processing model
Security and privacy
- dataTransfer
member,
- associated with the application/microdata+json
format.Worker locations
Shared workers and the
- SharedWorker
interfaceCommunication
-
- Event definitions
-
- ports
- attribute must be null.Acknowledgements
-
-
-
-
-
- [18 lines skipped]
- Sec-WebSocket-Protocol
Introduction
-
- Posting messages
-
-
-
-
postMessage
(message, targetOrigin [, ports ])Channel messaging
- Introduction
-
- channel.port1.onmessage = handleMessage;
- function handleMessage(event) {
- // message is in event.data
- // ...
- }
- Message channels
-
- [Constructor]
- interface MessageChannel {
- readonly attribute MessagePort port1;
- [70 lines skipped]
-
port2
attributes
- must return the values they were assigned when the
- MessageChannel
object was created.
Each channel has two message ports. Data sent through one port is - received by the other port, and vice versa.
- - [382 lines skipped] - objects and discarding them without closing them can lead to high - memory usage. - - -pointer to rendering model for timed tracks
-rendering model for timed tracks
- -CSS extensions
- -User agents are expected to inform the user of whether a - hyperlink includes hyperlink auditing, and - to let them know at a minimum which domains will be contacted as - part of such auditing.
text/cache-manifest
text/ping
This registration is for community review and will be submitted - to the IESG for review, approval, and registration with IANA.
- - [57 lines skipped] -Fragment identifiers have no meaning with
- text/ping
resources.
text/srt
This registration is for community review and will be submitted - to the IESG for review, approval, and registration with IANA.
- - [60 lines skipped] -Fragment identifiers have no meaning with
- text/srt
resources.
application/microdata+json
application/microdata+json
This registration is for community review and will be submitted - to the IESG for review, approval, and registration with IANA.
- - [62 lines skipped] - -Fragment identifiers used with
- application/microdata+json
resources have the same
- semantics as when used with application/json
. [JSON]
Ping-From
This section describes a header field for registration in the - Permanent Message Header Field Registry. [RFC3864]
- [12 lines skipped] - This document is the relevant specification. - -Ping-To
This section describes a header field for registration in the - Permanent Message Header Field Registry. [RFC3864]
- [12 lines skipped] - This document is the relevant specification. - -ping
;
- ping
;
- track
audio
;
- video
kind
;
- label
;
- src
;
- srclang
HTMLTrackElement
link
(if the itemprop
attribute is present);
- meta
(if the itemprop
attribute is present);
- link
(if the itemprop
attribute is present);
- -->; meta
(if the itemprop
attribute is present)