---
title: "Comment by Joseph Tsegen on \"7 Rare  😱 HTML Tags You Really Should Know.\" | Hashnode"
description: "great article 👍. I would like to add to this with the template tag. This is used to hold content that would not be rendered immediately when the webpage is loa"
url: "https://hashnode.com/posts/7-rare-html-tags-you-really-should-know/609f730a47373d4cb0564de7/comment/6128b32622e1ba252a8810bf"
---

[Discussion](https://hashnode.com/posts/7-rare-html-tags-you-really-should-know/609f730a47373d4cb0564de7)

Comment [7 Rare 😱 HTML Tags You Really Should Know.](https://hashnode.com/posts/7-rare-html-tags-you-really-should-know/609f730a47373d4cb0564de7)

[Joseph Tsegen](https://hashnode.com/@xavier577)

[Aug 27, 2021](https://hashnode.com/posts/7-rare-html-tags-you-really-should-know/609f730a47373d4cb0564de7/comment/6128b32622e1ba252a8810bf)

great article 👍. I would like to add to this with the template tag. This is used to hold content that would not be rendered immediately when the webpage is loaded but is displayed with the use of javascript.

For Example:

```
<!-- code above -->
<div>
  <button id="show-btn">Show hidden </button>    
  <template>
     <h1> Here there i am a template </h1>
     <p> You can only display me with javascript </p>
  </template>
</div>
<script>
const showBtn = document.querySelector("#show-btn")

const showHiddenContent = (event) => {
     const template = document.querySelector("template")
     const templateClone = template.content.cloneNode(true)
     event.currentTarget.parentNode.append(templateClone)
}

showBtn.addEventListener("click", showHiddenContent)
</script>
```

You can test this out and see what happens .I recently discovered this one from this video by [web dev simplified](https://youtu.be/ZVug65gW-fc) you can check out his youtube channel he makes great content like this and subcribe to his channel if you found the video helpful (I watch youtube a lot 😅). There is also documentation on this on [MDN web docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template).

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Aug 27, 2021](https://hashnode.com/posts/7-rare-html-tags-you-really-should-know/609f730a47373d4cb0564de7/comment/6128b32622e1ba252a8810bf#reply-6128b43f22e1ba252a88110f)

Wow, this is really nice and useful, I think I have seen it somewhere before but not as well detailed as you just did.

Thanks a lot for sharing this, really useful 🤗🤗🤗

Kudos [Joseph Tsegen](https://hashnode.com/@xavier577)

[Joseph Tsegen](https://hashnode.com/@xavier577)

[Aug 27, 2021](https://hashnode.com/posts/7-rare-html-tags-you-really-should-know/609f730a47373d4cb0564de7/comment/6128b32622e1ba252a8810bf#reply-6128b64622e1ba252a88115d)

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay) I am glad I could help out 😁.
