Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
html tags and attributes for your mobile body
// Mail Links
<a href="mailto:frank@wwdcdemo.example.com">John Frank</a>
// Phone Links
<a href="tel:1-408-555-5555">1-408-555-5555</a>
// Text Links
<a href="sms:1-408-555-1212">New SMS Message</a>
// Map Links
<a href="http://maps.google.com/maps?q=cupertino">Cupertino</a>
<a href="http://maps.google.com/maps?daddr=San+Francisco,+CA&saddr=cupertino">Directions</a>
// YouTube Links
<a href="http://www.youtube.com/watch?v=VIDEO_IDENTIFIER">Play Video</a>
<a href="http://www.youtube.com/v/VIDEO_IDENTIFIER">Play Video</a>
// iTunes Links
<a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?i=156093464&id=156093462&s=143441">
<img height="15" width="61" alt="Randy Newman - Toy Story
- You&#39;ve Got a Friend In Me" src="http://ax.phobos.apple.com.edgesuite.net/images/
badgeitunes61x15dark.gif"></img>
</a>
Reference
http://developer.apple.com/library/safari/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007891-SW1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment