DEV Community

Raghav Rathi
Raghav Rathi

Posted on β€’ Edited on

4

πŸ”€: Reverse String using HTML Tag Only

πŸ‘©β€πŸ’»: Code

<div>
    <bdo dir="ltr"> Normal Text </bdo>
    <bdo dir="rtl"> Reversed Text </bdo>
</div>
Enter fullscreen mode Exit fullscreen mode

πŸ–₯️: Output

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay