HTML <template> tag is used to define a block of HTML that you don't want to render immediately when the web page loads. The content inside the <template> tag is inert, meaning it doesn't get rendered on the web page or affect the document until inserted into the DOM JavaScript.
HTML template tag with example
<template id="sakala-template"> <div> <h2>sakala Title</h2> <p>sample template.</p> </div> </template>