Microsoft Word banner image.

To achieve the equivalent in HTML, see The <wbr> tag.

Considering the fact that URLs are most often lengthy, you might find yourself in a situation where you want to “wrap” them over more than one line. Up until recently, I have been using a soft-enter (SHIFT + ENTER) to start a new line in a paragraph before the end of the line is reached. The HTML equivalent of a soft-enter is the line-break: <br />.


When it is necessary to wrap a URL over 2 or more lines we make the break in the following places:

After a single forward slash usually produces the best results..

  • After a : (colon) or a // (double forward-slash)
  • After a / (single slash), a ~ (tilde), a . (full stop), a , (comma), a - (hyphen), an _ (underscore), a ? (question mark), a number sign, or a % (percent symbol)
  • Before or after an = (equals sign) or an & (ampersand)


The correct way to address this is to use a special character called a No-Width Optional Break. This ingenious little character specifies at which point the text could wrap to the next line should it be necessary.

Inserting a No-width Optional Break in Microsoft Word.A No-width Optional Break in Microsoft Word.
  1. Activate the Insert menu, click the Symbol option & select More Symbols…
  2. Activate the Special Characters tab
  3. Scroll down and select the No-Width Optional Break
  4. Click the Insert command button then close the dialog window



By MisterFoxOnline

CAT Educator

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.