text align justify css 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 right
body {
text-align: right;
}
Example 5: text-align attribute in css
text-align:inherit;
Example 6: 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.