Skip to content
Related Articles

Related Articles

Improve Article

HTML 5 <bdi> Tag

  • Difficulty Level : Medium
  • Last Updated : 17 Feb, 2021
Geek Week

The <bdi> tag refers to the Bi-Directional Isolation. It differentiates a text from other text that may be formatted in a different direction. This tag is used when a user-generated text with unknown directions.
Note: This tag is new in HTML5.


<bdi> Contents... </bdi>

Example: The below example illustrate the bdi tag. 


<!DOCTYPE html>
    <!--This is heading Tag -->
    <!--bdi Tag used in unordered list -->
      <li><bdi class="name">Himanshu Jha</bdi>: indian name</li>
      <li><bdi class="name">الرجل القوي إيان</bdi>: arabic name</li>


Supported Browsers: 

  • Google Chrome
  • Firefox
  • Opera
  • Safari

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :