编写灵活、稳定、高质量的 HTML 和 CSS 代码的规范。

 
引用地址
http://codeguide.bootcss.com/#html-ie-compatibility-mode

<!DOCTYPE html>
<html lang="zh-CN">
  <head>
  	<meta charset="UTF-8">
  	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <link href="public/ico/favicon.ico" rel="shortcut icon" type="image/x-icon">

    <title>Page title</title>

    <link rel="stylesheet" href="code-guide.css">
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="fix6_7.css">
	<![endif]-->
    
  </head>
  <body>
    <a class="..." id="..." data-modal="toggle" href="#">
	  Example link
	</a>

	<input class="form-control" type="text">

	<img src="..." alt="...">

	<input type="text" disabled>

	<input type="checkbox" value="1" checked>

	<select>
	  <option value="1" selected>1</option>
	</select>


	<script src="code-guide.js"></script>
  </body>
</html>

  

原文地址:https://www.cnblogs.com/shenggen/p/4769923.html