What is the correct way to declare an HTML5 Doctype.

前端 未结 10 1928
一整个雨季
一整个雨季 2020-12-30 18:48

What is the correct way to use start tag when creating with HTML5

IE: HTML 4 Strict is like this



        
10条回答
  •  执笔经年
    2020-12-30 18:59

    You only need this:

     
    
    ...
    

    There are several points here. This is supported by all browsers, even old ones like IE6/IE7. All browsers actually nee "html" part from doctype declaration to jump into standards mode.

提交回复
热议问题