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因此不應標明了此元素,使用在元素代替
此元素是一個塊級元素
?
?
?
?
?
?