Does capitalization matter for html tags?


#1

Hi! I'm new to all of this and am just curious if capitalization of tags makes a difference.

For example <!doctype html> or <!DOCTYPE html>

I'd really appreciate any feedback!


#2

Capitalization does not matter in the document type declaration. But It's good practice that you pick one or the other.


#3

No, capitalization does not matter for HTML code, but if you start using JavaScript or any other programming language it will.