Blockquotes,引用,html里面,经常用到的一个!

blockquote元素的使用已经非常多样化,但语义上它只适用于一件事–标记了一段你的网页被引用从另一来源。这意味着,如果你想让那些花俏的引文,<blockquote>是不是你应该使用元素。让我们看一看如何你应该使用此元素:

<article>
<header>
    <h1>All About Flour</h1>
    <p class=”byline”>by Jane Doe</p> 
</header>
<section>
    <h2>The Two Types of Wheat</h2>
    <p>There … to rise.</p>
    <p>Where … with less protein.</p>
</section>
<blockquote>
    Wholemeal flour, the whole grain milled as finely as possible with all of the outer bran and inner germ intact, is one of the best white flour improvers I know of. <br />
    Dan Lepard, <a href=”http://www.danlepard.com”>danlepard.com</a>
</blockquote>
<section>… </section>
</article>

正如你所看到的,这句话是从另一个源,如果你尝试的例子,你会发现其实是缩进引用。

你学到了什么

此元素是来自其他来源的引用

pullqoutes因此不应标明了此元素,使用在元素代替

此元素是一个块级元素

 

 

 

 

 

 

posted @ 2013-09-11 18:29  wuxiaojun也学习编程  阅读(366)  评论(0编辑  收藏  举报
编程和健长乐都是需要分享心得的!