List Tags in HTML
List Tags in HTML :
List tags are used to arrange the group of data in order format or un order format. We have mainly 3 types of list tags in HTML.
They are :
- ul – un order list tag
- ol – order list tag
- dl – definision list tag
ul tag : It is used to arrange the data in bullets, like (square,disk,circle)
li tag : It is used to add data in ul and ol tag’s
ol tag : It is used to arrange the data in order format, like numbers, alphabets , etc..(1,a,A,i.I)
dl tag : It is used to arrange the text data in definition terms and in definition.
Ex : DT,DD
Definition Terms : Specify the heading to text.
Data Definition : Specify the description for heading.
Ex :
<dl>
<dt></dt>
<dd></dd>
</dl>
No comments:
Post a Comment