Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Word wrap is a word processing feature that forces all text to be confined within defined margins. When a line of text is filled, the word processor automatically moves the text to the next line, so the user doesn't have to press the return key after every line. Word wrap also occurs if the document's margins are changed.
Word wrap is a text editor or word processor feature that breaks lines between words to adjust them within specified margins. This action is performed on the fly; if the user changes the margin, the line is automatically repositioned to ensure that the text is within margins and is visible.
Breaks that occur as a result of word wrapping are called soft returns, while hard returns create new paragraphs. Soft returns are placed at the end of complete words or following the punctuation at the end of a sentence. Words without hyphens may also be wrapped to the following line using soft hyphens.
Word wrapping is performed using algorithms. It is generally implemented based on minimum word length to provide the best appearance and readability.