Attribute

Example

<details open>

In HTML, the open attribute in the <details> element is a boolean attribute. When present, it indicates that the details should be visible (open) to the user by default. If the open attribute is omitted or not present, the details are initially hidden (closed) when the page loads, and the user can toggle their visibility by clicking on the summary.