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

rt — ruby annotation text

The rt element marks ruby annotation text, such as a pronunciation guide. Use it as a direct child of ruby alongside the base text.

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

ruby — short text annotations

The `ruby` element associates base text with a short annotation, such as a pronunciation guide for Japanese characters.

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

s — content that is no longer accurate or relevant

The `s` element marks content that is no longer accurate or relevant, such as a previous price. It does not mark deletions made while editing a document; use `del` for that purpose.

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

samp — sample output

The samp element marks sample or quoted output from another program or computing system.

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

script — embedding scripts and data

The script element embeds JavaScript or references an external file. The type attribute distinguishes classic scripts, modules, and data, while async and defer control execution timing.

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

The search element — a search region

The `search` element identifies a search or filtering region. It gives structure meaning but does not perform searches itself.

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

section — thematic section

The `section` element groups content around a shared topic, typically with a heading. It is not a generic styling container.

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

select — selection control

The `select` element lets users choose among form options. Learn single and multiple selection, labeling, and the role of `name` when submitting data.

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

selectedcontent — contents of the selected option

The `selectedcontent` element reflects the selected `option` contents inside a `select` control's button, without manually copying them with JavaScript.

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

slot — a content placeholder in Shadow DOM

The slot element marks a place in a Shadow DOM tree for assigned nodes. When none are assigned, it represents its own fallback content.

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

small — side comments and small print

The `small` element marks short side comments, such as disclaimers, legal restrictions, or copyright information.

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

source — alternative image and media resources

The `source` element declares alternative resources for `picture`, `audio`, or `video`. It displays nothing itself. Inside `picture` it requires `srcset`; inside `audio` and `video` it requires `src`. These uses must not be confused.

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

span — a neutral text container

The `span` element groups a text fragment without giving it meaning of its own. It supports global attributes, such as `class` or `lang`.

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

strong — strong importance, seriousness, or urgency

The strong element marks content of strong importance, seriousness, or urgency. It conveys semantic meaning rather than visual highlighting alone.

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

The style element — an embedded CSS stylesheet

The `style` element embeds a CSS stylesheet in an HTML document. It contains rules with selectors, not page content. It is different from the `style` attribute on an individual element.

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

sub — subscript

The sub element marks a meaning-bearing subscript, for example in a chemical formula or a variable identifier.

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

summary — disclosure section label

The `summary` element describes a `details` section and lets users expand or collapse it without JavaScript.

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

sup — superscript

The `sup` element marks a meaningful superscript, such as an exponent. It is not intended solely for decoration.

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

table — data table

The `table` element represents related data in rows and columns. Use it for tabular data, not for arranging page elements.

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

tbody — a group of table body rows

The `tbody` element groups rows that form the main data body of a table. It contains `tr` elements rather than cells directly, and lets one table contain several distinct groups of data rows.

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

td — table data cell

The td element represents a data cell in an HTML table. It is a child of tr; unlike th, it does not represent a row or column header.

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

template — an HTML fragment template

The `template` element holds an inert HTML fragment that a script can copy and insert into the document. Its contents are available through `content`, not as ordinary children of the element.

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

textarea — multiline text control

The textarea element edits multiline plain text. Learn how its initial and current values differ, how to label it, and how it participates in a form.

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

tfoot — table summary row group

The tfoot element groups rows summarizing table columns, such as totals. It belongs after the table's data rows.

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