Continue

 Text Direction

The <bdo>...</bdo> element stands for Bi-Directional Override and it is used to override the current text direction.

Example

<!DOCTYPE html>

<html>

<head>

<title>Text Direction Example</title>

</head>

<body>

<p>This text will go left to right.</p>

<p><bdo dir="rtl">This text will go right to left. </bdo></p>

</body>

</html>


This will produce the following result:

This text will go left to right.

This text will go right to left.

Comments

Popular Posts