HTML5 valid custom tag/element -
how create valid custom tag/element in html5?
example 1:
<customtag attr1="val" attr2="val"> </customtag>
example 2:
<my:customtag attr1="val" attr2="val"> </my:customtag> <!-- attention colon separator -->
thanks.
using own made elements not valid html.
from w3c spec:
authors must not use elements, attributes, or attribute values not permitted specification or other applicable specifications, doing makes harder language extended in future.
Comments
Post a Comment