HTMLTemplateElement
The HTMLTemplateElement interface enables access to the contents of an HTML <template> element.
Instance properties
This interface inherits the properties of HTMLElement.
contentRead only-
A read-only
DocumentFragmentwhich contains the DOM subtree representing the<template>element's template contents.
Instance methods
This interface inherits the methods of HTMLElement.
Specifications
| Specification |
|---|
| HTML Standard # htmltemplateelement |
Browser compatibility
BCD tables only load in the browser