How to open iMessage from a webpage using HTML

Note: This works if you are on an iOS 5+ Device only. It might open up your SMS application on other devices and crash and burn. Check the user agent before displaying.

iMessage can be opened by using the following SMS format in your href:

Full example:

<a href="">iMessage Me</a>