44. What is the template element?
<template> stores inert HTML that is not rendered immediately. Its contents can be cloned and inserted using JavaScript. It is useful for reusable DOM fragments and Web Components.
Key Takeaways
template content is initially inert.
Templates are useful for reusable client-side structures.
Knowledge Check
When is template content normally rendered?