Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
481 views
in Web Technology by (31.3k points)
closed by

Explain the main list tags in HTML?

1 Answer

+1 vote
by (30.9k points)
selected by
 
Best answer

HTML provides three basic types of lists- unordered, ordered and definition list.
1. Unordered list:
Unordered list arranges the list items with bullet symbols in front. <UL> and </UL> tag encloses an Unordered list. List items are specified by <LI> tag. The tag <UL> can take values square, circle or disc. The default type is disc.

Eg: <UL>
<LI>COMPUTER
<LI>BIOLOGY
</UL>

2. Ordered list:

In Ordered list, the list items are numbered in sequence. <OL> and </OL> tag encloses an Ordered list. List items are specified by <LI> tag. The tag <OL> can take values as follows

1. type = 1 for 1,2,3

2. type = i for i, ii, iii

3. type = I fori, II, III,….

4. type = afora,b,c,…

5. type = AforA,B,C

Eg:<OL>
<LI>COMPUTER
<LI>BIOLOGY
</OL>

3. Definition List:

It is formed by a group of definitions and their descriptions. No bullet symbol or number is provided for the list items. The <DL> and </DL> tags enclose the definition list. The <DT> tag contains the definition term and <DD> tag specifies the description.

Eg: <DL>
<DT>Echeque
<DD>Electronic cheque
</DL>

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...