Can We Use any picture /Animation in unordered list?? If Yes how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can We Use any picture /Animation in unordered list?? If Yes how?

7th Jul 2016, 5:07 PM
Priyam Kumar
Priyam Kumar - avatar
2 Answers
+ 2
You can use images (could be animated gifs) as bullets using CSS: CSS : ul { list-style-image: url('your-image.gif'); } HTML: <ul> <li>HTML5</li> <li>JavaScript</li> </ul>
8th Jul 2016, 1:59 PM
ZinC
ZinC - avatar
- 1
yes you can, im unsure on what you meant by animation but you can add a picture or image into an unordered list via image tag. so something like <ul> <li><a> <img src=...></a></li> </ul> you don't really need to use <a> but it just add a better css freedom
8th Jul 2016, 12:39 AM
MrJustsk
MrJustsk - avatar