This is a test to check some bidi behavior. This paragraph has no dir attribute. Nor does the next:

עברית

This is a test to check some bidi behavior. This paragraph has a dir="auto" attribute. So does the next:

עברית

This is a test to check some bidi behavior. This paragraph has a dir="ltr" attribute. So does the next:

עברית

This is a test to check some bidi behavior. This paragraph has a dir="rtl" attribute. So does the next:

עברית

This is a test to check some bidi behavior. This paragraph has a dir="lro" attribute. So does the next:

עברית

This is a test to check some bidi behavior. This paragraph has a dir="rlo" attribute. So does the next:

עברית

Here is serious use of the dir attribute: The Hebrew word for "Hebrew" is עברית, but since Hebrew letters have intrinsic right-to-left directionality, I had to type the word starting from the letter "ע", i.e. עברית.