NOBR and WBR Elements


<NOBR> and </NOBR> mark a block of text that should not contain line breaks -- line breaks are forbidden, and the text will be presented as a single line, without any word wrapping. This is useful for text that you do not wish to be broken at word spaces, regardless of the page layout.

You can use <WBR> element inside <NOBR> to allow for optional word breaks. Inside <NOBR>, a <WBR> marks a place where line breaking is allowed. <WBR> is thus a conditional <BR> element, in that it does not force a line break, but instead permits one where a break would otherwise be forbidden. Note that <WBR> does not require a closing tag.

Example Picture