1
HTML/CSSAdvanced#html#security
<template> holds inert HTML markup that isn't rendered or executed until explicitly cloned and inserted into the DOM via JavaScript, useful for reusable chunks like list item templates in dynamic UIs.
<template id="row"><tr><td class="name"></td></tr></template>
<script>
const clone = document.getElementById('row').content.cloneNode(true);
document.querySelector('tbody').appendChild(clone);
</script>