HTML <details> tag

HTML <details> tag : Definition

• The HTML <details> tag is used to specify the additional details on the web page that the user can show or hide on demand.

• The details element represents a disclosure widget from which the user can obtain additional information or controls.



<details> tag example :

<!DOCTYPE html>  
<html>  
<body>  
The HTML <del> tag is used to identify text that has been <del> deleted from a web 
page</del> and yet remain to show the <ins>history of changes made to the document</ins>.
</body>  
</html>

OUTPUT :


Details

The HTML <details> tag is used to specify the additional details on the web page that the user can show or hide on demand.


Note: The details tag is currently only supported in Firefox, Chrome, Opera, and in Safari 6.