HTML & CSS · Senior · Question 44 of 75

You're designing the CSS architecture of a multilingual site including Arabic (RTL) and Japanese. What should you plan for?

Explanation

Logical properties (margin-inline-start, inset-inline-end) mirror the layout automatically for RTL with dir="rtl". lang is needed for correct fonts, hyphenation and quotes, and :lang() for language-specific styles. Text length varies across languages, so fixed widths break. CJK needs its own fonts and line-breaking rules (word-break, line-break).

Further reading

Problem with a question

HTML & CSS · Senior · question 44

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