<!DOCTYPE html> <html> <head> <style type="text/css"> .flipped { direction: rtl; unicode-bidi: bidi-override; } </style> </head> <body><div class="flipped">AB</div> </body> </html>