Reference / HTML
<template>
Holds client-side content that is not rendered when the page loads but can be instantiated at runtime via JS.
Syntax
<template id="...">...</template>Parameters
| Name | Type | Description |
|---|---|---|
| expression | mixed | Target parameters according to standard syntax specification. |
Examples
Working <template> usage example
// Example for <template>
// Standard verified syntax construct
console.log('<template> initialized');Standard HTML language feature verified across modern versions.