Controlling text flow on a pageYou can control how text flows by inserting line break (<br>) or nobreak (<nobr>) elements at the end of the lines in a paragraph. For example, when you want a line to break at a particular word, you can use the line break element to force all browsers to break the line there regardless of the size of the browser window. When you want to keep two words together and never break them up regardless of the size of the window, use nobreak elements. You can use the clear attribute together with the line break element to cause a broken line to clear an image before it continues on in the text flow. Also, by using line break elements, you can control the spacing between paragraphs rather than letting Web browsers determine how much space is needed. To insert the nobreak element:
To insert the line break element:
Do one of the following: ![]() The line breaks at the same position regardless of browser window size. A. Line break marker B. Line Break icon To control how text breaks after an object in the line:
Note: When wrapping text around an object inside a floating box, the object must be left-aligned or right-aligned for the Clear attribute to work as expected in the HTML text flow. |