ankitweblogic logo
W e b t u t o r i a l s

Directory Structure

DOCTYPE Declaration

Audio and Videos tag

YouTube Videos

Elements Removed

Semantic Elements

HTML5 Basic Structure

HTML5 New Elements

Create Element

Browser Support

HTML5 Form Element

HTML5 details tag

HTML5 details tag specifies additional details which user can view or hide.

Example: Details Tag Output:
AttributeDescription
openSpecifies that the details should be visible(open) to the user.
ElementDescription
<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
Example: Figure and Figcaption Tag Output:
Examples: Meter can be use for Disk usage, the relevance of a query result, etc. Output: Styling:
Note: use window.open("url"); - to open a url.
Examples: Progress. Output: