Skip to content

Instantly share code, notes, and snippets.

@strategyst
Created September 1, 2016 17:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strategyst/d5e6b53957ccf224be30d1cbfd7079f6 to your computer and use it in GitHub Desktop.
Save strategyst/d5e6b53957ccf224be30d1cbfd7079f6 to your computer and use it in GitHub Desktop.
Local business HTML with microdata schema
<div itemscope itemtype="http://schema.org/LocalBusiness">
<h2><span itemprop="name">Super Shop</span></h2>
<p><span itemprop="description">A super shop that sells everything at super low prices.</span></p>
<address itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">123 Example Street</span>
<span itemprop="addressLocality">Example Town</span>,
<span itemprop="addressRegion">Essex</span>
</address>
Phone: <a href="tel:01234567890"><span itemprop="telephone">01234 567890</span></a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment