HTML and CSS Reference
In-Depth Information
Name
wbr
Synopsis
<wbr> (XHTML: <wbr/> or <wbr /> )
Not in HTML 4.01 . Represents a line break opportunity within a word, allowing the author
to instruct at which point a long word should optimally break. The line will only break at the
location of the wbr element if it needs to.
Usage
Categories:
Flow content, phrasing content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Empty
Start/end tags:
This is an empty (void) element, meaning it has only a start tag and may not have any con-
tents. In HTML, the end tag is forbidden. In XHTML, the element must be closed with a
trailing slash ( <wbr/> or <wbr /> ).
Attributes
HTML5 Global Attributes
Example
<p>The biggest word you've ever heard & this is how it goes:
<em>supercali <wbr> fragilistic <wbr> expialidocious</em>!</p>
Search WWH ::




Custom Search