+ 1

Start

Why do you need this tag?

1st Aug 2020, 12:33 AM
Ephrata Belachew
Ephrata Belachew - avatar
3 ответов
+ 3
It defines the document type for the respective client. Popular cases are HTML vs. XML in browser view. Therefore the browser needs the information, which type is contained in the file (HTML, XML, other).
1st Aug 2020, 12:49 AM
Sandra Meyer
Sandra Meyer - avatar
+ 3
It tells browser that we are writing HTML5!
1st Aug 2020, 1:35 AM
Lakshay Mittal
Lakshay Mittal - avatar