Created
July 28, 2012 16:16
-
-
Save douglasmiranda/3193883 to your computer and use it in GitHub Desktop.
Creating a semantic breadcrumb using HTML5 microdata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://coderwall.com/p/p0nvjw?i=5&p=1&q= --> | |
<ol class="breadcrumb"> | |
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> | |
<a href="http://www.example.com/" itemprop="url"> | |
<span itemprop="title">Example.com</span> | |
</a> | |
</li> | |
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> | |
<a href="http://www.example.com/news" itemprop="url"> | |
<span itemprop="title">News</span> | |
</a> | |
</li> | |
<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> | |
<a href="http://www.example.com/news/news-story.1" itemprop="url"> | |
<span itemprop="title">News Story 1</span> | |
</a> | |
</li> | |
</ol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment