<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>vertical bidi</title>
    <style type="text/css">
div {
  writing-mode: vertical-rl;
  text-orientation: sideways-right;
  height:       200px;
  width:        100px;
  text-align:   end;
  background:   yellow;
  line-height:  1.5em;
}
    </style>
  </head>
  <body>
    <div>xyz <b>ג bar</b> ב foo א abc</div>
  </body>
</html>