<h1>Bấm vào nút để hiển thị nội dung bị ẩn</h1>
<button onclick="showContent()">Hiển Thị nội dung bị ẩn</button>

<template>
  <h2>Hoa Sen</h2>
  <img src="https://laptrinhtudau.com/wp-content/uploads/2022/01/280px-Sacred_lotus_Nelumbo_nucifera.jpg" width="214" height="204">
</template>

<script>
function showContent() {
  var temp = document.getElementsByTagName("template")[0];
  var clon = temp.content.cloneNode(true);
  document.body.appendChild(clon);
}
</script>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.