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

None





Example

A demo showing how to use bdi tag.

<!DOCTYPE HTML> 
<html> 
    <head> 
        <title>Example</title> 
    </head> 
<body> 
    <bdi>Level</bdi>
</body> 
</html>

Click to view the demo