The CSS text module defines how to perform text manipulation, like line breaking, justification and alignment, white space handling, and text transformation.
hanging-punctuationhyphenate-characterhyphenate-limit-charshyphensletter-spacingline-breakoverflow-wrap (and the word-wrap alias)tab-sizetext-aligntext-align-lasttext-indenttext-justifytext-autospacetext-spacing-trim Experimental
text-transformtext-wraptext-wrap-modetext-wrap-stylewhite-spacewhite-space-collapseword-breakword-spacingThe specification also defines the hyphenate-limit-last, hyphenate-limit-lines, hyphenate-limit-zone, line-padding, text-align-all, text-autospace, text-group-align, text-spacing, white-space-trim, word-space-transform, wrap-after, wrap-before, and wrap-inside properties, which are not yet supported by any browser.
A guide to the various ways in which overflowing text can be managed in CSS.
| Specification |
|---|
| CSS Text Module Level 3> |
| CSS Text Module Level 4> |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_text