Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / HTML

Knowledge base — HTML

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

Entries: 397

HTML

formtarget — where a form submission result is displayed

The formtarget attribute selects where a submission triggered by a particular button loads its result. It overrides the form's target for that submission, allowing the current tab, a new window or tab, or a named frame to be used.

Basic · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

headers — explicitly associate a cell with headers

The headers attribute on td and th cells identifies header cells by their id values. It explicitly describes table relationships, particularly when the table structure is complex.

Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

headingoffset — offsetting heading levels

The global HTML attribute `headingoffset` increases computed heading levels. It accepts an integer from 0 to 8; nested offsets add together, while `headingreset` establishes a boundary for the offset calculation.

Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

headingreset — a boundary for heading offset computation

The boolean headingreset attribute stops headingoffset accumulation from more distant ancestors. It does not discard the offset on the element carrying headingreset itself.

Intermediate · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

HTML height attribute

The height attribute specifies the vertical dimension of supported HTML elements. It takes a non-negative integer without a unit. On canvas, it controls bitmap height, not merely the displayed size.

Basic · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

HTML term or value: hidden

The `hidden` attribute marks content as not currently intended for presentation; a special state lets the browser reveal a matching fragment during find-in-page.

Basic · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

high — the high-range threshold of a meter

The high attribute on meter specifies the lower boundary of the high measurement range. It is neither the scale maximum nor an error indicator by itself.

Basic · WHATWG HTML Living Standard; index snapshot date recorded separately
HTML

href — link address or base URL

The href attribute specifies a URL used by a, area, link, and base elements. Its meaning depends on the element: it identifies a hyperlink destination, the address of a related resource, or the document base URL. Relative URLs are resolved against the base URL.

Basic · WHATWG HTML Living Standard; index snapshot date recorded separately
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