URL confusion


#1

Hey Everyone,
I wanted to know if any one can help me.
I am very knew to programming and I am learning HTML.

I was was just asked to add a URL,
https://en.wikipedia.org/wiki/Brown_bear

The hint suggested this,
I am a link with a URL

But when I asked for the solution it posted this,
href=“https://en.wikipedia.org/wiki/Brown_bear”>Learn More

My question is how did I am a link with a URL show up on the main screen when on the coding screen Learn more was typed?

I hope this makes sense.

Kind Regards
Emma. :smiley:


#2

If you want to add a link in HTML you need the <a> tag to use the <a> tag use it this way:

<a href = "link"> name of link </a><!--Remember the closing <a> tag!-->

hope this helped :smiley:


#3

Hello ellq,

It’s simple:

<a href=" Put the url here "> Type in whatever you want the link to look like (example: click me!) </a>

I hope this helped.


#4

Hey Mapotatoka
Thanks for your suggestion.
I got it in the end.
Cheers :slight_smile:


#5

Hi rofazayn
Thanks for you help, I got it in the end.
Cheers :slight_smile:


#6

Happy to help. :grinning: