<template>
Widely available since 2018-05-12
The <template>
HTML element holds HTML fragments which you can clone and insert into the document using JavaScript.
Learn more
Specifications
- HTML (#the-template-element), from HTML Workstream (WHATWG).
Browser support (view on caniuse.com)
- Chrome 26 Released on 2013-03-26
- Chrome Android 26 Released on 2013-04-03
- Edge 13 Released on 2015-11-12
- Firefox 22 Released on 2013-06-25
- Firefox for Android 22 Released on 2013-06-25
- Safari 8 Released on 2014-10-16
- Safari on iOS 8 Released on 2014-09-17
Developer signals
- State of HTML 2024: web_components/web_components_features question
- State of HTML 2024: web_components/web_component_features question
- State of HTML 2024: features/all_features question
- State of HTML 2023: web_components/web_components_main_features question
- State of HTML 2023: features/all_features question
Usage (according to Chrome Platform Status)
~26.934% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist