个人经常使用结构如下:
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <!--[if lt IE 9]> <script src="js/html5shiv.js"></script> <![endif]--> <title>Title</title> </head> <body> </body> </html>
附注:HTML5 Shiv(https://github.com/aFarkas/html5shiv)
Modernizr(http://modernizr.com/)