I\'ve been unable to find a definitive answer to whether custom tags are valid in HTML5, like this:
Hello!
data-*
attributes are valid in HTML5 and even in HTML4 all web browsers used to respect them.
Adding new tags is technically okay, but is not recommended just because:
I use custom tags only in places that Google does not care, for ecample in a game engine iframe, i made a
tag that contained
,
and
- but through JavaScript only. And it was fully valid, according to the validator. It even works in Internet explorer with its styling! ;]