- From: <w3t-archive+esw-wiki@w3.org>
- Date: Fri, 06 Jan 2006 16:38:23 -0000
- To: w3t-archive+esw-wiki@w3.org
Dear Wiki user, You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification. The following page has been changed by RichardIshida: http://esw.w3.org/topic/geoQuickTips ------------------------------------------------------------------------------ 9. '''Right-to-left text.''' For XHTML, add dir="rtl" to the html tag. Only re-use it to change directionality. + Text in languages such as Arabic, Hebrew, Persian and Urdu is read from right to left. This reading order typically leads to right-aligned text and mirror-imaging of things like page and table layout. You can set the default alignment and ordering of page content to right to left by simply including dir="ltr" in the html tag. + + The direction set in the html tag cascades down through all the elements on the page. It is not necessary to repeat the attribute on lower level elements unless you want to explicitly change the directional flow. + + Embedded text in, for example, Latin script still runs left to right within the overall right to left flow. So do numbers. If you are working with right to left languages, you should become familiar with the basics of the Unicode bidirectional algorithm. This algorithm takes care of much of this bidirectional text without the need for intervention from the author. There are some circumstances, however, where markup or Unicode control characters are needed to ensure the correct effect. + + Amongst other things, the [http://www.w3.org/International/ W3C internationalization resources] provide information about [http://www.w3.org/TR/i18n-html-tech-bidi/ how to work with right to left scripts], and a gentle introduction to the [http://www.w3.org/International/articles/inline-bidi-markup/ basics of handling inline bidirectional text]. + 10. '''Check your work.''' Validate! Use techniques, tutorials, and articles at [http://www.w3.org/International/ http://www.w3.org/International/]
Received on Friday, 6 January 2006 19:33:01 UTC