Fandom

HTML & CSS Wiki

Wbr

649pages on
this wiki
Add New Page
Comments0 Share

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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.