css text justify

CSS
div {
  text-align: justify;
  text-justify: inter-word;
}text-align: justify;<switch>
    h1 {
    text-align: center;
}

p.date {
    text-align: right;
}

 
p.main {
    text-align: justify;
} 
</Switch>
Source

Also in CSS: