As far as comptability goes the HTML spec defines case-insensitivity: http://w3c.github.io/html-reference/syntax.html . In case anyone was depending on the ALL CAPS output for some odd reason I think either of your suggestions makes sense, but I prefer the HTML for majuscule and html for miniscule approach.