Nowadays it can be very handy to add a text link to be able to text someone from a web page.

To create a hyperlink to text only, one needs only add this code:

<a href=sms:1-408-555-1212>New SMS Message</a>

Note that this functionality may be browser and device dependent. For example, if the device you are wanting to text from does not have text capability, this may not work.