Endless Paradigm

Full Version: mail to HTML
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Could someone tell me what I'm doing wrong here. I used a guide from a website to set up a Mail to link but it doesn't work.

Code:
<p>Email:   	<a href="enquiry@test.co.uk?subject=Enquiry"></a></p></p>

Ignoring everything else that could be wrong...

You got 2 copies of </p> at the end.
1) the "href" should have the prefix, mailto:
2) nothing inbetween the <a> tags
3) you've got two "</p>"s...

Try this code

HTML Code
<p>Email: <a href="mailto:enquiry@test.co.uk?subject=Enquiry">enquiry@test.co.uk</a></p>

Ahh thanks Zinga.
Reference URL's