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. 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