Set the image as the list item marker for the unordered list. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the image as the list item marker for the unordered list.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
ul {<!-- w  ww .  j  a  v a2s.  c o m-->
    list-style-image: url('https://www.java2s.com/style/demo/Opera.png');
}
</style>
</head>
<body>

<p>This is an unordered list:</p>
<ul>
  <li>A</li>
  <li>B</li>
  <li>C</li>
</ul>

</body>
</html>

Related Tutorials