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

[amp_mcq option1=”overflow-wrap” option2=”text-align-last” option3=”text-transform” option4=”text-indent” correct=”option2″]

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