details tag
Advertisements
<details> tag
Html <details> tag is used for specify the additional details about any contents on web page that the user can view or hide.
Syntax
<!DOCTYPE> <html> <body> <details> <h3>Html Introduction</h3> <p>Html is very simple to use and it is also easy to learn.</p> </details> </body> </html>
Result
Html Introduction
Html is very simple to use and it is also easy to learn.
Browser supported
Element | |||||
<details> | Yes | Yes | Yes | Yes | Yes |
Google Advertisment