Justification changes spacing between words:
![]()
The text-justify property is currently supported only in Internet Explorer.
The text-justify property specifies the justification method to use when text-align is set to "justify".
This property specifies how justified text should be aligned and spaced.
| Default value: | auto |
|---|---|
| Inherited: | yes |
| Version: | CSS3 |
| JavaScript syntax: | object.style.textJustify="inter-word" |
| Value | Description | Play it |
|---|---|---|
| auto | The browser determines the justification algorithm | Play it » |
| inter-word | Increases/Decreases the space between words | Play it » |
| inter-ideograph | Justifies content with ideographic text | Play it » |
| inter-cluster | Only content that does not contain any inter-word spacing (such as Asian languages) is justified | Play it » |
| distribute | Like the newspaper value, except that in East Asian languages (such as Thai) the last line is not justified | Play it » |
| kashida | Justifies content by elongating characters | Play it » |
| trim | Play it » | |
| none | The justification is disabled | Play it » |
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The HTML5 Certificate documents your knowledge of advanced HTML5.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
Your message has been sent to W3Schools.