👨💻
👨💻
👨💻
👨💻
TIL - Today I Learned
Search…
Introduction
Computer Science
Algorithms
Data Structures
Design Patterns
Other
Software Engineering
Requirements engineering
Personal Development
Fixed vs Growth Mindset
TIL - Today I Learned
TypeScript
JavaScript
HTML
<progress>
<bdo>
<base>
SASS
Git
Developer Tools
ugross.dev
Powered By
GitBook
<bdo>
ℹ️ <bdo> tag is used to change the direction of a text (RTL/LTR).
Description
The HTML Bidirectional Text Override element
<bdo>
overrides the current directionality of text, so that the text within is rendered in a different direction.
Example
<
bdo
dir
=
"
rtl
"
>
Hello
</
bdo
>
World!
You can control direction using
dir
attribute:
dir="rtl"
- Text goes from right to left.
dir="ltr"
- Text goes from left to right.
Previous
<progress>
Next
<base>
Last modified
1yr ago
Copy link
On this page
Description
Example