---
id: "api.HTMLTemplateElement.htmlFor"
kind: "bcd"
category: "api"
canonical: "https://timetostable.com/feature/api.HTMLTemplateElement.htmlFor"
bcd_version: "8.1.11"
---

# `api.HTMLTemplateElement.htmlFor`

- **Category**: DOM API
- **Web Feature**: [template-for](/feature/template-for)
- **MDN**: https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/htmlFor
- **Specification**: https://html.spec.whatwg.org/multipage/scripting.html#dom-template-htmlfor

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 150 | 2026-06-30 |
| Chrome Android | 150 | 2026-06-30 |
| WebView Android | 150 | 2026-06-30 |
| Edge | 150 | 2026-07-02 |
| Opera | 134 | 2026-08-06 |
| Opera Android | 101 | 2026-08-26 |

