Which of the following property sets the alignment of the last line of a text block?

overflow-wrap
text-align-last
text-transform
text-indent

The correct answer is: B. text-align-last

text-align-last is a CSS property that sets the alignment of the last line of a text block.

288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube
It can be used to align the last line of a text block to the left, right, center, or justify.

The other options are not correct because:

  • overflow-wrap is a CSS property that controls how text wraps when it overflows its container.
  • text-transform is a CSS property that changes the case of text.
  • text-indent is a CSS property that indents the first line of a text block.
Exit mobile version