fixup! Uppercase element.tagName for HTML elements only

Eliminate unnecessary string copying in `TagName`.