0
Links in HTML?
I don’t understand how to add links in HTML, I know the tags to use and the attributes but i just don’t get it. Am I supposed to create my own link? If so how do I do that. I added a preexisting link to the href attribute using the <a> tag and ran the code but the output came out empty. Nothing showed!
2 odpowiedzi
+ 2
Links can point to a completely different internet domain, like https://google.com or to another webpage on the same server, or even a specific position within the same page (like a table of contents can redirect to a chapter).
If you save your code in the sololearn playground and you insert the link in your comment (use the plus sign icon) then people can review and tell you why it's not working.
+ 1
Show us what you did for your link.
From what I've read it does not appear that you added the link's content.
Example:
<a href="url"> link text </a>