text-align attribute in css

CSS
text-align:inherit;p{
    text-align:center;/*values: center, left, right, etc...*/
}text-align: justify;body {
  text-align: center;
}
Source

Also in CSS: