html - Alternative to <content> tag in HTML5? -
i reading today shadow dom, author used <content>
tag pull in textcontent
host.
tutorial: http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/
when looked up, found <content>
tag has been deprecated , should avoided. should now? should learn use <content>
tag or not? source: mozilla documentation
the same documentation (mozilla firefox) states:
it has been replaced
<slot>
element.
use <slot>
element. when deprecated, should no longer use it. (mozilla states this.) deprecated means no longer approved of/disapproved.
Comments
Post a Comment