+ 3

why we use DOCTYPE ,what is a meaning SGML

what is meaning of <!DOCTYPE HTML>

16th Jan 2017, 7:34 AM
ankit goyal
ankit goyal - avatar
4 ответов
+ 2
to say that you are using html5
16th Jan 2017, 7:54 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 2
!DOCTYPE html5 is to tell the browser the document is a html5 page
16th Jan 2017, 9:03 AM
Sandeep Chatterjee
+ 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
16th Jan 2017, 9:19 AM
Tuchy
Tuchy - avatar
+ 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.
16th Jan 2017, 9:08 AM
Tenny Brown
Tenny Brown - avatar