---
title: text-align
framework: tvml
role: article
role_heading: Article
path: tvml/text-align
---

# text-align

Aligns text horizontally in an element.

## Overview

Overview Use the text-align style to specify how the text should be horizontally aligned in an element. Here’s an example that horizontally centers the text in a title element: <title style="text-align:center">This text is horizontally centered.</title> Values Elements that Use text-align text title subtitle decorationLabel description

## See Also

### Element Alignment

- [tv-align](tvml/tv-align.md)
- [tv-content-align](tvml/tv-content-align.md)
- [tv-position](tvml/tv-position.md)
