Forums

Links Not Working

Hi! I have a developer account, and I have a question about using anker tags in html. When I code something like this:

<a href="khanacademy.org" target="_blank">Click Here</a>

clicking on the link on my website results in a 404 Page Not Found Error. I looked at the url that the link sent me to, and it has my website url with a "/khanacademy.org" added on the end. Is there a way to make the url go to just khanacademy.org rather than mywebsitename/khanacademy.org? Thank you so much!

PS: This is probably the best web hosting websites I've tried! There are forums, no inappropriate ads, and users can post web pages online for free!

the href in an a tag needs to be a proper url if you want it to go to a different site. What you are asking for is a relative link to a file called khanacademy.org. IF yout use the full url of https://khanacademy.org/ then it will go where you expect it to.

I think you should try the full link :"https://www...