Easy Tutorial
❮ Att Frame Src Att Input Alt ❯

HTML <bdi> Tag

Example

Isolate a username from the surrounding text direction settings:


Browser Support

Element
<bdi> Yes No Support Yes Yes Yes

Tag Definition and Usage

bdi stands for Bi-directional Isolation.

The <bdi> tag allows you to set a piece of text to be isolated from its parent element's text direction settings.

This tag is useful when publishing user comments or other content that you cannot fully control.


Differences Between HTML 4.01 and HTML5

The <bdi> tag is new in HTML5.


Global Attributes

The <bdi> tag supports HTML's global attributes.


Event Attributes

The <bdi> tag supports HTML's event attributes.

❮ Att Frame Src Att Input Alt ❯