QP School
HTML5 Doctype declaration - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: HTML5 Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=4)
+--- Thread: HTML5 Doctype declaration (/showthread.php?tid=2490)



HTML5 Doctype declaration - Qomplainerz - 02-21-2021

The doctype declaration itself is not a HTML tag.
It's information for the browser on what kind of document to expect.
We can tell the browser to expect HTML5 like this:

   

Since the doctype declaration is not case sensitive other declarations are possible, too.
For example: