:: HOME » HTML » How To Use Lists
 
How To Use Lists
 There three type lists in HTML: An ordered List <ol>,  an unordered List <ul> and definition list <dl>

 

We defines the list type by using these two tags and then to show list item we use <li> tag. It is the same for two type. The difference between the unordered lists and ordered lists is that at the unordered list , items are marked with bullets or similar symbols(circle, disc) but at the ordered list, items are marked with ordered numbers or characters. To be able to change these symbols, we need to use type="" attribute. These <il> types are circle, disc, square, 1, a, i.

 

<ul>

<li>unordered item 1</li>

<li>unordered item 2</li>

</ul>

<ol>

<li>ordered item 1</li>

<li>ordered item 2</li>

</ol>

 

We can also use a lint inside the other list.

 

<ul>

<li>title</li>

<ul>

<li>1</li>

<li>2</li>

</ul>

</ul>

 

The last type is definition list <dl>. With <dt> tag we define the definition title and with <dd> tag we defines the definition description.

 

<dl>

<dt>The first title</dt>

<dd>The first description</dd>

</dl>


HTML How To Use Lists HTML How To Use Lists HTML How To Use Lists
HTML How To Use Lists
NEW QUESTION
 
Your E-Mail Address
»
Your e-mail will never be shown!  
   
 
Question
»
Please type your question and please use [CODE] tag for your codes!  
  Add CODE Quote BOLD ITALIC Underline Align Left Align Center Align Right Add Line  
   
 
Human Check
»
Enter human check code below!  
   
 
       
 
* Your Question will be answered as soon as possible, probably within 24 hours!
HTML How To Use Lists HTML How To Use Lists HTML How To Use Lists
HTML How To Use Lists
 
Quaware Internet Solutions And Consulting - SEO Search Engine Optimization, Website development and design, eCommerce, Online Payment Systems, Shopping Cart, Affiliates Website Designer, Search Engine Optimization Expert, Ajax Developer,Developed And Designed By Mumin Celik With Using PHP, MySQL, CSS, JavaScript, Ajax And Search Engine Optimizer Sinema, Film, Ask, Tekgul, Mutluluk