<template>
#96
LeaVerou
started this conversation in
State of HTML Features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A mechanism for holding HTML that is not to be rendered immediately but may be utilized later via JS.
MDN URL:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
Specification URL:
https://html.spec.whatwg.org/multipage/scripting.html#the-template-element
Any other links?
No response
How stable is this feature?
Stable (Has been widely supported for several years)
Type of feature
HTML element
What focus area does this feature fall into?
Templating
Details
More specific use cases for
<template>
e.g. declarative shadow DOM would be asked about separately.Beta Was this translation helpful? Give feedback.
All reactions