details

UK['di:teɪlz] US['di:teɪlz]

n.Details; details (plural form of detail); (of photos, paintings, etc.) details; details; various details

html5<details> tag syntax

Function: The <details> tag is used to describe the details of a document or a certain part of the document.

Parameters:

Properties
ValueDescription
openopenDefines whether details are visible.

Note: Used in conjunction with the <summary> tag to define a title for details. The title is visible, and when the user clicks on the title, the details are displayed.

html5<details> tag example

<!DOCTYPE HTML>
<html>
<body>
<details>
<summary>Copyright 2011.</summary>
<p>All pages and graphics on this web site are the property of W3School.</p>
</details>

</body>
</html>
Run instance »

Click the "Run instance" button to view the online instance