Last active — forked from aaronbassett/gist:1051655

Example of blockquote with cite +

  • Download Gist
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>

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!

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.