Unordered list with image - Html

image ul list

Snippet Code


  
Rate this page :
  [ 0 votes]

The above code will display two different unordered lists, one with a standard bullet and another with the customized image..

<style> ul.this{ list-style-image: url(http://www.hscripts.com/images/icon.gif); font-size: 11px; } </style> <h4>An Unordered List:</h4> <ul class=this> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul>

Tags


Ask Questions

Ask Question