What is use of links in nav tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is use of links in nav tag

In output when i click on links it does nothing

6th Dec 2018, 5:27 AM
Gagan Deshmukh
Gagan Deshmukh - avatar
4 Answers
+ 1
Link is used to link the nav tag to another html page or file for making an link anchor tag is used <nav> <a href="http://www.sololearn.com"> Learn Playing </a> </nav>
6th Dec 2018, 5:38 AM
MsJ
MsJ - avatar
+ 1
Is there any provision that if i click on that Learn Playing a section called Learn Playing will show up
6th Dec 2018, 6:19 AM
Gagan Deshmukh
Gagan Deshmukh - avatar
0
Yes when you click on that text which link you have written it will redirected to their ex:- when you search on google the blue colors link are came in result that links are madeup by anchor tag then when you click on those you can redirected to the web page where information are stored
6th Dec 2018, 6:22 AM
MsJ
MsJ - avatar
0
You can make another html file with the name Learn playing with all information you need in it. Then you can link it in your main file using the <a> tag. Hope it helps.
7th Nov 2019, 6:59 AM
Sarthak Gawri
Sarthak Gawri - avatar