Why should web pages declare <!DOCTYPE html>
**推广网
**推广网 2018-08-09 10:26:03
0
1
1334

Why should the web page declare <!DOCTYPE html> Isn’t .html just an html document? Could it be that .html can also be other types of documents

**推广网
**推广网

中国推广网:http://bbs.iaozi.com

reply all(1)
ringa_lee

<!DOCTYPE html> is the standard mode of w3c. If it is not marked, the browser will parse and render the page in its own way, so different styles will be displayed in different browsers. Once you mark it, the browser will have to parse and render the page in accordance with W3C standards. In this way, your page will appear the same in all browsers

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template