Element | Description |
<details> | |
<figure> | Use to mark up a photo in a document |
<figcaption> | Defines a caption for a figure element |
<mark> | To Highligh or Mark the Text |
<meter> | Use to measure data within a given range |
<progress> | Defines the progress of a task |
HTML5 details tag specifies additional details which user can view or hide.
Example 1: Details Tag
Output:
Attribute | Description |
open | Specifies that the details should be visible(open) to the user. |
Example: Figure and Figcaption Tag
Output:
Examples: Meter can be use for Disk usage, the relevance of a query result, etc.
Output:
Styling:
Examples: Progress.
Output: