The bdi stands for Bi-directional Isolation. HTML <bdi> tag represents a part of text that must be formatted in a different direction from the text surrounding it.
The <bdi> tag is mostly useful when embedding user-generated content with an unknown directionality. It is commonly used when including language written with right-to-left scripts in a document.
Note: HTML <bdi> tag is newly introduced in HTML5.
HTML bdi tag example by פרטי.
Standard Attributes Support
HTML <bdi> tag supports HTML Attributes. You can get more details about available HTML Attributes here.
Event Attributes Support
HTML <bdi> tag supports Event Attributes. You can get more details about available HTML Event Attributes here.