+ 3
why we use DOCTYPE ,what is a meaning SGML
what is meaning of <!DOCTYPE HTML>
4 odpowiedzi
+ 2
to say that you are using html5
+ 2
!DOCTYPE html5 is to tell the browser the document is a html5 page
+ 2
we use the <!DOCTYPE html> to specify the version of html that we are using for to specify transition between html4 and xhtml or html 5 we use <!DOCTYPE html PUBLIC "-W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns="http:w3.org/1999/xhtml">
this is just a way to tell the browser that the code I'm using is between html4 and xhtml
and its important to put it so the browser easily understands your language
+ 1
SGML (Standard Generalized Markup Language) is a standard for how to specify a document markup language or tag set. Such a specification is itself a document type definition (DTD). SGML is not in itself a document language, but a description of how to specify one.