HTML | open Attribute
The open attribute in HTML is used to indicate whether the details will be shown on page load. This is a boolean attribute. If it is not present by default than details are not shown.
Note: This attribute is used by <details> element only.
<details open> content... </details>
Supported Browsers: The browser supported by open attribute are listed below:
- Apple Safari 6.0
- Google Chrome 12.0
- Firefox Not supported
- Opera 15.0
- Internet Explorer Not supported
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.