21.) What does the .text-reset class do?
A) Resets text color to the parent’s default color
B) Removes text styles
C) Changes text to default black
D) Makes text smaller
22.) How do you apply a background color to text in Bootstrap?
A) .bg-text
B) .text-bg
C) .bg-* classes
D) .text-background
23.) What happens when you use .text-nowrap in Bootstrap?
A) Forces text to wrap
B) Prevents text from wrapping
C) Changes text to uppercase
D) Increases font weight
24.) Which class transforms text into lowercase letters?
A) .text-lowercase
B) .text-smallcase
C) .text-downcase
D) .text-lower
25.) Which Bootstrap class allows controlling letter spacing?
A) .letter-spacing
B) .text-spacing
C) .spacing-text
D) Bootstrap does not have a built-in letter-spacing class
26.) What does .text-black-50 do in Bootstrap?
A) Sets text color to 50% black opacity
B) Makes text fully black
C) Applies a black background
D) Converts text to bold black
27.) Which class hides text visually while keeping it accessible?
A) .text-hide
B) .text-invisible
C) .visually-hidden
D) .text-none
28.) How do you remove padding and margin from an element in Bootstrap?
A) .padding-0 margin-0
B) .m-0 p-0
C) .p-none m-none
D) .spacing-none
29.) Which class makes an element display inline?
A) .d-block
B) .display-inline
C) .d-inline-block
D) .d-inline
30.) What does the .opacity-50 class do?
A) Increases text contrast
B) Makes the element 50% transparent
C) Changes text color
D) Adds a border
Related