PDF download Download Article
Add images to ordered or unordered HTML list with these easy steps
PDF download Download Article

Lists are oftentimes used for text; however, it is also possible to add images to a list. To learn how to add photos to a list in HTML programming, follow the steps below.

Adding Images to HTML Lists: Quick Steps

Create an unordered or ordered list with list items. Then, use <img> src=" " alt=" "> within each list item to add an image. Copy the path of the desired image into src=" " to complete.

Method 1
Method 1 of 2:

Adding Images Inside an Unordered List

PDF download Download Article
  1. 1
  2. 2
    Advertisement
  3. 3
  4. 4
    Paste the path of the desired image into the src="".
    • The image tags require information about the desired image in order to display it. Copy the file path for the desired image and then paste the path into the src="" like in the image.
  5. 5
    If multiple images per list item is desired, duplicate the image tag.
    • It is possible to have multiple images in each list item. In order to do so, add the text like in the image.
  6. Advertisement
Method 2
Method 2 of 2:

Adding Images Inside an Ordered List

PDF download Download Article
  1. 1
  2. 2
  3. 3
  4. 4
    Paste the path of the desired image into the src="".
    • The image tags require information about the desired image in order to display it. Copy the file path for the desired image and then paste the path into the src="" like in the image.
  5. 5
    If multiple images per list item is desired, duplicate the image tag.
    • It is possible to have multiple images in each list item. In order to do so, add the text from the image into the editor.
  6. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • Add information about the picture into alt="". This will allow users who do not see the images information that they would otherwise not be able to obtain.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 56,520 times.
How helpful is this?
Co-authors: 7
Updated: December 23, 2024
Views: 56,520
Categories: Technology Hacks
Thanks to all authors for creating a page that has been read 56,520 times.

Is this article up to date?

Advertisement