当前位置 博文首页 > Champhoenix的博客:html文本常用标签
<p></p>
标签 | 说明 |
---|---|
h系列 | 标题标签 |
h1 | header缩写,最大,只有一个 |
h2 | 多个 |
h3 | 多个 |
h4 | 多个 |
h5 | 多个 |
h6 | 多个 |
段落标签 | 段落标签 |
p | 段落标签,分段 |
br/ | 换行标签 |
文本标签 | 文本标签 |
strong,b | 粗体标签 |
i,em,cite | 斜体标签 |
sup | 上标标签 |
sub | 下标标签 |
s | 中划线标签 |
u | 下划线标签 |
big | 大字号标签 |
small | 小字号标签 |
div | division,划分区域,对实际预览效果无影响 |
hr/ | 水平线标签,分割线 |
空格 | ? ;? |
网页中的特殊符号
例子:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>exercise</title>
</head>
<body>
<h1> 各科小常识 </h1>
<h3>语文</h3>
<p> 三国演义是中国四大古典名著之一,元末明初小说家罗贯中所著,是中国第一部章回体历史演义的小说,描写了从东汉末年到西晋初年近100年的历史风云。</p>
<hr/>
<h3>数学</h3>
<p> 勾股定理直角三角形:a<sup>2</sup>+b<sup>2</sup>=c<sup>2</sup></p>
<hr/>
<h3>英语</h3>
<p> No pain, No gain.</p><hr/>
<h3>化学</h3>
<p> H<sub>2</sub>SO<sub>4</sub>是一种重要的工业原料,可用于制作肥料、洗涤剂等。</p><hr/>
<h3>经济</h3>
<p> 版权符号:©<br/> 注册商标:®</p>
</body>
</html>
效果