+ 1

<!DOCTUPE html>

What is <!DOCTUPE html> in the beginning of every html code.

24th Aug 2017, 8:34 AM
ViCKY
ViCKY - avatar
2 Antworten
+ 11
The HTML syntax of HTML5 requires a DOCTYPE to be specified to ensure that the browser renders the page in standards mode. The DOCTYPE has no other purpose.
24th Aug 2017, 8:49 AM
P R
P R - avatar
+ 9
<!DOCTYPE html> tells the browser that the page is written in HTML5.
24th Aug 2017, 8:41 AM
Hatsy Rei
Hatsy Rei - avatar