Details tag
Details tag in HTML:
"Details" HTML tag is used to create a pull-down widget which enables you to show or disclose additional content once a user interacts with it. It is very often used in order to let sections containing information expand and retract.
Clicking on "Details" tag is like a virtual reveal or hide button. It is also used to develop the accordion that expands on click to show more info.
Example
Let's use the "Details" tag to create an expandable section with additional details about a product:
html Live Editor!