This is easy for iOS, Android, and even BlackBerry OS, just using the sms: prefix in your href attribute, for example:
<a href="sms:0046730123456">Send an SMS to +46 73 012 34 56</a>
This launches an SMS application with a number pre-populated on the previously mentioned platforms. But on WP7.5 using Internet Explorer, we get an error that the URL scheme is not supported. Someone on the network hinted at smsto: but that didn't work either.
source share