HTMLThe hreflang attribute identifies the language of a linked resource. Its value is a valid BCP 47 language tag and is only a hint: it neither sets the current document’s language nor overrides language information associated with the fetched resource.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe http-equiv attribute on meta selects a pragma directive, while content supplies its value. It is not a general mechanism for setting HTTP response headers.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe `id` attribute assigns an identifier used by URL fragments, HTML and ARIA relationships, selectors, and DOM APIs.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe imagesizes attribute describes an image's expected width so the browser can select a resource from imagesrcset during preloading. It applies to link with rel="preload" and as="image"; it does not set the image's layout width.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe imagesrcset attribute lets the browser select an image variant to preload. It is allowed only on a link element with rel="preload" and as="image", and corresponds to the srcset attribute of a later image.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe `inert` attribute disables user interaction with an entire subtree, including focus and activation, while leaving its nodes and application state in the DOM.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe global inputmode attribute suggests an input mechanism to the browser, usually an on-screen keyboard layout. It does not restrict characters or replace the field type and validation.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe integrity attribute supplies the browser with an expected digest for an external resource. Subresource Integrity (SRI) allows a script or stylesheet to be rejected when its contents do not match the declared metadata.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe is attribute identifies a custom element definition that extends a built-in HTML element. The element retains its native semantics and behavior while gaining author-defined functionality.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe boolean `ismap` attribute on `img` marks a server-side image map. The image must be inside an `a` element with `href`. When clicked, the browser appends coordinates to the link URL; interpreting those coordinates is the server's responsibility.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe itemid attribute gives a microdata item a global URL identifier. It requires itemscope and an itemtype that selects a vocabulary supporting global identifiers.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe itemprop attribute assigns microdata property names to an element. The attribute supplies the names, while the value comes from the element, its contents, or an appropriate attribute.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe itemref attribute extends a microdata item's property search to elements identified by their id values. It associates data outside the itemscope element's descendants without changing the document structure.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe boolean itemscope attribute creates an HTML microdata item: a group of name–value pairs. itemprop describes its properties, while optional itemtype specifies the item's types.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe itemtype attribute declares a microdata item's types using absolute URLs. It requires itemscope on the same HTML element.
Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe kind attribute on track identifies a text track's purpose. Omitting it means subtitles, whereas an invalid or empty value means metadata.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe label attribute names an optgroup group, an option, or a track. It is not a global attribute or a replacement for the label element. An option’s label and its submitted form value are separate concepts.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe `lang` attribute declares the natural language of an element and its contents so browsers and assistive technologies can select appropriate pronunciation and typographic rules.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe `list` attribute connects an `input` to a `datalist` containing suggested values. It does not restrict the entered value to those suggestions.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe loading attribute controls whether resource loading can be deferred based on an element's position relative to the viewport. It accepts lazy or eager; omission and invalid values mean eager. The standard defines it for img, iframe, audio, and video.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe boolean loop attribute on audio and video enables repetition: media returns to the beginning when it reaches the end. It does not start playback by itself.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe low attribute on meter defines the upper boundary of the low measurement range. It sets neither the minimum nor the current value; optimum determines what low values mean.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe max attribute sets the upper bound for selected input types, a meter scale, or task progress. Its value format, defaults, and the consequences of exceeding the bound depend on the element.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separatelyHTMLThe maxlength attribute limits text length in textarea and selected input types. It counts UTF-16 code units rather than user-perceived characters. It does not limit a numeric value or automatically truncate text assigned by a script.
Basic · WHATWG HTML Living Standard; index snapshot date recorded separately