+ 1

The <!doctype> declaration is not and html tag, why?

9th Feb 2019, 2:51 AM
Siboniso Liberty Majola
Siboniso Liberty Majola - avatar
2 Answers
+ 5
//The <!DOCTYPE> declaration is not an HTML tag because it is an instruction to the web browser about what version of HTML the page is written in.
9th Feb 2019, 3:01 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
So what is html based on then if nit DTD nor SGML
9th Feb 2019, 3:06 AM
Siboniso Liberty Majola
Siboniso Liberty Majola - avatar