Fail fast when tag is not a HTML or SVG tag and at the same time is not defined in customTags
.