English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Online-Tools

Referenzhandbuch

HTML: <wbr> Tag

: <progress> - Tag

HTML <wbr> - Ein Textposition, wo der Browser eine Zeilenumbruch auswählen kann, obwohl die Zeilenumbruchregeln möglicherweise hier nicht umgebrochen werden.

Online-Beispiel

Beispiel//<p>http:/dies<wbr>.ist<wbr>.ein<wbr>.wirklich<wbr>.langer<wbr>.Beispiel<wbr>.com/seiten<wbr>/ebener<wbr>/mit<wbr>/seiten<wbr>/ebener<wbr>/mit<wbr>/seiten<wbr>/ebener<wbr>/mit<wbr>/seiten<wbr>/ebener<wbr>/mit<wbr>/seiten<wbr>/ebener<wbr>/seiten</p>
Testen Sie, um zu sehen, ‹/›

in UTF-8 kodierten Seite, <wbr> wird als U+200B ZERO-WIDTH SPACE (Nullbreit Leerzeichen) Zeichencodes. Besonders, es zeigt sich als Unicode bidi BN Zeichencodes, das heißt, es beeinflusst bidi-ordering hat keinen Einfluss: <div dir=rtl>123,<wbr>456</div> Anzeige 123,456 statt 456,123Wenn nicht in zwei Zeilen aufgeteilt.
For the same reason, the <wbr> element will not introduce hyphens at line breaks. To make hyphens appear only at the end of the line, use the hyphen soft entity (&shy;) instead.
This element was first introduced in Internet Explorer 5.5 implemented, and in HTML5 Officially defined in

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the <wbr> tag, except for Internet Explorer.

Tag Definition and Usage Description

<wbr> (Word Break Opportunity) Tag specifies where it is appropriate to add a line break in the text.

Tip:If a word is too long, or you worry that the browser may break lines at the wrong position, you can use the <wbr> element to add Word Break Opportunity (word break timing).

HTML 4.01 and HTML5Differences Between

The <wbr> Tag is an HTML5 New Tags.

Global Attributes

Support for <wbr> Tag Global Attributes of HTML.

Event Attributes

Support for <wbr> Tag HTML Event Attributes.