css text align right

CSS
body {
  text-align: right;
}<switch>
    h1 {
    text-align: center;
}

p.date {
    text-align: right;
}

 
p.main {
    text-align: justify;
} 
</Switch>body {
  text-align: left;
}    div.a {
  text-align: center;
}


    div.b {
  text-align: left;
}


    div.c {
  text-align: right;
}

div.c {
  text-align: 
    justify;
}  p{
    text-align:center;/*values: center, left, right, etc...*/
}
Source

Also in CSS: