Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)

Try using any small image as a "bullet" to make lists with more flair. If you also want the list to be indented, use the <dl> definition list and <dd> for each item (instead of <ul> and <li>, which would give the standard boring bullets). Here's a quick example, using a hypothetical star.gif image file:

<dl><dd><img src="/books/4/158/1/html/2/star.gif" alt="" />A murder of crows</dd> <dd><img src="/books/4/158/1/html/2/star.gif" alt="" />A rafter of turkeys</dd> <dd><img src="/books/4/158/1/html/2/star.gif" alt="" />A muster of peacocks</dd></dl>

Категории