what it specifying by giving <!DOCTYPE html> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what it specifying by giving <!DOCTYPE html>

what it mean by !doctype

19th Jun 2016, 7:14 PM
Nishit Zinzuvadiya
Nishit Zinzuvadiya - avatar
5 Answers
+ 4
<!DOCTYPE html> tells the browser this is an HTML5 document and is required if you're going to use any HTML5 tags.
20th Jun 2016, 11:06 AM
ZinC
ZinC - avatar
+ 3
The DOCTYPE isnt a html element ! it just tells the browser what version of html is used in the document!
20th Jun 2016, 2:49 AM
Priyadarshika Saha
Priyadarshika Saha - avatar
+ 2
it tells the browser which version of the html language we will use and html is for html5
22nd Jun 2016, 3:42 PM
gandhiyash
+ 1
doctype isnt a type html
20th Jun 2016, 6:02 AM
SrojidinErgashev
SrojidinErgashev - avatar
- 3
doctype specifies the browser that it is not a document it is a html file
19th Jun 2016, 7:30 PM
Nishit Zinzuvadiya
Nishit Zinzuvadiya - avatar