How to Embed HTML in an Email Link


HyperText Markup Language (HTML) code not only creates web pages; it also provides the code needed to create email links. These links are a convenient way for a visitor to contact you because when she clicks your link, an email message automatically opens on her computer. This way, she can bypass the need to remember your email address and will not have the chance to type in your address wrong. By enclosing the HTML code around the text of your choice, create your own email link, as you prefer.

  • Access the area, such as your blog, where you want to display your email link.

  • Type in your email address or other title, such as "Contact Me," that you want to display as a hyperlink.

  • Enter the HTML "anchor" tags that surround your entry as follows:

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

  • Place your cursor between the quotation marks in the first "anchor" tag. Type in "mailto:" and enter the email address where you want the messages sent. For example:

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

  • Type in an optional "?subject=" after your email address to embed an automatic subject line that appears in the visitor's email message when he clicks your link. Follow this with your desired text. For instance:

    <a href=" have a question">Contact Me</a>

  • Use your application's method of saving your work.

Related Searches


  • Photo Credit email image by Hao Wang from
Promoted By Zergnet



You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!