Tuesday, 7 March 2023

HTML BDO(Bidirectional) Tag

 

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

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

Example:

<html>

                <head>

                                <title>Body and its attribute</title>

                </head>

                <body bgcolor="pink">

                            <center>

                                    <bdo dir="rtl"> Rajneesh</bdo><br>

                                    <bdo dir="ltr"> Rajneesh</bdo>

                                 </center>

              </body>

</html>




No comments:

Post a Comment

Full Form of IT and ITes Industry

                                                 Full Form (IT and ITeS) ICT - Information Communication Technology IT - Information Tec...