Created
February 10, 2011 22:32
-
-
Save jwlawrence/821500 to your computer and use it in GitHub Desktop.
Contact Info with hCard Microformats
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
<h2>Contact Me</h2> | |
<address class="vcard"> <!-- replace address tag with div if used to contact anyone other than site owner --> | |
<h3 class="fn">John Doe</h3> | |
<p><a class="email" href="mailto:johndoe@example.com">johndoe@example.com</a></p> | |
<p class="tel">123-456-7890</p> | |
<ul class="adr"> | |
<li class="street-address">123 Street Name</li> | |
<li class="locality">City</li> | |
<li class="region">State</li> | |
<li class="postal-code">12345</li> | |
<li class="country-name">country</li> | |
</ul> | |
</address> <!-- end .vcard --> | |
<a href="http://h2vx.com/vcf/YOURURL.com">Add to Address Book</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment