Good question. Perhaps I was confused about DOM API spelling in the past, rather than the attribute. That said, I think it looks better to keep attribute names all lower case, but that's purely a style issue.