Skip to content
HTML.ONE
Home HTML Elements

HTML <template> Element

Holds markup that is not rendered immediately; scripts can clone its content.

Example

<template id="card"><div class="card">Card</div></template>

Further reference

HTML Living Standard