0

Is DOCTYPE lowcase or uppercase

<!DOCTYPE html>, <!DOCTYPE HTML>, <!Doctype Html>, <!doctype HTML> or <!doctype html>

5th Jan 2021, 11:36 PM
GeoneveStudios
GeoneveStudios - avatar
3 Answers
+ 1
Thank you
25th Jan 2021, 1:25 AM
GeoneveStudios
GeoneveStudios - avatar
+ 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>
6th Jan 2021, 12:47 AM
Chris Coder
Chris Coder - avatar
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.
6th Jan 2021, 12:02 AM
MikulĂĄĆĄ Dovhun
MikulĂĄĆĄ Dovhun - avatar