css alignment attribute code example
Example 1: css text align justify
div {
text-align: justify;
text-justify: inter-word;
}
Example 2: css text align center
body {
text-align: center;
}
div {
text-align: justify;
text-justify: inter-word;
}
body {
text-align: center;
}