HTML Tutorials
How to Make an E-mail Link On Your Web Page
Back to Home Page Back to HTML Tutorials Home Page
Back to HTML Codes and Questions
Making it easy for people to contact you is a good thing in business. Here is an easy way to get people to email you right from your web page.
How to Create an Email Link
Here is the code to write an email link:
<A HREF = "mailto:youremailaddress"> Send Fan Mail! </A>
This is what it all means:
<A HREF = The "A" stands for anchor. The "HREF" stands for hypertext reference. It tells the computer that the link will be listed next.
"mailto:youremailaddress"> All you do is type "mailto (colon) and then your email address." Don't forget the quotation marks and ending bracket.
Send Fan Mail! This is what the viewers of your web page will see. The HTML code will cause these words to be blue and underlined. You can type anything you want here. The viewers do not need to see your email address.
</A> This tells the computer that here is the end of the anchor and email hyperlink.
Here is how the code would look on the web page.
<HTML>
<HEAD>
</HEAD>
<BODY>
<A HREF = "mailto:youremailaddress"> Send Fan Mail! </A>
/BODY>
</HTML>