<bdi> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:bdi

Introduction

The bdi element marks text isolated from other content for text display directionality.

You use bdi element to display content whose directionality information is not available.

The bdi Element summary

Item Value
Element bdi
Local Attributes None
Tag Style Start and end tag
New in HTML5 Yes
Changes in HTML5 N/A
Style Convention None

Using the bdi Element

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
      <title>Example</title> 
   </head> 
   <body> 
      <p>
         <bdi>
            abcd<!--from w  w  w. java 2 s .c o m-->
         </bdi>
         test
      </p> 
      <p>
         <bdi>
            Joe
         </bdi>
         test
      </p>  
   </body>
</html>

Related Tutorials