open 属性は、ブール型属性です。
指定された場合、デフォルトで詳細を表示(オープン)することを指定します。
open 属性は、以下の要素で使用することができます:
要素 | 属性 |
---|---|
<details> | open |
open/visible <details> 要素:
<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>
Try it Yourself ❯
表中の数字は、属性を完全にサポートした最初のブラウザ・バージョンを指定しています。
属性 | |||||
---|---|---|---|---|---|
open | 12.0 | サポートなし | サポートなし | 6.0 | 15.0 |