DEV Community

Cover image for HTML tags | wbr
Carlos Espada
Carlos Espada

Posted on

HTML tags | wbr

It is used to specify where in the text there can be a line break. When a text is too long, the browser will cut it where it deems appropriate. With <wbr> opportunities are indicated for it to do it where we want.

It has an opening tag but not a closing tag, despite being an empty element.

It does not introduce a hyphen at the cut point of the text. If you want to achieve this effect, you have to use the entity &shy;.

  • Type: inline
  • Self-closing: No
  • Semantic value: No

Definition | Example | Support

Discussion (0)