• Seo Expert
  • Khaali Paper

Word-Wrap: Force Text to Wrap

The word-wrap, line breaking or word wrapping property is the process of breaking a long words to be fit in the available width of a page or display area. It wrap the text onto the next line. The word wrap property splits next line when it gets to the end of a page or text field. Using word-wrap property force long text to wrap in a new line by specifying break-word css. The word-wrap property is used to wrap the text to next line.

break-word css
.wrap-text {
   word-wrap: break-word;
   white-space: nowrap;
}

<div class="wrap-text">The word-wrap, line breaking or word wrapping property is the process of breaking a long words to be fit in the available</div>

“word-break: break-all”