CSS text-align property with the justify value
The correct answer for applying such alignment is the text-align
property with the justify
value. Justified text has all lines of the same length. Lines with fewer characters stretch out, increasing the space between words, while those with more characters tend to shrink. The only exception is the last line which doesn't need to be spaced to line up with the right edge.