Sunday, June 22, 2014

HTML - Example Source Code for Lists

Unordered List
  • List Item
  • List Item
  • List Item
Ordered List
  1. List Item
  2. List Item
  3. List Item
Definition List
List Item Definition
List Item Description
List Item Definition
List Item Description
List Item Definition
List Item Description

Source Code for example above :

<strong>Unordered List</strong>

<ul>
 <li>
 List Item
 </li>
 <li>
 List Item
 </li>
 <li>
 List Item
 </li>
</ul>

<strong>Ordered List</strong>

<ol>
 <li>
 List Item
 </li>
 <li>
 List Item
 </li>
 <li>
 List Item
 </li>
</ol>

<strong>Definition List</strong>

<dl>
 <dt>
 List Item Definition
 </dt>
 <dd>
 List Item Description
 </dd>
  <dt>
 List Item Definition
 </dt>
 <dd>
 List Item Description
 </dd>
  <dt>
 List Item Definition
 </dt>
 <dd>
 List Item Description
 </dd>
</ol>
Post a Comment