TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML bdo Tag

HTML bdo Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <bdo> tag

HTML <bdo> tag stands for "bidirectional override" which is used to overrides the current/default text direction. This tag sets the direction of content within it to render on browser from left to right or right to left.

The <bdo> tag is useful for the languages which are written from right to left such as Arabic and Hebrew.

Syntax

<bdo dir=" "> Content......</bdo>

Following are some specifications about the <bdo> tag

Display Inline
Start tag/End tag Both start and End tag
Usage textual

Example

<!DOCTYPE html>
<html>
<head>
	<title>Bdo tag</title>
 </head>
<body>
     <h2>Example of HTML bdo tag</h2>
     <p style="color:#ff4040">This is Normal Content with default directionality</p>
     <p>This is with left to right directionality:
         <bdo dir="ltr" style="color: #5f9ea0">A beautiful Flower</bdo>
     </p>
      <p>This is with right to left directionality:
         <bdo dir="rtl" style="color:#68228b">A beautiful Flower</bdo>
      </p>
 </body>
</html>
Test it Now

Output:

HTML bdo tag

Attributes

Tag-specific attributes

Attribute Value Description
dir
ltr Defines the directionality from left to right.
rtl Defines the directionality from right to left.

Global Attributes

The <bdo> tag supports the Global attribute in HTML.

Event Attributes

The <bdo> tag supports the Event attribute in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<bdo>YesYesYesYesYes
Next TopicHTML big Tag




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf