0
0
Bootsrapmarkup~5 mins

List styles (unstyled, inline) in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the <code>.list-unstyled</code> class do in Bootstrap?
It removes the default bullet points and left padding from a list, making it look clean and simple without any markers.
Click to reveal answer
beginner
How does the <code>.list-inline</code> class change the appearance of list items?
It makes list items display side by side horizontally, like words in a sentence, instead of stacked vertically.
Click to reveal answer
intermediate
Why would you use .list-inline-item inside a .list-inline list?
Because each list item needs the <code>.list-inline-item</code> class to properly display inline with spacing and alignment.
Click to reveal answer
beginner
What is the visual difference between a normal <ul> list and one with .list-unstyled?
A normal <code>&lt;ul&gt;</code> shows bullet points and indentation; <code>.list-unstyled</code> removes these, showing plain text lines.
Click to reveal answer
intermediate
Can you combine .list-unstyled and .list-inline on the same list?
Yes, although redundant, as both remove bullets and left padding. .list-inline-item is still needed on items for horizontal display.
Click to reveal answer
What Bootstrap class removes bullet points from a list?
A.list-group
B.list-inline
C.list-inline-item
D.list-unstyled
Which class makes list items appear side by side horizontally?
A.list-unstyled
B.list-inline
C.list-group-item
D.list-item
Inside a .list-inline list, what class should each <li> have?
A.list-group-item
B.list-unstyled
C.list-inline-item
D.inline
What happens if you use .list-unstyled on a list?
ABullets and indentation are removed
BList items become inline
CList items get borders
DNothing changes visually
Can .list-inline and .list-unstyled be used together on the same list?
AYes, they work well together
BOnly on ordered lists
COnly if you add extra CSS
DNo, they serve different purposes and conflict
Explain how to create a list with no bullet points using Bootstrap classes.
Think about how to make a list look clean without markers.
You got /3 concepts.
    Describe how to make list items appear horizontally in Bootstrap.
    Imagine turning a vertical list into a horizontal menu.
    You got /3 concepts.