RDFa (source lint)

<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person">
   My name is <span property="v:name">Bob Smith</span>,
   but people call me <span property="v:nickname">Smithy</span>.
   Here is my homepage:
   <a href="http://www.example.com" rel="v:url">www.example.com</a>.
   I live in
   <span rel="v:address">
      <span typeof="v:Address">
         <span property="v:locality">Albuquerque</span>,
         <span property="v:region">NM</span>
      </span>
   </span>
   and work as an <span property="v:title">engineer</span>
   at <span property="v:affiliation">ACME Corp</span>.
   My friends:
   <a href="http://darryl-blog.example.com" rel="v:friend">Darryl</a>,
   <a href="http://edna-blog.example.com" rel="v:friend">Edna</a>
</div>

Microdata (source lint)

<div itemscope itemtype="http://data-vocabulary.org/Person">
  My name is <span itemprop="name">Bob Smith</span>, 
  but people call me <span itemprop="nickname">Smithy</span>.
  Here is my homepage: 
  <a href="http://www.example.com" itemprop="url">www.example.com</a>.
  I live in 
  <span itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address">
    <span itemprop="locality">Albuquerque</span>, 
    <span itemprop="region">NM</span> 
  </span>
  and work as an <span itemprop="title">engineer</span>
  at <span itemprop="affiliation">ACME Corp</span>.
  My friends:
  <a href="http://darryl-blog.example.com" rel="friend">Darryl</a>, 
  <a href="http://edna-blog.example.com" rel="friend">Edna</a>
</div>