English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Das HTML <bdi>-Element (bidi-seitiges Isolationselement) isoliert externen Text, der möglicherweise in einer anderen Richtung formatiert wird. Wenn die Richtung des eingefügten Textes nicht bekannt ist, z.B. Text aus einer Datenbank (mit Textdirection), ist dieses Element sehr nützlich.
Trennen Sie den Benutzernamen aus der umgebenden Textausrichtung heraus:
!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Grundlagen-Tutorial(oldtoolbag.com)<//title> </head> <body><ul> <li><bdi class="name">Evil Steven</bdi>: 1st place</li> <li><bdi class="name">François fatale</bdi>: 2nd place</li> </ul> </body> </html>Test and See ‹/›
IEFirefoxOperaChromeSafari
bdi stands for bidi isolation (Bi-directional Isolation).-Directional Isolation).
The <bdi> tag allows you to set a block of text so that it is independent of the text direction setting of its parent element.
It is very useful when publishing user comments or other content that you cannot fully control.
<bdi> Tag is an HTML5 New Tags.
Support for <bdi> Tag Global Attributes of HTML.
Support for <bdi> Tag HTML Event Attributes.