CSS list-style-type (HTML ul tag)


CSS list-style-type property:
It is used to specify the bullet symbol to be displayed in front of list items of html ol or html ul.
decimal | decimal-leading-zero | upper-alpha | lower-alpha | upper-roman | lower-roman | none | disc | circle | square etc.

Interview Questions:

1. Which CSS property is used to remove bullets from unordered list?
a. list-style-bullet
b. list-style-type
c. list-type-style
d. list-bullet-type
Answer: b

2. How do you create a list that displays its list item with square bullet?
a. list-type:square
b. list-style-type: square
c. list-type-style: square
d. list:square
Answer: b