HTML templates

- LS

Method of declaring a portion of reusable markup that is parsed but not rendered until cloned.

Chrome

  1. ❌ 4 - 25: Not supported
  2. ◐ 26 - 34: Partial support
  3. ✅ 35 - 155: Supported
  4. ✅ 156: Supported
  5. ✅ 157 - 159: Supported

Edge

  1. ❌ 12: Not supported
  2. ◐ 13 - 14: Partial support
  3. ✅ 15 - 154: Supported
  4. ✅ 155: Supported

Safari

  1. ❌ 3.1 - 6: Not supported
  2. ❌ 6.1: Not supported
  3. ❌ 7: Not supported
  4. ◐ 7.1 - 8: Partial support
  5. ✅ 9 - 26.6: Supported
  6. ✅ 27: Supported
  7. ✅ 27.1 - TP: Supported

Firefox

  1. ❌ 2 - 21: Not supported
  2. ✅ 22 - 158: Supported
  3. ✅ 159: Supported
  4. ✅ 160 - 162: Supported

Opera

  1. ❌ 9 - 12.1: Not supported
  2. ◐ 15 - 21: Partial support
  3. ✅ 22 - 134: Supported
  4. ✅ 135: Supported

IE

  1. ❌ 5.5 - 10: Not supported
  2. ❌ 11: Not supported

Chrome for Android

  1. ✅ 156: Supported

Safari on iOS

  1. ❌ 3.2 - 7.1: Not supported
  2. ◐ 8 - 8.4: Partial support
  3. ✅ 9 - 26.6: Supported
  4. ✅ 27.0: Supported
  5. ✅ 27.1 - 27.2: Supported

Samsung Internet

  1. ✅ 4 - 29: Supported
  2. ✅ 30: Supported

Opera Mini

  1. ❌ all: Not supported

Opera Mobile

  1. ❌ 10 - 12.1: Not supported
  2. ✅ 80: Supported

UC Browser for Android

  1. ✅ 15.5: Supported

Android Browser

  1. ❌ 2.1 - 4.3: Not supported
  2. ✅ 4.4 - 4.4.4: Supported
  3. ✅ 156: Supported

Firefox for Android

  1. ✅ 159: Supported

QQ Browser

  1. ✅ 14.9: Supported

Baidu Browser

  1. ✅ 13.52: Supported

KaiOS Browser

  1. ✅ 2.5: Supported
  2. ✅ 3: Supported
Resources:
Template element on MDN
Polyfill script
web.dev - HTML's New template Tag