+ 1

How do i add an image to a list in html?

Image

16th Jan 2022, 5:22 AM
Cliff
Cliff - avatar
8 Answers
+ 3
List ●text ●text So do you need to change (●) to an image? Or is it something else?
16th Jan 2022, 6:03 AM
NEZ
NEZ - avatar
+ 2
In case of changing the marker, this may help https://www.w3schools.com/CSS/css_list.asp
16th Jan 2022, 6:12 AM
Ipang
+ 2
And if you are talking about a navbar (or header) and want an logo in the same line as home, about, contact us, you can refer here: https://code.sololearn.com/W7A3a21A4A97/?ref=app https://www.geeksforgeeks.org/how-to-set-image-to-center-of-an-responsive-navbar/
16th Jan 2022, 6:59 AM
NEZ
NEZ - avatar
+ 1
"Add image to a list"? What is this list exactly? an <ol> or <ul>? Or it's totally something else?
16th Jan 2022, 5:52 AM
Ipang
+ 1
Can you describe your actual intention clearly, please?
16th Jan 2022, 6:00 AM
Ipang
0
An <ul>
16th Jan 2022, 5:58 AM
Cliff
Cliff - avatar
0
I have an image and i need it to be on the same line as a list e.g home, about, contact us
16th Jan 2022, 6:03 AM
Cliff
Cliff - avatar
0
You mean this <ul> <ol> Or this <li> <img/> </li
17th Jan 2022, 11:40 AM
Eneghalu Kosisochukwu
Eneghalu Kosisochukwu - avatar