HTML <dettagli> apri Attributo
Esempio
Un elemento <dettagli> aperto/visibile:
<details open>
<summary>Epcot Center</summary>
<p>Epcot is a
theme park at Walt Disney World Resort featuring exciting attractions,
international pavilions, award-winning fireworks and seasonal special
events.</p>
</details>
Definizione e utilizzo
L'
open
attributo è un attributo booleano.
Quando presente, specifica che i dettagli devono essere visibili (aperti) all'utente.
Supporto browser
I numeri nella tabella specificano la prima versione del browser che supporta completamente l'attributo.
Attribute | |||||
---|---|---|---|---|---|
open | 12.0 | 79.0 | 49.0 | 6.0 | 15.0 |
Sintassi
<details open>
❮ Tag HTML <dettagli>