+ 1

doctype html means

11th Jul 2017, 8:15 AM
vyshnav
4 Réponses
+ 5
it is gives representation to the browser that it is a html 5 document.
11th Jul 2017, 9:09 AM
Vansh
Vansh - avatar
+ 4
@Maxel Varley wrote: << doctype means you are using html 5, if you dont add doctype mean you are using html 4.01. >> Wrong... If no use of <!doctype>, browsers can not guess wich version is used, and would turn into a 'quircks mode' with older standard basics than Html4 (when there was mostly Netscape and IE as browser choice and they don't provide much compatibility between them ^^ Html4 have specific uggly <!doctype>s dedicated to each of its different flavours, and has been simplified for Html5, but not providing a <!doctype> declaration, will absolutly not turn implicitly your document to be parsed as Html4 specifications :P https://developer.mozilla.org/en-US/docs/Quirks_Mode_and_Standards_Mode https://hsivonen.fi/doctype/
11th Jul 2017, 8:19 AM
visph
visph - avatar
+ 3
DOCTYPE basically tells you what type of document are you about write.. like for XML DTD file we write <!DOCTYPE note >
11th Jul 2017, 8:21 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
HTML Version
11th Jul 2017, 8:34 AM
Bravo Jaka Buana
Bravo Jaka Buana - avatar