+ 1

How to provide invidiual links to each list in HTML

2nd Oct 2019, 1:13 PM
Mayank
Mayank - avatar
10 Réponses
+ 1
this is how you do it <li> <a href="file.///C.Html"/a>Games</li> this is how it should <li> <a href="file.///C.Html">Games</a></li>
2nd Oct 2019, 1:34 PM
Taste
Taste - avatar
+ 1
Ah ok😀😀
4th Oct 2019, 2:54 PM
Mayank
Mayank - avatar
0
by putting <a> inside <li> <ul> <li><a href='#'>link 1</a></li> <li><a href='#'>link 2</a></li> ... </ul>
2nd Oct 2019, 1:19 PM
Taste
Taste - avatar
0
Yeah but when I put link into first list item it automatically inserts that link to the second list item
2nd Oct 2019, 1:20 PM
Mayank
Mayank - avatar
0
did you close the <a> ? make sure tou have </a> before </li>
2nd Oct 2019, 1:21 PM
Taste
Taste - avatar
0
Yes I did
2nd Oct 2019, 1:24 PM
Mayank
Mayank - avatar
0
thats the only reason i could think of atm, let us see your code
2nd Oct 2019, 1:25 PM
Taste
Taste - avatar
0
Ah thanks !!😀😀now it's working
2nd Oct 2019, 1:38 PM
Mayank
Mayank - avatar