HTML <bdi> Tag
In this tutorial, we will learn about bdi tag in HTML with the help of examples.
<bdi> Tag
Bdi tag <bdi> is used to embed text with a different direction from another text.
BDI stands for Bi-Directional Isolation.
Syntax
<bdi>....</bdi>
Example
<!DOCTYPE html>
<html>
<head>
<title>Bdi Tag</title>
</head>
<body>
<bdi>It's harder to read code than to write it.</bdi>
</body>
</html>
Output
It's harder to read code than to write it.
Global Attribute
Bdi Tag support all the global attributes of HTML.
Event Attribute
Bdi Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of <bdi> tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML bdo
Tag.