ADVERTISEMENTS
“Contact Us” one of the most important part of a website or blog cuz it gives you a chance to interact with the reader of your blog, what they like and and what they want to read. But those days are gone when you give full e-mail address on your blog like “For any queries contact us at admin@example.com”. Nobody has time to copy the address, open his mailbox and go to compose mail. And even all of this is not at all required when you can do all this with just one click.Not only this you can also launch the Yahoo messenger window with a single click. All you need to know is the correct codes for both of them.
E-Mails:
mailto:admin@example.com
use your e-mail id in place of admin@example.com
Implementation:
to use it in html use
<a href="mailto:admin@example.com">Mail the Author</a>
If you further want to add the subject of e-mail just modify above code with,
<a href="mailto:admin@example.com?subject=This is your subject">Mail the Author</a>
Change “This is your subject” to whatever you want in subject field.You don not need to add target=”_blank” mailto automatically opens in a new window.
very good thank