How to Insert an Email Address With HTML

HTML is a basic Internet programming language which, when published, translates into simpler visual interfaces, such as hyperlinks, images and different text styles. If you want your visitors to be able to create a new email messages addressed to a specific email address with a single click, do so by inserting a simple HTML code into your website, blog post or other online publication.

Instructions

    • 1

      Paste the following code into the Web document into which you want to insert a clickable link to the email address: <a href="mailto:emailaddress">Text</a>

    • 2

      Copy the email address to which you want to link, if it's not one you know by heart. To copy the address, select and right-click it and click "Copy" -- or, if it's linked somewhere, right-click it and click "Copy Link Address."

    • 3

      Replace the "emailaddress" text within your HTML code with the actual email address. For example, if you wish to link your visitors to "example@website.com," do so as follows: <a href="mailto:example@website.com">Text</a>

    • 4

      Insert any special text you want to display over the link by replacing the word "Text" with a message of your choice. For example, to direct users to click the link to send an email, use something like: <a href="mailto:example@website.com">Click here to email me!</a>

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured