一、标题
标题有六种。为h1、h2、h3、h4、h5、h6,分别对应着
<h1>一级标题</h1>
<h2>二级标题</h2>
<h3>三级标题</h3>
<h4>四级标题</h4>
<h5>五级标题</h5>
<h6>六级标题</h6>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>一级标题</h1>
<h2>二级标题</h2>
<h3>三级标题</h3>
<h4>四级标题</h4>
<h5>五级标题</h5>
<h6>六级标题</h6>
</body>
</html>
上方代码显示结果为
<h1>....</h1> 其中...就是标题的内容。
标题中文字的大小随标题等级从一到六,逐级变小。并且每个标题会自动换行。
小技巧:ctrl + c然后ctrl + v 复制一整行。ctrl + d 选中多个相同字符。