
一個标準的html5頁面
<!-- lang: html -->
<!DOCTYPE html>
複制
<html> <head> <title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://meyerweb.com/eric/tools/css/reset" />
<!--[if lt IE9] >
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
複制
<![endif]-->
</head> <body> hmtl5 </body>
</html>
驗證w3c的網站 http://validator.w3.org