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?
✗ Incorrect
The class
.text-end aligns text to the right side in Bootstrap.How do you center text only on medium screens and larger in Bootstrap?
✗ Incorrect
Use
.text-md-center to center text on medium screens and larger.What does the class
.text-start do in Bootstrap?✗ Incorrect
.text-start aligns text to the start of the container, which is left in LTR languages and right in RTL languages.Which class is deprecated in Bootstrap 5 for text alignment?
✗ Incorrect
.text-left is deprecated in Bootstrap 5 in favor of .text-start.If you want text aligned to the right only on large screens, which class should you use?
✗ Incorrect
Use
.text-lg-end to align text to the right on large screens and above.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.