<!DOCTYPE HTML> <html> <head> <title>block-as-inline</title> <style> .inline-block {display: inline-block;} </style> </head> <body> <div> I like: <div class="inline-block">A</div> <div class="inline-block" dir="rtl">א</div> <div class="inline-block" dir="rtl">ב</div> (3 things total). </div> </body> </html>