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: 25-Jun-2020

45 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements