gptkbp:instanceOf
|
gptkb:waterfall
|
gptkbp:attribute
|
gptkb:class
style
id
data-*
|
gptkbp:browser_support
|
gptkb:opera
gptkb:Edge
gptkb:Safari
gptkb:Firefox
gptkb:Chrome
|
gptkbp:can_be_cloned
|
yes
|
gptkbp:can_be_nested
|
yes
|
gptkbp:can_be_referenced_by
|
gptkb:JavaScript
|
gptkbp:can_be_reused
|
yes
|
gptkbp:category
|
flow content
metadata content
phrasing content
script-supporting element
|
gptkbp:content_accessible_via
|
gptkb:JavaScript
|
gptkbp:content_property
|
content
|
gptkbp:content_stored_in
|
DocumentFragment
|
gptkbp:DOM_interface
|
gptkb:HTMLTemplateElement
|
gptkbp:example_usage
|
<template id="my-template"><div>Hello</div></template>
|
https://www.w3.org/2000/01/rdf-schema#label
|
HTML Template Element
|
gptkbp:introduced
|
gptkb:HTML5
|
gptkbp:mayInclude
|
any valid HTML
|
gptkbp:MDN_documentation
|
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
|
gptkbp:name
|
template
|
gptkbp:not_rendered
|
yes
|
gptkbp:not_supported_in
|
gptkb:Internet_Explorer_10_and_below
|
gptkbp:part_of
|
gptkb:HTML5_specification
|
gptkbp:purpose
|
to hold client-side content that is not rendered when the page loads
|
gptkbp:rendered_by_default
|
no
|
gptkbp:usedFor
|
client-side templating
storing fragments for later use
|
gptkbp:W3C_specification
|
https://html.spec.whatwg.org/multipage/scripting.html#the-template-element
|
gptkbp:bfsParent
|
gptkb:Web_Platform_Working_Group
|
gptkbp:bfsLayer
|
4
|