April 17, 2009

0 3 TYPES OF LIST Effects in HTML

1) ordered list : A ordered list is also a list of items that are marked with numbers.
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.

This order list will start from 1 till 4 as there are 4 lists in it.
<ol type = "1" start = "">
<li>abcd</li>
<li>cdef</li>
<li>ghij</li>
<li>klmn</li>
</ol>

2nd type of ORDERED LIST as start is given from 10,so it will start from 10 and end till 13.

<ol type=" A " start="10">

<li>abcd</li>
<li>abcd</li>
<li>abcd</li>
<li>abcd</li>
</ol>

2) UNORDERED LIST :An unordered list starts with the <ul> tag & each item starts with the <li> tag.

The list items are marked with disc as small circles.

<ul type= "Disc">
<li>chocolate</li>
<li>cream</li>
</ul>

IN this items are marked with squares

<ul type= "Square">
<li>chocolate</li>
<li>cream</li>
</ul>

IN this items are marked with small circles.

<ul type= "circle">
<li>chocolate</li>
<li>cream</li>
</ul>

3) DEFINITION LIST :

A definition list is not a list of single items.Its list starts with a <dl> tag (definition list).
and each term starts with a <dt> tag (definition term).
and each description starts with a <dd> tag (definition description).

<dd> definition description
<dt> definition term
<dl> definition list

I) IN THIS U START WITH DEFINITION LIST AND END WITH DEFINITION LIST.WHAT U START FIRST ENDS LAST.

<dl>
<dt>dhtml
<dd>dynamic hyper markup language
</dt>
</dd>
</dl>

0 comments:

Post a Comment

Blogger Themes

 
Powered by Blogger