Latest web development tutorials

HTML <bdi> tag

Examples

The username isolated from the surrounding text direction settings:

<ul>
<li>用户 <bdi>hrefs</bdi>: 60 分</li>
<li>用户 <bdi>jdoe</bdi>: 80 分</li>
<li>用户 <bdi></bdi>: 90 分</li>
</ul>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

At present, only Firefox and Chrome supports <bdi> tag.


Tag definitions and instructions

bdi refers bidi isolation (Bi-directional Isolation).

<Bdi> tag allows you to set a piece of text, text direction away from the parent element settings.

When publishing user comments or other content that you can not fully control, the label is useful.


Differences between HTML 4.01 and HTML5

<Bdi> tag HTML5 is the new label.


Global Properties

<bdi> tag supports HTML global properties .


Event Properties

<bdi> tag supports HTML event properties .