I have searched and have read about this question. Some questions here:
Uppercase or lowercase doctype?
Should HTML meta charset be lowercase or uppercase?
and elsewhere have discussed it partially (as you can see in these 2 questions).
But what about tag names, and attributes?
I know both uppercase and lowercase are valid, but I want to know if there is benefits using each one?
update: the only benefit I have seen is compatibility with xhtml in lowercase way.