CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS text-align property

The CSS text-align property is use to set align (for example. left, right, center etc.) of an elements.

Property Values

Properties Value Description
Syntax text-align:value;
value   left
Allow to All elements
Inherited Yes


<p style="text-align:right;">CSS TEXT Align Right</p>
<p style="text-align:center;">CSS TEXT Align Center</p>
<p style="text-align:left;">CSS TEXT Align Left</p>
Online Try This Code Your Self....   »


CSS TEXT Align Right

CSS TEXT Align Center

CSS TEXT Align Left