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

The text-align property

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.

Top contributors

Radia Lahlou

Topics

From Lesson

Share

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