<blockquote>引用文本</blockquote>:长文本引用,引用一些名人名言等
不同点:
- q标签是行内元素,在内容的开始和结尾处会包有“”
- blockquote是块级元素,默认带有左右40px的外间距,不带“”。
例子:
<blockquote>
<p>"Borlaug's life and achievement are testimony to the far-reaching
contribution that one man's towering intellect, persistence and scientific
vision can make to human peace and progress."</p>
<footer><cite>Indian Prime Minister Manmohan Singh</cite></footer>
</blockquote>
<q>"Borlaug's life and achievement are testimony to the far-reaching
contribution that one man's towering intellect, persistence and scientific
vision can make to human peace and progress."</q>