Word break, break all property in css

As the name describe “Word break” means break a lengthy word in 2 lines within given space/ container.

In style tag add following css property:

word-break: break-all;

And this will break your last lengthy word of container in 2 lines.

Example:

<p style=”word-break: break-all”>Your content here…</p>

This is example Container.

Here the last word “Container” break in 2 lines.

Leave a Comments

Your email address will not be published. Required fields are marked *