<!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">&#x05D0;</div>
  <div class="inline-block" dir="rtl">&#x05D1;</div>
  (3 things total).
   </div>
 </body>
</html>