How to Hyperlink to an Email Address

104 4

    Instructions

    • 1). Open the file where you'd like to insert the email hyperlink.

    • 2). Create a hyperlink with the "mailto" attribute by typing the following code. Replace the text inside the parentheses with your own information. (Do not use the parentheses.)

      <a href="/links/?u=(mailto:name@anydomainname.com)">(any text you would like to link to the email address)</a>

    • 3). Specify a default subject (if desired) by adding the string ?subject= to the link, as follows.

      <a href="/links/?u=(mailto:name@anydomainname.com)?subject=(any subject you'd like to automatically appear)">(any text you would like to link to the email address)</a>

    • 4). Add default text, which will appear in the body of the new email (if desired), by adding the &body= string to the link, as follows:

      <a href="/links/?u=(mailto:name@anydomainname.com)?subject=(any subject you'd like to automatically appear)&body=(the text you'd like to automatically appear in the message body)">(any text you would like to link to the email address)</a>

    • 5). Save the file, and if the link is meant for a webpage, upload the saved version of the file to your web server or host.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.