HTML
tag
Example
Use
element:
<
details
<
summaryCopyright 1999-2011.
summary
<
p
p
<
pAll content and graphics on this web site are the property of the company Refsnes Data.
p
details
Try it »
Browser support

Currently, only Chrome and Safari 6 support
tag.
Tag Definition and Usage Notes
The tag specifies supplementary details that are either visible or hidden from the user.
The tag is an interactive control that the user can open and close. Any form of content can be placed inside
the tag.
The content of the element is invisible to the user unless the open attribute is set.
Differences between HTML 4.01 and HTML5
The tag is new in HTML5.
the tag, it can define a title for the details. The title is visible, and when the user clicks it, the details are displayed.
Tips and Notes
the tag, it can define a title for the details. The title is visible, and when the user clicks it, the details are displayed.
property
New : New attributes in HTML5.
property
Value
Description
openNew
open
Specifies whether the details are visible.
Global Attributes
The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).
Event attribute
The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).
Event attribute
The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).