HTML 5 <details> Tag
Example
Details about the document:
<details>This document was written in 2009.</details> |
View it » |
Definition and Usage
The <details> tag is used to describe details about a document, or parts of a document.
Differences Between HTML 4.01 and HTML 5
The <details> tag is new in HTML 5
Tips and Notes
Tip: Use it together with the <summary> tag to make your own
header for the details. The header is visible, and could show the
details when the user clicks on the header.
Note: The details element can be used to describe any parts of your document.
Attributes
New : New in HTML 5.
Attribute |
Value |
Description |
openNew |
open
|
Defines if the details should be visible (present) or not
(not present). |
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|