The <details> tag specifies additional details that the user can open and close.
Note:-The <summary> tag is used to specify a visible heading for the details.
For example:-
<!DOCTYPE html>
<html>
<head>
<title>Details Tag</title>
</head>
<body>
<details>
<summary>India</summary>
<p>India is a good country.</p>
</details>
</body>
</html>
Copyright ©2022 coderraj.com. All Rights Reserved.