HTML - <bdo> Tag


Advertisements


Description

The HTML <bdo> tag is used to override the default text direction.

Example

Live Demo
<!DOCTYPE html>
<html>

   <head>
      <title>HTML bdo Tag</title>
   </head>

   <body>
      <bdo dir = "rtl">Here's some English embedded in text in another language
         requiring a right-to-left presentation.</bdo>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in HTML Attribute Reference

Specific Attributes

The HTML <bdo> tag also supports the following additional attributes −

Attribute Value Description
dir ltr|rtl Defines the text direction.

Event Attributes

This tag supports all the event attributes described in HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes

html_tags_reference.htm

Advertisements