< All the HTML Tags >

<time></time>

Video Coming Soon...

  • time

    Tag Type

    inline

    Tag Category

    text formatting

    Marks up dates and times in a machine-readable format.

    Viewed

    1

    Examples

    1

Definition:

The HTML <time> tag is used to represent a specific time or date, enhancing the semantic meaning of temporal data.

It can include attributes like datetime to specify the precise time or date, improving accessibility for screen readers and search engines.

Using the `<time>` tag effectively enhances the clarity and context of temporal information.

Attributes:

datetime, Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default time Example:

Date and time markup
<time datetime="2023-09-18">September 18, 2023</time>

Default time Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…