The HTML details tag i.e (<details>
) element is used to show the detail of information on demand. By default, that detail is hidden. It is used with summary tags, which contains the detail.
Source Code
<details>
<summary>sudhakarinfotech</summary>
<p>It is one of the world most popular learning platform.</p>
</details>
Source Code : Output
It is one of the world most popular learning platform.