UnOrdered Lists

UnOrdered lists are also referred to as Bulleted Lists. UnOrdered lists can be defined using <UL> ... </UL> tags. The tag <UL> indicates the start of a bulleted list while </UL> indicates the end of the bulleted list.

Attributes of <UL> .. </UL>

Type:

This attribute indicates the type of bullet to be used. This possibly takes the values such as "square", "circle" or "fillround".

<LI> ... </LI> :



         These tags are used within <UL> ... </UL>. Each bulleted item is enclosed with in the tags <LI> ... </LI>.
  • Ordered list item 1
  • Ordered list item 2
  • Ordered list item 3
<UL >
<LI>Ordered list item 1 </LI>
<LI>Ordered list item 2 </LI>
<LI>Ordered list item 3 </LI>
</UL>

With Style disc, circle or square

Example:

<UL type="square">

                 <LI> UnOrdered list item 1 </LI>

                 <LI> UnOrdered list item 2 </LI>

                 <LI> UnOrdered list item 3 </LI>

   </UL>

             This unordered list will be displayed as
<UL type="square">
  • Ordered list item 1
  • Ordered list item 2
  • Ordered list item 3
<UL type="circle">
  • Ordered list item 1
  • Ordered list item 2
  • Ordered list item 3
<UL type="disc">
  • Ordered list item 1
  • Ordered list item 2
  • Ordered list item 3
Your Rating


Google+

         Lists In HTML  | Ordered Lists  | UnOrdered Lists  | Data Lists

Post Comment This is for short comments only. Use the forum for more discussions.




HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2016 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer