HTML页面规范
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>页面名称</title> <meta name="keywords" content=""/> <meta name="description" content=""/> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <!-- Mobile Specific Metas ================================================== --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- CSS ================================================== --> <link rel="shortcut icon" href="http://www.yunos.com/favicon.ico"> <link rel="stylesheet" href="http://m.alicdn.com/css/index.css"/> <style>/* css */</style> </head> <body> <!--[if lt IE 8]> <div class="g_tips"> <p> 已经有超过90%的用户使用更高版本 <a target="_blank" title="下载Chrome" href="http://www.google.com/chrome/">Google Chrome</a> 或 <a target="_blank" href="http://www.microsoft.com/zh-cn/download/ie.aspx?q=internet+explorer">Internet Explorer</a> 体验到了更流畅更精彩的页面,你还不试试? </p> </div> <![endif]--> <h1>300,000,00</h1> <script src="js/index.js"></script> <script>// js </script> </body> </html>
- 通常情况下CSS放文档开始,脚本放在文档末尾我想不用解释太多
- 如果一个页面足够简单,写在页面上是完全 OK 的,特别是一些简单的专题,但是项目上需谨慎使用
1.职业成功的85%取决于职业心态,15%取决于职业技能
2.不只是上级要你去做或等待别人要你去做
3.营造积极友善的工作氛围,哪怕吹点善意的牛