顯示HTML5 blockquote的正確方法是什麼?正確的HTML Blockquote
我有以下幾點:
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<cite>John Doe<br/>ACME Industries</cite>
</blockquote>
但我不知道這是否是正確的放置舉裏面的塊引用,並會想appropiately風格,但如果我將它移出報價我會需要用div來包裝它以賦予獨特的樣式屬性。思考?謝謝
也根據:http://dev.w3.org/html5/spec/Overview.html#the-cite-element我應該使用<b>
標籤的名稱?
這是正確的嗎?
<div class="testimonial">
<blockquote>
<p>The team worked closely with us to define our requirements, delivering the project over agreed phases to time and on budget</p>
</blockquote>
<p><b>John Doe</b><br />ACME Industries</p>
</div>
您可以將引用內的blockquote標籤本身作爲屬性。只需將其附加到blockquote標記(引用=「whatever.com」)。 – iamandrus
以下是備份Itamake關於引用作爲屬性的評論的網址http://www.w3.org/TR/html-markup/blockquote.html http://www.w3schools.com/html5/tag_blockquote.asp但是你不要沒有可以引用的URL。 – mrk
您應該閱讀http://wiki.whatwg.org/wiki/Cite_element – Knu