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

dt — a name or term in a description list

The `dt` element identifies a name or term in a `dl` description list. Following `dd` elements supply associated descriptions or values. A `dt` alone does not indicate that a term is being defined.

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

em — stress emphasis

The em element marks stress emphasis in a statement, rather than merely requesting italics or indicating importance.

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

embed — embedding an external resource

The `embed` element provides an integration point for an external application or interactive content. It identifies a resource through `src`; handling depends on the browser and content type.

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

fieldset — grouping form controls

The `fieldset` element groups related controls or other content. An optional `legend` captions the group, while `disabled` disables its controls except descendants of its first `legend` child.

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

figcaption — a caption for figure content

The `figcaption` element captions the contents of `figure`. It must be a direct child, placed at the beginning or the end.

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

footer — section or page footer

The footer element represents a footer for its nearest ancestor section or the whole page, containing authorship, copyright, or related links.

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

form — HTML form

The form element associates controls with a form and defines how their data is submitted. It supports native submission and validation; JavaScript can intercept submission.

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

h1 — level-one heading

The h1 element represents a heading for a top-level section. Choose heading levels to match the content structure.

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

h2 — second-level heading

The h2 element marks a subsection heading, typically below the main h1 heading. It expresses content structure rather than merely changing text appearance.

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

h3 — third-level heading

The h3 element marks a third-level heading, typically naming a subdivision beneath an h2 heading.

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

h4 — fourth-level heading

The `h4` element marks a fourth-level heading. Choose it according to content hierarchy, not text size.

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

h5 — fifth-level heading

The h5 element represents a heading with a base level of 5. Use it to label a deeply nested part of a document, not to select a text size.

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

h6 — sixth-level heading

The h6 element represents a heading with a base level of 6, not simply small text. Use it for deeply nested subsections, following the document's heading hierarchy.

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

head — HTML document metadata

The `head` element groups document metadata, such as the title and character encoding declaration. It is the first element child of `html`, before `body`.

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

header — introductory and navigational content

The `header` element groups introductory content or navigational aids for a page or part of it. It can contain a heading, but does not itself create a new section.

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

hgroup — a heading with related content

The hgroup element combines one h1–h6 heading with related content, such as a subtitle or tagline marked up as p. It is not a container for multiple headings.

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

hr — thematic break

The `hr` element marks a paragraph-level thematic break, such as a scene change, rather than merely a decorative line.

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

html — the document root element

The `html` element is the root of an HTML document. It contains `head` followed by `body`; its `lang` attribute identifies the document language.

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

i — text of a different quality

The `i` element marks text in an alternate voice or quality relative to surrounding prose, rather than merely requesting italics.

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

iframe — embedded document

The iframe element embeds a separate document. Learn how src differs from srcdoc and how sandbox restricts content.

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

img — embedding an image

The img element embeds an image in an HTML document. The src and srcset attributes identify resources, while alt supplies text that replaces the information conveyed by the image.

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

input — form control

The `input` element represents a data field or button depending on `type`. Learn how to choose its type, provide a label and submission name, and apply basic value constraints.

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

ins — content added to a document

The ins element marks content added to a document. Optional datetime and cite attributes record the change date and a URL explaining it.

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