文本格式化标签:
<b>("bold") 粗体
<i>("italic") 斜体
<strong>粗 / <em>斜
<big> / <small>
<sub>下标 / <sup>上标
<del>删除线 / <ins>下划线
计算机方面:
<code> 定义计算机代码
<kbd> 定义键盘码
<samp> 定义计算机代码样本
<var> 定义变量
<pre> 定义预格式文本
引用标签:
定义地址:<address>
定义项目: <dfn>
字母缩写:<abbr title="etcetera">etc.</abbr>
<acronym title="World Wide Web">WWW</acronym>
定义文字方向:<bdo>
<p>该段落文字从左到右显示 skrtttt</p> <!-- 输出效果: 该段落文字从左到右显示 skrtttt -->
<p><bdo dir="rtl">该段落文字从右到左显示 skrtttt</bdo></p> <!-- 输出效果: ttttrks 示显左到右从字文落段该 -->
<cite> 标签表示它所包含的文本对某个参考文献的引用,比如书籍或者杂志的标题。
<cite> 标签中的文本将会以斜体显示。
<q>短 / <blockquote>长 引用
对于引用:在<p>段落里直接写双引号不是更方便?
1.标签语义化,便于浏览器解析.
2.对搜索引擎友好,便于搜索.