WHY DOES IT NOT WORK WHEN I USE A LINK IN HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

WHY DOES IT NOT WORK WHEN I USE A LINK IN HTML?

I ADDED A LINK TO ONE OF MY CODES AND IT WORKED BUT IT DIDN’T SEND ME TO THE WEBSITE. I CHECKED IF THE LINK WAS CORRECT AND IT WAS. I HAD COPY AND PASTED IT SO I COULDN’T OF HAVE SPELT IT WRONG. DOES ANYONE ELSE HAVE THE SAME PROBLEM? PLEASE LET ME KNOW. BTW,I AM ONLY WRITING IN CAPITALS BECAUSE I LIKE TO NOT BECAUSE I’M MAD. I MEEN ALL CODERS RUN INTO PROBLEMS RIGHT.

9th Jun 2018, 6:18 PM
Emma
Emma - avatar
13 Answers
+ 5
Your code should be like this: <a href="https://www.britannica.com/science/E-mc2-equation">link</a>
9th Jun 2018, 6:29 PM
Paul
Paul - avatar
+ 5
You need to put something between the tags.
9th Jun 2018, 6:31 PM
Paul
Paul - avatar
+ 4
You need to put something between the tags. Add something where I put link.
9th Jun 2018, 6:31 PM
Paul
Paul - avatar
+ 1
?
9th Jun 2018, 6:19 PM
Emma
Emma - avatar
+ 1
I think i deleted it but when i randomly made a code just with a link ot didn’t work either
9th Jun 2018, 6:21 PM
Emma
Emma - avatar
+ 1
ok thx i fixed it
9th Jun 2018, 6:29 PM
Emma
Emma - avatar
+ 1
but it still doesnt work:(
9th Jun 2018, 6:30 PM
Emma
Emma - avatar
+ 1
ok thx so much. I am still a beginner and I appreciate how much you have told me thx.
9th Jun 2018, 6:33 PM
Emma
Emma - avatar
0
Add code.
9th Jun 2018, 6:19 PM
BlazingMagpie
BlazingMagpie - avatar
0
Like click plus sign next to post and add your code, box similar to this should appear: https://code.sololearn.com/c0aUso0nNuM5/?ref=app
9th Jun 2018, 6:22 PM
BlazingMagpie
BlazingMagpie - avatar
0
<a href="link"> not <a>href="link"
9th Jun 2018, 6:28 PM
BlazingMagpie
BlazingMagpie - avatar
0
Just do what Paul Jacobs did. In short, you didn't close either opening or closing tag, plus you have bo text so there's nothing to click.
9th Jun 2018, 6:32 PM
BlazingMagpie
BlazingMagpie - avatar