html规范整体结构

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8"/>
<title>HTML规范 整体结构</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="zh"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="zh"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="zh"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js" lang="zh"> <![endif]-->
</head>
<body>

</body>
</html>

  • 必须将css文件引入并置于head中
  • 必须将js文件引入并置于body底部
原文地址:https://www.cnblogs.com/Spring-Rain/p/5514440.html