Which one of them is correct? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which one of them is correct?

<!doctype html> <!doctype.html> <!DOCTYPE html> <!DOCTYPE.html>

15th May 2021, 8:33 AM
Dipro Biswas
4 Answers
+ 5
Both first and third one are correct
15th May 2021, 8:38 AM
Aysha
Aysha - avatar
+ 4
Dipro Biswas HTML is case insensitive language so you can easily get answer.
15th May 2021, 8:48 AM
Sâñtôsh
Sâñtôsh - avatar
+ 3
'DOCTYPE' keyword is not case sensitive. So, <!doctype html> or <!DOCTYPE html> !😀😀😀
15th May 2021, 8:43 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
+ 1
<doctype html> <DOCTYPE html> both are correct because html in not a case sensitive language
17th May 2021, 7:14 AM
Mayank Dhull
Mayank Dhull - avatar