+ 1

<a> tag doesnt work

I inserted an <a> tag inside <p> tag. The link was from another site(social media sites) but when I clicked the link a message appears says the page doesn't exist. And I found the address on my browser was the address of my site plus the link I intended to open. Where do you think did I go wrong?

5th Aug 2019, 10:07 AM
sam
sam - avatar
11 Antworten
+ 5
Hello. Can you please show the code? It would be easier to answer.
5th Aug 2019, 11:14 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 5
sam the <a> works. It leads me to the website.
5th Aug 2019, 11:52 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 4
sam The only reason for this is that the link(url) you are using is invalid.
5th Aug 2019, 12:32 PM
Sachin Artani
Sachin Artani - avatar
+ 3
Link works for me too. Seems valid. What do you mean by live site?
5th Aug 2019, 2:08 PM
Sonic
Sonic - avatar
+ 2
I wonder if the web server blocks access to certain domains for security or other reasons.
5th Aug 2019, 2:22 PM
Sonic
Sonic - avatar
+ 1
By the way, the link works in the development.
5th Aug 2019, 10:13 AM
sam
sam - avatar
+ 1
Yes but on live site it doesnt
5th Aug 2019, 11:56 AM
sam
sam - avatar
+ 1
Sonic That code doesn't work on my website. here...: https://rhythmandrhymegroup.com/members.html When you press the "sing with me button" shows page not found
5th Aug 2019, 2:15 PM
sam
sam - avatar
+ 1
I use netlify. Anyways, thanks to all of you guys.
5th Aug 2019, 2:26 PM
sam
sam - avatar
0
sam The link you have mentioned in the button is appending with your current link. That is the reason for page not found.
5th Aug 2019, 2:37 PM
Sachin Artani
Sachin Artani - avatar