源代碼
點擊運行
<html> <head> <meta charset="utf-8"> <title>教程</title> <style type="text/css"> div.ex1 {direction:rtl;} </style> </head> <body> <div>一些文本。 默認書寫方向</div> <div class="ex1">一些文本。從右到左的書寫方向。</div> </body> </html>
運行結果