OL is ordered list, see example:
<ol>
<li> America </li>
<li> England </li>
<li> France </li>
</ol>
UL is unordered list, see:
<ul>
<li> America </li>
<li> England </li>
<li> France </li>
</ul>
In both OL and UL, <li> stands for "list."
In HTML5, DL stands for description list, it works like the following way:
<dl>
<dt> Milk Brands:v</dt>
<dd> Amul</dd>
<dd> Mother Dairy</dd>
</dl>
Here dt/dd is name/value; dt stands for "name" and dd stands for "value."
Note: if your are beginner then understanding OL and UL is very important, they are used in many ways, and most common use of them is in building "menu."
Comments
Post a Comment