문제

I cannot get my website to treat links as absolute paths.
here is my website:

caseyshancock.com

Look under the contact me and note how the two links are being treated as relative addresses. Instead of

http://www.linkedin.com/pub/casey-hancock/51/98/880

it tries to make it add my domain name before the link

도움이 되었습니까?

해결책

You're using smart quotes in your HTML. Use regular ' or "".

<p><a href=“mailto:casey.s.hancock@gmail.com”>casey.s.hancock@gmail.com</a></p>
<a href=“http://www.linkedin.com/pub/casey-hancock/51/98/880”>linkedin</a>

should be:

<p><a href="mailto:casey.s.hancock@gmail.com">casey.s.hancock@gmail.com</a></p>
<a href="http://www.linkedin.com/pub/casey-hancock/51/98/880">linkedin</a>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top