Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

HTML 5 <bdi> Tag

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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 16 and above
  • Edge 79 and above
  • Firefox 10 and above
  • Internet Explorer not supported
  • Opera 15 and above
  • Safari 6 and above
My Personal Notes arrow_drop_up
Last Updated : 19 Jul, 2022
Like Article
Save Article
Similar Reads