Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

An Image as The List Item Marker in HTML and CSS

An Image as The List Item Marker in HTML and CSS

In this tutorial, we will learn the code of “An Image as The List Item Marker in HTML and CSS”.

Code of  “An Image as The List Item Marker in HTML and CSS”

<html>
<head>
<style>

ul {
    border: 5px solid blue;
}

</style>
</head>
<body>

<h1>An Image as The List Item Marker:</h1>

<ul>
  <li>Tea</li>
  <li>Sandwich</li>
  <li>Coca-Cola</li>
</ul>

<br>
<img src="logo.jpg"/>

</body

</html>

The output of code of “An Image as The List Item Marker in HTML and CSS”

An Image as The List Item Marker in HTML - CSS

Figure: An Image as The List Item Marker in HTML – CSS