Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

Isolate the username from the surrounding text direction settings:

<

ul

<

li

User

<

bdi

hrefs

bdi

: 60 points

li

<

li

User

<

bdi

jdoe

bdi

: 80 points

li

<

li

User

<

bdi

إيان

bdi

: 90 points

li

ul

Try it »


Browser support

Element
Yes Not supported Yes Yes Yes

Tag Definition and Usage Notes

bdi stands for bidi isolation (Bi-directional Isolation).

The tag lets you set a piece of text so that it is isolated from its parent element's text direction settings.

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


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.


Global Attributes

The tag supports HTML Global Attributes.


Event attribute

The tag supports HTML Event Attributes.