Web features explorer

<template>

Widely available since 2018-05-12
Tags: api html Groups: HTML > HTML elements Web Components

The <template> HTML element holds HTML fragments which you can clone and insert into the document using JavaScript.

Learning resources on MDN

Browser support (view on caniuse.com)