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>

Output:


Technisia

- html.
css

Comments

Popular posts from this blog

Headings In HTML

Introduction and Format of HTML

Font Tag