Why do browsers parse custom tags when it's not standardized and not valid?
Make it compatible with the transition. Imagine if it wasn’t possible for you to style the <article> elements in old browsers, because the <article> didn’t exist when these old browsers were written. That would be awful, right? glare in IE
And why shouldn't I use custom tags for semantic code?
Because no one else (program) recognizes those tags, so they are not semantic. The reason that elements such as <article> are considered semantic is because they have an established use. When you use a user element that does not have an established use, it can be interpreted in several ways, which leads to inconsistency between programs. glare in <b> and <i>
source share