Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 5788

HTML

hreflang — language of the linked resource

The 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 separately
HTML

http-equiv — meta pragma directives

The 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 separately
HTML

HTML term or value: id

The `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 separately
HTML

imagesizes — image source size for preloading

The 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 separately
HTML

imagesrcset — responsive image preloading

The 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 separately
HTML

HTML term or value: inert

The `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 separately
HTML

inputmode — an input mechanism hint

The 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 separately
HTML

integrity attribute — resource integrity

The 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 separately
HTML

is — extending a built-in HTML element

The 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 separately
HTML

ismap — server-side image map

The 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 separately
HTML

itemid — global identifier for a microdata item

The 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 separately
HTML

itemprop — microdata property names

The 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 separately
HTML

itemref — microdata properties outside the itemscope element

The 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 separately
HTML

itemscope — creating a microdata item

The 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 separately
HTML

itemtype — microdata item types

The 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 separately
HTML

kind — text track kind

The 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 separately
HTML

label attribute — a user-visible name

The 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 separately
HTML

HTML term or value: lang

The `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 separately
HTML

list — connecting an input to suggestions

The `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 separately
HTML

loading — deferring resource loading

The 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 separately
HTML

loop — repeating media playback

The 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 separately
HTML

low — upper boundary of a meter’s low range

The 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 separately
HTML

max — upper value bound

The 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 separately
HTML

maxlength — maximum text length

The 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