Daily web design tips

Saturday, January 07, 2006

Insert Subject field in Email link

Almost all websites have a link to an email address, that once clicked opens up the visitors email (Outlook, Outlook express etc). However the subject field is left blank. To insert a subject field use the below html code [Define] on your website.

<A HREF="mailto:you@website.com?subject=my website">Email</A>

Replace "
you@website.com" with your email address and replace "my website" with what you want the subject to be. Remembering to keep the "?" inbetween the two.

More web design tips

0 Comments:

Post a Comment

<< Home