HTMLTemplateElement 인터페이스는 HTML <template> 엘리먼트의 컨텐츠에 접근할 수 있게 해줍니다.

프로퍼티

이 인터페이스는 HTMLElement 의 프로퍼티를 상속받습니다.

HTMLTemplateElement.contentRead only
DocumentFragment: <template> 엘리먼트의 템플릿 컨텐츠를 반환합니다.

메소드

이 인터페이스는 HTMLElement 의 메소드를 상속받습니다.

명세

명세 상태 코멘트
HTML Living Standard
The definition of 'HTMLTemplateElement interface' in that specification.
Living Standard  
HTML5
The definition of 'HTMLTemplateElement interface' in that specification.
Recommendation 초기 정의

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 26Edge Full support 13Firefox Full support 22IE No support NoOpera Full support 15Safari Full support 8WebView Android Full support YesChrome Android Full support 26Edge Mobile Full support YesFirefox Android Full support 22Opera Android ? Safari iOS Full support 8Samsung Internet Android Full support Yes
contentChrome Full support 26Edge Full support 13Firefox Full support 22IE No support NoOpera Full support 15Safari Full support 8WebView Android Full support YesChrome Android Full support 26Edge Mobile Full support YesFirefox Android Full support 22Opera Android ? Safari iOS Full support 8Samsung Internet Android Full support Yes

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

문서 태그 및 공헌자

이 페이지의 공헌자: cs09g
최종 변경자: cs09g,