Text Content
HTML <wbr> element
Provides an optional line-break opportunity within a long word or string. It does not force a new line. A browser may wrap at this point when space is insufficient. Unlike br, it does not create a mandatory line break, and unlike a soft hyphen it does not display a hyphen when used. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<wbr>Return Value
HTMLElement
Content model: Empty; this void element cannot contain children and must not have an end tag. No closing tag.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>HTML example</title> </head> <body> <p> verylong <wbr> identifier <wbr> name </p> </body></html>