.
├── assets
│ ├── css
│ ├── fonts
│ ├── images
│ ├── js
│ └── pic
├── favicon.ico
├── index.html
<!DOCTYPE html>
<html>
<head>
</head>
</html>
<html lang="zh-cmn-Hans"><!-- 简体中文 -->
<html lang="zh-cmn-Hant"><!-- 繁体中文 -->
<html lang="en-us"><!-- 英文 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8"><!-- 字符编码 -->
<title>value</title>
<meta name="keywords" content="value" /><!-- 关键字 -->
<meta name="description" content="value"><!-- 描述 -->
<meta name="author" content="value"><!-- 作者 -->
<meta http-equiv="Cache-Control" content="no-siteapp" /><!-- 禁止百度转义 -->
<meta name="google" value="notranslate"><!-- 禁止google翻译 -->
<link rel="stylesheet" type="text/css" media="value" href="uri" /><!-- 外链css -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"><!-- 移动端屏幕设置 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><!-- 使用最新ie框架 -->
<meta name="renderer" content="webkit"><!-- 默认使用webkit渲染 -->
</head>
</html>
虽然使用p标签,也可以通过CSS去定义它的外观和标题相同,但p标签本身的并不是表示标题,而是表示文本段落
<section class="m-detail">
<header class="m-detail-hd">
<h1 class="title">模块标题</h1>
</header>
<div class="m-detail-bd">
<p class="info">一些实际内容</p>
</div>
<footer class="m-detail-ft">
<a href="#" class="more">更多</a>
</footer>
</section>
其中 .m-detail-hd
, .m-detail-bd
, .m-detail-ft
为可选,视具体模块情况决定是否需要抽象为这种 头,中,尾 的结构