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

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -