Set the unordered list marker to an image with a backup style of "circle", and display the markers inside the content flow. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the unordered list marker to an image with a backup style of "circle", and display the markers inside the content flow.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
ul {<!--   www . j av a2  s .  com-->
    list-style: circle inside 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