The list below has been set to dir='rtl'. This causes punctuation such as list bullets and list numbers to be placed to the right and content to be generally right aligned. RTL Paragraphs and Documentsįor documents entirely in an RTL script, it’s important to specifiy the direction as being rtl (vs. Modern Unicode systems support logical order meaning that letters are typed in the correct sequence and are displayed as RTL text by default. This was called Visual Order and should be avoided.
In some older documents, particularly for Hebrew, individual letters might have been typed backwards in an LTR system in order to appear in the 'correct' order in a LTR-only environment.
See the following pages for examples and information. The same is true when inserting characters via entity code. That means if you activate a Unicode compliant keyboard, then the direction will be automatically changed for characters in an RTL language. () ) can have different display behaviors depending on the adjacent script. Note that some punctuation like brackets (. Many including Latin A,B,C, etc are encoded as LTR (left to right), but characters from RTL scripts such as Arabic, Hebrew and others are encoded as being RTL. The Unicode specification includes a directionaly specification for each character depending on its script.