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

HTML element: audio

The audio element embeds a sound resource and exposes the browser’s source-selection, buffering, timing, and playback model.

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

HTML element: b

The utilitarian-attention element marks text that needs practical recognition without adding importance or stress emphasis.

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

base — document base URL and default navigation target

The `base` element sets the document base URL through `href` and the default navigation target through `target`. It belongs in `head`, with at most one per document.

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

HTML element: bdi

The bidirectional-isolation element separates an unknown fragment’s direction from surrounding text so characters on either side do not reorder one another.

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

HTML element: bdo

The bidirectional-override element forces character display direction when the intended presentation must replace the Unicode algorithm’s result.

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

HTML element: blockquote

The block-quotation element represents a self-contained section quoted from another source, not text made prominent merely by indentation.

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

The body element — document contents

The `body` element represents an HTML document’s contents. A conforming document contains only one such element.

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

HTML element: br

The line-break element marks a move to a new line that belongs to the content itself, such as in a postal address or a line of verse.

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

HTML element: button

The native button element represents a labeled command and can act as a form control whose type determines its behavior.

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

HTML element: canvas

The canvas element provides a scriptable bitmap for dynamic drawing, but pixels alone do not create document semantics.

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

HTML element: caption

The table-caption element gives a table a title or concise explanation, helping readers understand the data’s scope before its cells.

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

HTML element: cite

The work-title element marks the name of a cited creative work, ranging from a book or film to a web page or computer program.

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

HTML element: code

The code element identifies a fragment recognized by a computer, such as an element name, command, filename, or program statement.

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

HTML element: col

The void column element represents one or more consecutive table columns, allowing their coverage and presentation to be described together.

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

HTML element: colgroup

The column-group element combines consecutive table columns into a range that can receive shared presentation.

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

HTML element: data

The data element pairs visible human-readable content with a corresponding machine-readable form chosen by the author.

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

HTML element: datalist

The suggestion-list element supplies a form control with a non-binding set of proposed values while allowing another valid value to be entered.

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

HTML element: dd

The description element supplies a definition, explanation, or value for the preceding name or names in the same description-list group.

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

del — marking deleted content

The `del` element marks content removed during document editing. It preserves that content in the markup, while optional `datetime` and `cite` attributes describe the change.

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

details — disclosure widget

The `details` element reveals additional information when expanded. Its `summary` supplies the label, while the `open` attribute determines whether the content is expanded.

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

dfn — defining instance of a term

The dfn element marks the occurrence of a term where its definition is supplied. It wraps the term, not the whole explanation; a link can target it through id.

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

dialog — a native dialog box

The `dialog` element represents a temporary window for completing a task or presenting information. Its `show()` method displays it non-modally, while `showModal()` blocks interaction with the rest of the document.

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

div — generic container

The `div` element groups content without special meaning. Choose it when no suitable semantic element applies.

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

dl — description list

The `dl` element represents name–value associations, such as metadata, questions and answers, or terms and definitions. Names belong in `dt` elements and their corresponding values in `dd` elements.

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