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.

Method 1
Method 1 of 2:

Images Inside an Unordered List

  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:

Images Inside an Ordered List

  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

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 17,709 times.
How helpful is this?
Co-authors: 3
Updated: July 7, 2022
Views: 17,709
Categories: Technology Hacks
Advertisement