How to make words wrap as they do in a "Word Doc". Either the entire word is moved to the next Line or it is auto hyphenated at the syllable break.
try this :
it will move the entire word to the next line , which suits your need
<textarea style="width:100px; word-wrap:break-word;"> </textarea>
Demo
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.