msdn里有详细的说明我举一个吧DIR Attribute | dir Property------------------------------------------------------------------Sets or retrieves the reading order of the object. SyntaxHTML <ELEMENT DIR = sDir... >  
Scripting object.dir [ = sDir ] Possible ValuessDir String that specifies or receives one of the following values:ltr Default. Content flows left to right. 
rtl Content flows right to left. 
 The property is read/write. The property has a default value of ltr.Expressions can be used in place of the preceding value(s), as of Microsoft&reg; Internet Explorer 5. For more information, see Dynamic Properties.ResUnless explicitly set, the dir property will have no return value when accessed in script.The property does not affect alphanumeric characters in Latin documents. These characters always render ltr. However, the property does affect punctuation characters in Latin documents.