Skip to content

Instantly share code, notes, and snippets.

@dieseltravis
Last active January 25, 2019 22:56
Show Gist options
  • Save dieseltravis/842b497dc3179b0d2cf6 to your computer and use it in GitHub Desktop.
Save dieseltravis/842b497dc3179b0d2cf6 to your computer and use it in GitHub Desktop.
microformatted email sig html
<!-- The div's id should be something unique -->
<div id="hcard-FirstName-LastName" class="vcard hcard h-card" itemscope itemtype="http://schema.org/Person">
<br /><br />
<p>
<b class="fn n p-name" itemprop="name">
<span class="given-name p-given-name" itemprop="givenName">FirstName</span> <span class="family-name p-family-name" itemprop="familyName">LastName</span>
</b><br />
<span class="p-job-title" itemprop="jobTitle">Job Title</span><br />
</p>
<p>
<span itemprop="worksFor" itemscope itemtype="http://schema.org/Organization">
<b class="org p-org" itemprop="name">Company Name</b><br />
<span class="adr p-adr h-adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span class="street-address p-street-address" itemprop="streetAddress">123 Street Address</span> <br />
<span class="locality p-locality" itemprop="addressLocality">City</span>, <span class="region p-region" itemprop="addressRegion">Region</span> <span class="postal-code p-postal-code"itemprop="postalCode">POSTAL</span>
</span><br />
</span>
T <span class="tel p-tel" itemprop="telephone">+1 TEL-EP-HONE</span><br />
<a class="email u-email" href="mailto:[email protected]" itemprop="email">[email protected]</a><br />
<a class="url u-url" href="http://company.url/" itemprop="url">company.url</a>
</p>
</div>
<style>@media only print{*{display:none!important}}</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment