I don't know how to give any link of website in our code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't know how to give any link of website in our code

Like if I am making a website about indus vally civilization and in tha last i am saying I you want to know more go to Wikipedia so I want the "go to Wikipedia" to displayed like link in blue like if one clicks on it it will open the page on Wikipedia about indus valley I hope you understand what i want to ask. You can see this code then I think you'll understand what i am saying https://code.sololearn.com/W5Np2uq5BC81/?ref=app

23rd Sep 2022, 10:58 AM
Kanhaiya
Kanhaiya - avatar
2 Answers
23rd Sep 2022, 11:15 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
You are using wrong attribute. It should be href, not hearf. <a href = "https://en.m.wikipedia.org/wiki/Indus_Valley_Civilisation"> Go to Wikipedia</a>
23rd Sep 2022, 11:16 AM
Jayakrishna 🇮🇳