HTML & CSS · Senior · Question 72 of 75

Why use dir="auto" on user-generated content such as comments?

Explanation

Mixed-direction text without it shows punctuation and numbers in the wrong places. <bdi> isolates short inline snippets like usernames.

Further reading

Problem with a question

HTML & CSS · Senior · question 72

Test yourself

Take the HTML & CSS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz