Created — forked from aaronbassett/gist:1051655

Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Example of blockquote with cite +

View gist:1052588
1 2 3 4 5 6 7
<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>
oli commented

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.