Skip to content

Instantly share code, notes, and snippets.

Created September 16, 2014 11:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save adrienne/8d57c4283ba6cd610f62 to your computer and use it in GitHub Desktop.
Some markup patterns (including structured data)
<article itemscope itemtype="">
<a itemprop="url" href="">
<img itemprop="image" src="/images/image.jpg" />
<h1 itemprop="name headline">Post Name</h1>
<div itemprop="articleBody">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi orci, malesuada elementum accumsan ut, porttitor at dolor.
<dd><a itemprop="author" href="">testauthor</a></dd>
<dt>Date Posted</dt>
<dd><time datetime="2014-09-15" itemprop="datePublished">15 September, 2014</time></dd>
<dd><a itemprop="articleSection" href="">cat1</a></dd>
<dd><a itemprop="articleSection" href="">cat2</a></dd>
<dd itemprop="keywords"><a href="blah">blah</a>, <a href="blah2">blah2</a></dd>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment