मराठी

Tags used to create Lists

Advertisements
  • <LI> Tags
  • Ordered List
  • Unordered list
  • Definition lists
  • Nested List

Tags used to create Lists

<LI> is list item tag. In any types of list, there are list item. To define these list items, <LI> Tag is used(except Definition List).  </LI> Tag can be used at the end of every list item but it is not necessary. 

Ordered List 

Ordered lists can be preceded by Arabic numerals, upper case or lower case Roman numerals, or uppercase or lowercase alphanumeric characters. The tags for an ordered lists are <OL> and </OL>. The ‘START’ attribute allows you to establish the beginning of list's number sequence. 

Unordered list 

Unordered lists can be preceded by one of the several bullet styles like a closed circle , an open circle  or a square. The tags for unordered lists are <UL> and </UL>.  To define the bullet style, ‘TYPE’ attribute is used. The default appearance for a list is with disc. 

Definition lists 

The definition list element uses <DL> start tag and < /DL > end tag to create a definition list. This list is rendered without bullets. <DT> tag is used for definition terms i.e. name or title of the item you are defining. The  <DD> tag is used for the definition itself.

Nested list 

List within another list either order list or unordered list is called nested list. The lists used can be of any type

If you would like to contribute notes or other learning material, please submit them using the button below.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×