Why does the default bullet appears instead of the image in my list-style-image property?

Ask a question
1

Unfortunately, the selected image is not appearing as a marker… It’s displaying the default disc type. Can you point out was is wrong with the code. The url pathway is right. Please help.

I have cross-checked the image url several times.

<style>
    ul{list-style-image: url('C:\Users\Ayushi\Pictures\Saved Pictures/Bud.png');}
    </style>
    <ul>
    <li><b>Olanzapine</b></li>
    <li><b>Haloperidol</b></li>
    <li><b>Sertraline</b></li>
    </ul>
offer bounty
add comment

0 Answer

Your Answer