Friday, May 31, 2024

HTML Semantics sheet



<article>: Defines independent, self-contained content.

<aside>: Contains content that is tangentially related to the content around it and could be considered separate.

<details>: Used to create an interactive widget that the user can open and close, revealing additional details.

<figcaption>: Provides a caption for a <figure> element.

<figure>: Represents self-contained content, like illustrations, diagrams, photos, code listings, etc., that is referenced as a single unit.

<footer>: Defines a footer for a document or section, typically containing information about the author, copyright information, etc.

<header>: Specifies a header for a document or section, usually containing introductory content or navigational aids.

<main>: Identifies the main content of a document, which is unique to that document and excludes content that is repeated across a set of documents such as site navigation links, header or footer information.

<mark>: Highlights text.

<nav>: Defines a set of navigation links.

<section>: Represents a standalone section of a document, typically with a theme or topic.

<summary>: Defines a visible heading for a <details> element.

<time>: Indicates a specific period in time.



No comments:

Post a Comment

HTML Semantics sheet

<article> : Defines independent, self-contained content. <aside>: Contains content that is tangentially related to the content...