0
0
Bootsrapmarkup~5 mins

Text alignment utilities in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What class in Bootstrap aligns text to the left?
The class .text-start aligns text to the left in Bootstrap.
Click to reveal answer
beginner
How do you center text horizontally using Bootstrap classes?
Use the class .text-center to center text horizontally in Bootstrap.
Click to reveal answer
beginner
Which Bootstrap class aligns text to the right?
The class .text-end aligns text to the right in Bootstrap.
Click to reveal answer
intermediate
How can you make text alignment responsive in Bootstrap?
Bootstrap provides responsive text alignment classes like .text-sm-start, .text-md-center, .text-lg-end to align text differently on various screen sizes.
Click to reveal answer
intermediate
What is the difference between .text-start and .text-left in Bootstrap 5?
.text-start aligns text to the start of the container respecting text direction (LTR or RTL), while .text-left is deprecated and always aligns text to the left regardless of direction.
Click to reveal answer
Which Bootstrap class aligns text to the right side?
A.text-end
B.text-center
C.text-start
D.text-justify
How do you center text only on medium screens and larger in Bootstrap?
A.text-center
B.text-center-md
C.text-md-center
D.text-md-start
What does the class .text-start do in Bootstrap?
AAlways aligns text to the left
BJustifies the text
CCenters the text
DAligns text to the left or start depending on text direction
Which class is deprecated in Bootstrap 5 for text alignment?
A.text-left
B.text-start
C.text-center
D.text-end
If you want text aligned to the right only on large screens, which class should you use?
A.text-end-lg
B.text-lg-end
C.text-lg-start
D.text-center-lg
Explain how Bootstrap's text alignment utilities help with responsive design.
Think about how text looks on phones vs desktops.
You got /3 concepts.
    Describe the difference between .text-start and .text-left in Bootstrap 5 and why it matters.
    Consider languages that read right to left.
    You got /3 concepts.