Loading

Quipoin Menu

Learn • Practice • Grow

html / HTML Lists
interview

Q1. What are the three types of lists in HTML?
Unordered lists (<ul>), ordered lists (<ol>), and description lists (<dl>).

Q2. What tag is used for each item in a list?
The <li> (list item) tag is used for each item within <ul> and <ol> lists.

Q3. How do you create a nested list?
Place a complete <ul> or <ol> inside an <li> to create sub-lists.

Q4. Can you change the bullet style in unordered lists?
Yes, use CSS list-style-type property with values like disc, circle, square, or none.

Q5. What is the default numbering in ordered lists?
Ordered lists default to decimal numbers (1, 2, 3...), but can be changed with type attribute or CSS.