0

I'm working on my portfolio and i've added an email with mailto like this

<a id="contact-email" href="mailto:example@gmail.com"><h3>Email: example@gmail.com</h3></a>

It works if i paste it inside www.w3schools.com "try it yourself" but when i'm trying to test it on my webpage it doesn't work

What can cause this problem?

4

2 回答 2

1

好的,我发现了问题,显然它在本地工作时不起作用,当我将它上传到我的网站上时它工作正常

于 2013-03-22T00:40:01.383 回答
1

a标签应该是h3这样的:

<h3><a id="contact-email" href="mailto:example@gmail.com">Email : example@gamil.com</a></h3>
于 2013-03-22T00:34:45.843 回答