ampersand in email address (href)

Posted by d daly on Stack Overflow See other posts from Stack Overflow or by d daly
Published on 2010-04-06T10:43:32Z Indexed on 2010/04/06 10:53 UTC
Read the original article Hit count: 196

Filed under:

Hi

Im working with email address which has an ampersand in it, the user wants a 'contact us' link to open up a new message wit their address populated, I normally use href, but the ampersand is causing this not to work, any idea's?

here's what i have at the moment:

<a href="mailto:L&[email protected]? subject=MessageTitle&amp;" 
        style="font-family: Verdana; font-size: large; font-weight: bold; color: #800000">#GHA Organisation Development</a>

© Stack Overflow or respective owner

Related posts about html