From: Richard Ishida (firstname.lastname@example.org)
Date: Tue Dec 18 2007 - 02:50:39 CST
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Behnam
> Sent: 18 December 2007 02:34
> And why do we need language tag in HTML or other formats if
> this property is defined within the encoded paragraph?
As Jony said, you need direction attributes, not language tags. Wrt why those are needed in HTML:
 'paragraphs' are defined by markup in HTML, since whitespace (including newlines etc) in the source is normalized for display
 attribute values in HTML affect more than a 'paragraph' at a time - a single dir="rtl" at the top of a document may be all you need for the whole document, and this will affect things like ordering of table columns as well as stuff internal to paragraphs.
 the bidi algorithm is often insufficient to resolve potential ambiguities in embedded mixed direction text, and markup can be used to set the needed directional context for the embedded text (see http://www.w3.org/International/articles/inline-bidi-markup/ )
W3C (World Wide Web Consortium)
This archive was generated by hypermail 2.1.5 : Tue Dec 18 2007 - 02:51:29 CST