<?xml version="1.0" encoding="utf-8"?>

CSS text-align property with the justify value

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.

Improve your UX & Product skills with interactive courses that actually work