CSS List

38 views

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



« CSS Padding getchar And putchar Function »
Posted on Saturday, June 14th, 2008 at 4:09 pm under CSS For Beginners | RSS 2.0 Feed

Post Comment

You must be logged in to post a comment.



ComputerEducationWorld.com All Rights Reserved © RSS | CBSE | Education Boards Of India | What is My IP?