How do you make the items in a list links ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How do you make the items in a list links ?

(See attached code) for each level of the list I tried playing around with where the <a> tag goes, when I look at my output none of my list items are links, what am I doing wrong ?

22nd May 2019, 2:08 PM
Alexis Schwulst
5 Answers
+ 1
<ul> <li><a href="#HTML">HTML</a></li> ... </ul> https://www.sololearn.com/learn/HTML/1031/
22nd May 2019, 2:11 PM
Solo
Solo - avatar
+ 1
Items in the list are Absolute Referefence links. <ol> <li><a href="http://www.soloLearn.com">SoloLearn.com</a></li> <li><a href="http://www.soloLearn.com">Visit SoloLearn</a></li> </ol>
11th Jun 2019, 11:55 PM
Jian
Jian - avatar
0
<li> <a href="link"> any short content about link </a> </li> and <ol> and < ul> according to the requirement
26th May 2019, 7:07 AM
HIMANSHU SHARMA
HIMANSHU SHARMA - avatar
0
li a {color: blue:}
11th Dec 2023, 2:43 AM
Ćhan Lisá
Ćhan Lisá - avatar
0
li a{ color:blue; }
5th Jan 2024, 5:45 AM
Nadhiya C