Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
HTML5 blockquote & citation in figure & figcaption with microdata
* Author: @joostkiens
* Licensed under the MIT license
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>HTML5 Blockquotes &amp; microdata, like two peas in a pod</title>
<article itemscope itemtype="">
<h1 itemprop="name">
<a itemprop="url" href="">
HTML5 Blockquotes &amp; microdata, like two peas in a pod
By <span itemprop="creator">Joost Kiens</span>,
on <time itemprop="datePublished" datetime="2013-02-10">January 10, 2013</time>
<div itemprop="articleBody">
With HTML’s academic roots, it’s no surprise that there are multiple elements to reference another work: q, cite and blockquote have been around for ages. What is surprising is how weak they are semantically.
<figure itemprop="mentions" itemscope itemtype="">
This usage of a definition list is proof that writing W3C specifications and smoking crack are not mutually exclusive activities.
<span itemprop="author">Jeremy Keith</span>,
<cite itemprop="name">
<a itemprop="url" href="">Incite a riot</a>
<span itemprop="publisher">24 Ways</span>

This comment has been minimized.

Show comment Hide comment

aficiomaquinas Apr 12, 2013

I had searched for this for ages. Thanks! :D

I had searched for this for ages. Thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment