Attributo aperto HTML


Definizione e utilizzo

L' openattributo è un attributo booleano.

Quando presente, specifica che i dettagli devono essere visibili (aperti) per impostazione predefinita.


Si applica a

L' openattributo può essere utilizzato sul seguente elemento:

Elemento Attributo
<dettagli> aprire

Esempio

Un elemento <dettagli> aperto/visibile:

<details open>
  <summary>Copyright 1999-2014.</summary>
  <p> - by Refsnes Data. All Rights Reserved.</p>
  <p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
</details>

Supporto browser

I numeri nella tabella specificano la prima versione del browser che supporta completamente l'attributo.

Attribute
open 12.0 Not supported Not supported 6.0 15.0