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

controlslist — selecting native media controls

The controlslist attribute tells the browser which options to omit from native audio and video controls. Its JavaScript counterpart, HTMLMediaElement.controlsList, exposes a token list. Support depends on the browser.

Basic · WICG Controls List draft; index snapshot date recorded separately
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