You can insert a nonbreaking space between words to ensure that they always appear in the same line of text regardless of the width of the browser screen.
As you’re typing, press Option-Space bar, instead of just the Space bar, where you want the nonbreaking space.