0

Why we use <!DOCTYPE html> ?

Why we use <!DOCTYPE html> ?

13th Jan 2017, 5:49 AM
Soumyadeep Malakar
Soumyadeep Malakar - avatar
6 Respuestas
+ 7
<!DOCTYPE html> tells the web browser that you are going to use HTML5 and it's features. There are other DOCTYPEs like: HTML 4.01 Strict <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> HTML 4.01 Transitional <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> HTML 4.01 Frameset <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> XHTML 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ...and many others! Hope I helped! :)
13th Jan 2017, 5:56 AM
Йордан Петров
Йордан Петров - avatar
+ 1
instruction to the web browser about what version
13th Jan 2017, 5:53 AM
Vinod Verma
Vinod Verma - avatar
+ 1
thanks
13th Jan 2017, 5:54 AM
Soumyadeep Malakar
Soumyadeep Malakar - avatar
+ 1
how many versions are there?
13th Jan 2017, 5:54 AM
Soumyadeep Malakar
Soumyadeep Malakar - avatar
+ 1
It means that you specify the document as an html document. Simpliest thing to say.
13th Jan 2017, 12:03 PM
Brilliant Reyes
Brilliant Reyes - avatar
0
hey, is bad, you use <!doctype html> when you want to use html5
25th Jan 2017, 2:05 PM
Alejandro