Set whether the text should be overridden to support multiple languages with CSS



Use the unicode-bdi property to set whether the text should be overridden to support multiple languages with CSS

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <style>
         p.demo1 {
            direction: rtl;
            unicode-bidi: bidi-override;
         }
         p.demo2 {
            direction: rtl;
            unicode-bidi: isolate;
         }
      </style>
   </head>
   <body>
      <h1>The unicode-bidi Property</h1>
      <p>This is demo text.</p>
      <p class = "demo1">This is demo text</p>
      <p class = "demo2">This is demo text</p>
   </body>
</html>
Updated on: 2020-06-25T10:23:25+05:30

105 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements