Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Entity Blockquote

loganfranken edited this page Aug 8, 2012 · 1 revision

Logan 8/8/2012

Apparently, the blockquote element is only supposed to contain the quote, not the attribution for the quote (http://www.whatwg.org/specs/web-apps/current-work/#the-blockquote-element). This means that both Twitter Bootstrap (http://twitter.github.com/bootstrap/base-css.html#typography) and these HTML5 Doctor examples (http://html5doctor.com/blockquote-q-cite/) are incorrect (per the evolving standard).

Thus, I decided to use WHATWG's proposed standard (using figure and figcaption): http://www.whatwg.org/specs/web-apps/current-work/#the-blockquote-element

For reference, the W3C isn't much help here (the example contains no attribution besides the cite attribute): http://www.w3.org/TR/html401/struct/text.html#h-9.2.2

I also added the callout class as I thought it would be a nice way of addressing a common use of blockquote, but I'm not sure if it's something that would be better left to custom styling for the developer/designer using Web Blocks.

Clone this wiki locally