+ 1
DOCTYPE
Why exactly do we use DOCTYPE HTML ?? And which are the other attributes values of it???
1 Resposta
+ 4
We use this to tell browser what version of html we will be using.
For html5 we only type <!DOCTYPE html> but for html4 we was using some long attribute
https://www.w3schools.com/tags/tag_doctype.asp
List of all valid doctypes https://www.w3.org/QA/2002/04/valid-dtd-list.html