HTML5 初始文档声明

 1 <!DOCTYPE html>
 2 <html>
 3 <head>
 4 <meta charset="utf-8" />
 5 <title>Title of the document</title>
 6 <link rel="stylesheet" href="style.css" />
 7 </head>
 8 <body>
 9 The content of the document......
10 </body>
11 </html>
  1. <!DOCTYPE> 标签没有结束标签。
  2. <!DOCTYPE> 对大小写不敏感。
  3. <link rel="stylesheet" href="style.css" /> 无需type="text/css"
原文地址:https://www.cnblogs.com/tealane/p/HTML5.html