The text-align Property : text align « CSS « HTML / CSS






The text-align Property

  

Value        Purpose

left         Aligns the text with the left border of the containing element

right        Aligns the text with the right border of the containing element

center       Centers the content in the middle of the containing element

justify      Spreads the width across the whole width of the containing element 

   
  








Related examples in the same category

1.'text-align' Example
2.text-align all possible values
3.text-align: justify
4.text-align:right;
5.text-align:left;
6.text align center
7.text-align: left;
8.text-align: center;
9.text-align: right;
10.text-align: justify;
11.text-align:left;right;center;justify;
12.Right align text
13.Text flows out of the boundaries