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,

Example

Here’s the output showing the usage of HTML5 bdi tag,

HTML5 bdi tag

HTML5 aside Tag
HTML5 canvas tag
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue Reading