Advanced HTML & CSS
Q91 / 100

What is the purpose of CSS "logical properties" like "margin-inline-start" versus physical properties like "margin-left"?

Correct! Well done.

Incorrect.

The correct answer is B) Logical properties adapt to the document's writing mode and text direction (LTR vs RTL), so "margin-inline-start" maps to "margin-left" in LTR but "margin-right" in RTL, simplifying internationalized layouts

B

Correct Answer

Logical properties adapt to the document's writing mode and text direction (LTR vs RTL), so "margin-inline-start" maps to "margin-left" in LTR but "margin-right" in RTL, simplifying internationalized layouts

Explanation

Logical properties reference flow-relative directions (block/inline, start/end) rather than fixed physical directions, automatically adapting layouts for different writing modes and text directions without separate RTL-specific overrides.

Progress
91/100