Fandom

HTML & CSS Wiki

Details

649pages on
this wiki
Add New Page
Comments0 Share


The HTML <details></details> element was introduced in HTML5. It is used to describe the details about a document, or parts of a document. It can be used together with the <summary> element to create a header for the details. The header is visible, and could show the details when the user clicks on the header.


Attribute

Attribute Value Description
open open Value is open. Defines if the details should be visible (present) or not (not present).
Global Attributes

See Global HTML Attributes.


HTML example:

<details>This wiki was created in 2010.</details>

HTML5 Categories

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.