Details and summary tag
<details> this tag is used for writing the information
by using this we can hide the content from the user also.
<summary> tag is used to add title to the details.
This effect will excit you, if you are beginner.
<!DOCTYPE html>
<html>
<body>
<details>
<summary>Technisia</summary>
<p> - html.</p>
<p>css</p>
</details>
</body>
</html>
Technisia
- html.
css
by using this we can hide the content from the user also.
<summary> tag is used to add title to the details.
This effect will excit you, if you are beginner.
<!DOCTYPE html>
<html>
<body>
<details>
<summary>Technisia</summary>
<p> - html.</p>
<p>css</p>
</details>
</body>
</html>
Output:
css
Comments
Post a Comment