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
201 views
in Web Technology by (30.4k points)
closed by

Explain the main list tags in HTML?

1 Answer

+1 vote
by (30.5k 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 as Unordered list. List items are specified by <LI> tag. The tag <UL> can take value 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 <OL> tag can take values as follows

  • type = 1 for 1, 2, 3,….
  • type = i for i, ii, iii,……
  • type = I for I, II, III,……
  • type = a for a, b, c,…
  • type = A for A, 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 species the description.

Eg : <DL>

<DT>Eeheque

<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.

Categories

...