---
title: Text Align Property
---
## Text Align Property

The text-align property specifies the horizontal alignment of text in an element.

```css
    .text-align {
        /* List of keyword values of text-align property*/
        text-align: left|right|center|justify|initial|inherit;
    }
```

#### More Information:

Docs: <a href='https://developer.mozilla.org/en-US/docs/Web/CSS/text-align' target='_blank' rel='nofollow'>MDN</a>

Browser Support: It's categorised under the 'well supported sub-set', so need not worry for browser support
