You are here: irt.org | FAQ | JavaScript | Email | Q134 [ previous next ]
Using an HTML link:
<A HREF="mailto:no@spam.wanted">email someone</A>
Using a Form:
<FORM ACTION="mailto:no@spam.wanted" METHOD="POST" ENCTYPE="text/plain"> </FORM>
Both methods suggested are completely non-JavaScript methods - but possibly useful nevertheless.
The ACTION="mailto:..." works on some other browsers than just Netscape, although its effect is undefined by the specifications.
In HTML, you can also use forms to set up possibilities for sending E-mail from Web pages - take a look at the list of JavaScript Email articles for further information.
Thanks to Jukka Korpela for updates to this answer.