News0 min ago
html send an email
5 Answers
hey does anyone know the source code for clicking on an email address and it opens an email in your client. Thanks
Answers
Best Answer
No best answer has yet been selected by sykosat2004. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.This should answer your question:
http://www.htmlcodetutorial.com/YaBB/yabb/YaBB 9d94.html?board=html_email;action=display;num= 1046619124
Chris
http://www.htmlcodetutorial.com/YaBB/yabb/YaBB 9d94.html?board=html_email;action=display;num= 1046619124
Chris
The basic way is as in the answer above
please contact: <A target='_blank' href=mailto:[email protected]>This text appears on the webpage</A>
But this can be extended to pre-insert the subsect line and even start off the email itself like this:
please contact: <A target='_blank' href=mailto:[email protected] ?subject=Website%20query&body=Dear%20Joe>This text appears on the webpage</A>
Notice that spaces are replaced by their hexadecimal equivalents (%20). In this example, the email subject will contain 'Website query?' and the email will start off 'Dear Joe'
The section marked 'This text appears on the webpage' is whatever text you want the viewer to see on the webpage.
please contact: <A target='_blank' href=mailto:[email protected]>This text appears on the webpage</A>
But this can be extended to pre-insert the subsect line and even start off the email itself like this:
please contact: <A target='_blank' href=mailto:[email protected] ?subject=Website%20query&body=Dear%20Joe>This text appears on the webpage</A>
Notice that spaces are replaced by their hexadecimal equivalents (%20). In this example, the email subject will contain 'Website query?' and the email will start off 'Dear Joe'
The section marked 'This text appears on the webpage' is whatever text you want the viewer to see on the webpage.