Added support for generating html chars

Why not make the elements of HTML_TAGS lowercase in the first place?

Also, it's valid for HTML tags to be upper-case, lower-case or some mixture.