HTML details open attribute
Examples
An open / visible <details> element:
<details open>
<summary>Copyright 1999-2011.</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>
<summary>Copyright 1999-2011.</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"
Browser Support
Currently only supports Chrome and Safari 6 open property.
Definition and Usage
open property is a boolean (Boolean) property.
Attribute specifies open the HTML page details should be visible.
Differences between HTML 4.01 and HTML5
<Details> tag HTML5 is the new label.
The difference between HTML and XHTML
In XHTML, the property does not allow short, open property must be defined as: <details open = "open">.
grammar
<details open>
HTML <details> tag