Home HTML HTML bdi Tag with Example

HTML bdi Tag with Example

7
0

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.

Sample Code

<p>HTML bdi tag example by <bdi>פרטי</bdi>.</p>

Sample Result

HTML bdi tag example by פרטי.

Tip: You can see the complete List of HTML Elements here.

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.

Previous articleHTML basefont Tag with Example
Next articleHTML bdo Tag with Example
Hi there, I am Mayank, the man behind Technical Mack. I started AspnetO with a motive to educate people on various programming languages ranging from beginners to expert level. Through this blog, I aim to provide more insightful content.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

three + 9 =