HTML template Tag
HTML template Tag
The template tag is used as a container to hold HTML content that is hidden from the user by default. The content inside it can be rendered later with JavaScript. We can use it over and over again. Without it, we have to create HTML code with JavaScript to prevent the browser from rendering the code.
Syntax:-
Its syntax is:- < template >