Template Element
All HTML topics∙ Chapter 41
Template Element
The <template> tag stores HTML that is NOT shown until JavaScript clones it. This is useful for repeating UI like cards, rows, or list items.
📝 Edit Code
👁 Live Preview
💡
<template> content does not render until you use JavaScript.