text-align justify code example
Example 1: how to justify text in html
<p align="justify">
Example 2: css text align justify
div {
text-align: justify;
text-justify: inter-word;
}
Example 3: text align justify
text-align: justify;
Example 4: css text align center
body {
text-align: center;
}
Example 5: what is text-justify in css
The text-justify property in CSS is a companion to the text-align property that is used to set the justification method of text when text-align is set to the justify value.