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

HTML term or value: dir

The `dir` attribute sets semantic base direction for text so the bidirectional algorithm can order characters, numbers, and punctuation correctly.

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

HTML term or value: draggable

The `draggable` attribute controls whether an element can initiate native dragging, but it does not by itself implement data transfer or an accessible keyboard interaction.

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

fetchpriority — resource fetch priority

The fetchpriority attribute sets the relative fetch priority of images, external scripts, and resources referenced by link. It accepts high, low, or auto; it does not guarantee the order in which fetches finish.

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

The HTML for attribute

The `for` attribute has element-specific meanings: it associates a `label` with a control, identifies inputs to an `output`, or connects a `template` to a named processing-instruction marker. It is neither a global attribute nor an instruction to perform a calculation.

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

form attribute — explicit form association

The form attribute identifies a control's form owner, even when the control is outside that form. Its value is the form's id in the same tree, not its name or a CSS selector.

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

formaction — submission URL for a button

The formaction attribute overrides a form's action when a particular button initiates submission. It lets the same form submit to different URLs without changing the form's default destination.

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

formenctype — data format for an individual submit button

The formenctype attribute lets a submit button override the form's enctype. It selects the POST request data format only when that button is used to submit the form.

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

formmethod — submission method for a button

The formmethod attribute selects the form submission method for a particular submit button. It accepts get, post, and dialog, overriding the form's method for a submission initiated by that button.

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

formnovalidate — bypass validation during form submission

The boolean `formnovalidate` attribute lets a submit button bypass automatic form constraint validation. It is useful for saving an incomplete draft without changing the fields' requirements.

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