每一個公司的開發團隊都必需要有一個統一的編碼規範 ,對於我來講如今才知道真的是一份很痛的禮物了。以前因爲本身帶領的團隊都是小白, 本身也不怎麼樣, 因此開發徹底自由, 致使後邊一個簡單的項目重作了4遍。 在這裏提醒本身,也提醒你們————代碼前必定要先定義好代碼規範,避免咱們可愛的程序猿掛掉。
css
在bootstrap 開端有一個編碼規範篇(鏈接地址: http://codeguide.bootcss.com/) ,我認爲你仍是很好的,並將其應用到公司的開發團隊中,效果不錯。若是你是項目責任人又還木有具體的規範,那快去參考吧,一塊兒進步!!!!
html
bootstrap 模版jquery
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3個meta標籤*必須*放在最前面,任何其餘內容都*必須*跟隨其後! --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> <title>Bootstrap 模板</title> </head> <body> <h1>Hello, World</h1> </body> </html>