What is the HTML bdo Tag

What Is the HTML <bdo> Tag

web designing theory

What Is the HTML <bdo> Tag

syntax 

 Syntax of HTML <bdo> tag


<bdo>
.
.
</bdo>

What Is the HTML <bdo> Tag

Example 


<!DOCTYPE html>
<html>
    <body>

      <h1> bdo Tag html </h1>
       <bdo dir="ltr">webdesigningtheory.blogspot.com</bdo><br>
        <bdo dir="rtl">webdesigningtheory.blogspot.com </bdo>
    </body>
</html>

What Is the HTML <bdo> Tag

Explain Program

Step  1] 

<!DOCTYPE html>

This declare the document type.

browser that the document is written in html

Step 2 ]

<html>.... . </html>

html is the root element of the html page.

 Every thing inside it is part of the webpage.

Step 3]

<head>.....</head>

head section contain metadata  about the webpage information 

for the browser not display on the webpage.

Step 4]

      <h1> bdo Tag html </h1>

webpage displays a heading with  the text.

bdo tag html  overrides the natural direction of the text.

<h1> is largest heading size.

Step 5]

<bdo dir="ltr">webdesigningtheory.blogspot.com</bdo><br>

  <bdo> stands for Bi-Directional Override.

 allows you to force direction which text is displayed.

 <dir="ltr">......</bdo>     mean show content from  Left to Right  

Step 6]

<bdo dir="rtl">webdesigningtheory.blogspot.com </bdo>

<dir="rtl"> 

 show text Right to Left.(reversed starting from right side)

Step 7]

<br>

line break  move the next text to new line.

Step 8]

closing the Tag


</body>

 </html>

What Is the HTML <bdo> Tag
Output


What Is the HTML <bdo> Tag







Related Post :-

how to use pre tag

html heading tag

how to use the image tag html

Comments

Popular posts from this blog

What Is CSS Text Color in 2026

CSS Padding Property Explained

CSS Outline Color Property in 2026