<em>和<strong>
em标签用于表示一段内容中的着重点。strong标签用于表示一个内容的重要性。这两个标签可以单独使用,也可以一起使用。
<i>和<b>
i标签会使文字变成斜体。b标签会使文字变成粗体。两个标签没有语义。
<small>
small标签表示细则一类的旁注,通常包括 免责声明、注意事项、法律限制、版权信 息等。
<cite>
可以指明对某内容的引用或参 考。
<blockquote>和<q>
blockquote和q表示标记引用的文本。blockquote用于长引用,q用于短引用。在两个标签中还可以使用cite属性来表示引 用的地址。
<sup>和<sub>
sup和sub用于定义上标和下标。
<ins>和<des>
ins表示插入的内容,显示时通常会加上下划线。del表示删除的内容,显示时通常会加上删除线。
盒子模型
内容区(content)、内边距(padding)、边框(border)、外边距(margin)。
练习:











网友评论