The text-align property
If your default language uses a left-to-right script, the default alignment will be left
. To change this, set the text-align
value to the right.
Other values this property can take are center
, which centers the text, and justify
, which stretches the lines so that they all have equal width, like in a newspaper.