0
Is DOCTYPE lowcase or uppercase
<!DOCTYPE html>, <!DOCTYPE HTML>, <!Doctype Html>, <!doctype HTML> or <!doctype html>
3 Answers
+ 1
Thank you
+ 1
The <!DOCTYPE> declaration is NOT case sensitive.
However, the simplest and most reliable doctype declaration to use is the one defined in HTML5:
<!DOCTYPE html>
0
HTML is case insensitive. It means that you can use each of them. However I recommend you to use <!DOCTYPE html> and to type tags like <p></p> lowercase for a good practice.