Does capitalization matter for html tags?


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!


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


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