Which of the following property is used to control the text direction, much like the dir attribute for (X)HTML tags?

left
right
direction
direct

The correct answer is C. direction.

The direction property is used to control the text direction, much like the dir attribute for (X)HTML tags. It can be set to ltr (left-to-right) or rtl (right-to-left).

The left and right properties are used to control the alignment of text within a block element. The left property aligns text to the left, while the right property aligns text to the right.

The direct property is not a CSS property.

Exit mobile version