HTML Tag Reference - HTML tag <bdi>

The <bdi> isolates text from other content for the text directionality. The browser determines the directionality automatically.

Browser compatibility

<bdi> Yes No Yes No No

What's new in HTML5

The <bdi> tag is new in HTML5.

Global Attributes

The <bdi> tag supports the Global Attributes in HTML.

Event Attributes

The <bdi> tag supports the Event Attributes in HTML.

Default CSS Settings



A demo showing how to use bdi tag.


Click to view the demo