Home > Web Front-end > HTML Tutorial > Questions about DOCTYPE in html web pages_html/css_WEB-ITnose

Questions about DOCTYPE in html web pages_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:12:59
Original
885 people have browsed it











I saw that some HTML pages are written like this at the beginning. What is the specific function of writing like this? Please tell me


Reply to the discussion (solution)

Is this the first doctype you asked? ? This HTML5 standard has simplified the previous transitional type and so on. It is estimated that even a 20-year-old programmer will not be able to memorize this writing method and memorize it after reading it once. Note that it is an HTML5 standard, so IE8 did not support it before. Haha. The next few are hecks, writing different styles for different browser versions. Do you understand? ? Don’t understand the content of the site

Determine Ie version

doctype
Please refer to
http://www.w3school.com.cn/tags/tag_doctype.asp
http ://www.w3school.com.cn/html5/tag_doctype.asp