Text-align w reading direction

Report a typo

You've created a multilingual page so that every user visiting it can get acquainted with the content in their native language. While developing you used 5 languages: German, English, Russian, Spanish, and Arabic. For the first four languages, the text on the page looks like intended. However, for Arabic, the alignment is to the left, when it should be to the right, since the direction of its reading is RTL. To fix this, you need to apply the property that, depending on the user's language settings, the text aligns with the reading direction. Write the correct property and the value.

Enter a short text
___

Create a free account to access the full topic