<template for>
Limited availability
The <template for="…"> HTML element replaces the content at a named range or insertion point, marked by the processing instructions <?start name="…"> and <?end> or <?marker name="…">. You can use this to stream or "patch" partial updates into the document out of order.
Browser support
- Chrome 150 Released on 2026-06-30
- Chrome Android 150 Released on 2026-06-30
- Edge 150 Released on 2026-07-02
- Firefox Not supported Bugs: 2053472
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
- HTML (#attr-template-for), from HTML Workstream (WHATWG).
Usage (according to Chrome Platform Status)
~0.058% of page loads. More data at chromestatus.com.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