Skip to content

@oli /gist:1052588

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Example of blockquote with cite +
<blockquote cite="">
<p>I had ice-cream tonight. It was awesome.</p>
<footer itemscope itemtype="">
— <a href="" itemprop="url"><span itemprop="name">Aaron Bassett</span></a>
on <cite><a href="">Twitter</a></cite>

Thanks for the code sample Aaron! Here’s what I changed:

  • for the link in the &lt;cite> element doesn’t provide context for the block quote. Linking to the actual tweet does
  • Adding a &lt;span itemprop="name"> lets us use itemprop="url". I feel that indicating just a name isn’t really that worthwhile, but add a link and it’s something worth adding to your address book etc. You could also throw in rel="me" on the &lta> ;)
  • This snippet also works fine if you change itemtype="" to itemtype="", as name and url are equivalent in those schemas.

Thanks again, and please link to your gist in the article comments!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.