HTML element: button
The native button element represents a labeled command and can act as a form control whose type determines its behavior.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
The native button element represents a labeled command and can act as a form control whose type determines its behavior.
The canvas element provides a scriptable bitmap for dynamic drawing, but pixels alone do not create document semantics.
The table-caption element gives a table a title or concise explanation, helping readers understand the data’s scope before its cells.
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.
The code element identifies a fragment recognized by a computer, such as an element name, command, filename, or program statement.
The void column element represents one or more consecutive table columns, allowing their coverage and presentation to be described together.
The column-group element combines consecutive table columns into a range that can receive shared presentation.
The data element pairs visible human-readable content with a corresponding machine-readable form chosen by the author.
The suggestion-list element supplies a form control with a non-binding set of proposed values while allowing another valid value to be entered.
The description element supplies a definition, explanation, or value for the preceding name or names in the same description-list group.
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.
The `details` element reveals additional information when expanded. Its `summary` supplies the label, while the `open` attribute determines whether the content is expanded.
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.
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.
The `div` element groups content without special meaning. Choose it when no suitable semantic element applies.
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.
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.
The em element marks stress emphasis in a statement, rather than merely requesting italics or indicating importance.
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.
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.
The `figcaption` element captions the contents of `figure`. It must be a direct child, placed at the beginning or the end.
The `figure` element groups a self-contained unit such as an illustration or code listing. It can include an optional `figcaption` caption.
The footer element represents a footer for its nearest ancestor section or the whole page, containing authorship, copyright, or related links.
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.