Basic HTML scenarios with dir="rtl"

This is a very basic table with no customizations to the <body dir="rtl"> tag attribute. All values in this table should be shown right-to-left. In the case of Latin characters, this means preserving the reading order but aligning to the right, and putting punctuation marks on the left side of the sentence.

Column 1 Column 2

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

This site is best viewed with Firefox.

This site is best viewed with Firefox.




This table has field and row level alterations to the <body> tag's RTL standard. The rows and fields that should be aligned and punctuated LTR are R1, R2C2, R3C1 (through repeated overrides), and R4C1. Keep in mind that the columns are counted from right to left here.

Column 1 Column 2

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

This site is best viewed with Firefox.

This site is best viewed with Firefox.




This instance has a table-wide override of the <body>'s RTL attribute back to LTR. On top of that, several fields have been altered to again override the table-wide setting. The fields that should be aligned and punctuated LTR are again R1, R2C2, R3C1 (through repeated overrides), and R4C1. Keep in mind that the columns are counted from left to right here.

Column 1 Column 2

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

افضل تصفح هذا الموقع بواسطة فايرفوكس.

This site is best viewed with Firefox.

This site is best viewed with Firefox.