FANDOM


The word-break property is used in CSS and certain HTML elements. This property controls the line breaking behavior within words. It is especially useful in cases where multiple languages are used within an element.

Values

  • normal - Normal line breaking behavior for the language is used.
  • break-all - Useful where content contains a majority of Asian character set content, to which this value behaves like normal. Non-Asian character set content may be arbitrarily broken across lines.
  • keep-all - Useful where content contains a minority of Asian character set content, to which content is not broken across lines. For non-Asian character set content, this value behaves like normal.


HTML example:

<span style="word-break:normal;">Normal word breaking.</span>


CSS example:

h1 {
    word-break:normal;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.