How to make a link. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a link.

i want to know that if i make a webpage and after that i will put a link in it.Then that link will direct the user to another webpage.what would i do to direct the user to another webpage through the link in my first webpage

23rd Oct 2017, 6:17 AM
toy scouter
toy scouter - avatar
7 Answers
+ 5
<a href="the link">Some Text</a> This code means that when the user clicks the writing "Some Text" they will be directed to the link.
23rd Oct 2017, 6:23 AM
Learnsolo
+ 5
You just need to create a webpage and post the link to that webpage.
23rd Oct 2017, 6:26 AM
Learnsolo
+ 1
you make links with <a href=""> </a> in html. lets say you want to redirect the user to solorlearn.com. just do this. <a href="www.sololearn.com">visit sololearn </a> there are other attributes you can add to the <a href=""> to suit your needs.
23rd Oct 2017, 6:24 AM
Franky BrainBox
Franky BrainBox - avatar
0
when the user gets directed to a new tab then how will i create that new webpage
23rd Oct 2017, 6:25 AM
toy scouter
toy scouter - avatar
0
thanks for helping me
23rd Oct 2017, 6:27 AM
toy scouter
toy scouter - avatar
0
you will create the new page by creating a new file .. then link it from your old file to a new file. example: you already have oldfile.html and in old file, you should put this code <a href="www.sololearn.com/newfile.html">visit sololearn newfile </> Then create a newfile.html. once you click on d link on the oldfile.html, it will redirect you to the newfile.html.
23rd Oct 2017, 6:30 AM
Franky BrainBox
Franky BrainBox - avatar
0
how would i use notepad to create a webpage
23rd Oct 2017, 9:10 AM
toy scouter
toy scouter - avatar