HTMLHTML Template Tag

The <template> tag holds HTML that is not rendered on load but can be used later by JavaScript. It’s useful for dynamic content.

<template id=\"card-template\">
  <div class=\"card\">
    <h3>Title</h3>
    <p>Description here</p>
  </div>
</template>