10 Jul HTML5 bdi tag
The full form of BDI is Bi-Directional Isolation. If you want to print a text that is different in direction (such as right-to-left) from the texts surrounding it, then use the HTML5 bdi tag. Here, you can consider an example of Arabic language, which is right-to-left.
Let’s say you want to include user-generated content, with directional, known only to the user. For that, use <bdi> tag,
<title>Understanding HTML5 bdi tag</title>
Favorite tourist destination selected by users,
Here’s the output showing the usage of HTML5 bdi tag,