HTML & CSS Wiki
Advertisement

This non-standard, browser-specific element is not recommended. Authors should generally find an alternative way to accomplish the same task while adhering to all best practices, or simply do without it if it is unimportant.



The void HTML <wbr /> element marks a place where line breaks are allowed. Therefore it is a conditional <br /> element, in that it does not force a line break, but instead permits one where a break would otherwise be forbidden. The only positive support for this element is in the Netscape web browser.

Attributes[]

This element does not accept any attributes.


HTML example:

<nobr>
All these words, no matter how long and boring they are, 
will never contain any line breaks whatsoever, 
so if you wish for line breaks to appear, 
then your wish shall be granted right <wbr /> here.
</nobr>


See Also[]

Advertisement