CSS List

The CSS list properties allow you to place the list-item marker, change between different list-item markers, or set an image as the list-item marker.This is maybe because they are much more specific than ordered and unordered lists and therefore less useful, but where there is a list of terms and descriptions  a definition list should be used.

 Example

<dl>     <dt>text</dt>    <dd>this is text.</dd>

<dt>text1</dt>

<dd>this is text1</dd> </dl>

                                                     text                                                     

                           this is text. 

 text1

                   this is text1
Menu List <ul>    <li>This</li>     <li>is</li>     <li>text</li> </ul>
  • This
  •      is
  • text
Number Menu List

<ol>    <li>First item</li>   <li>Second item</li>     <li>Third item</li> </ol>

  1. First item
  2. Second item
  3. Third item

Post Comment
Login to post comments