Q
Which CSS property is NOT inherited by child elements by default?
-
A
border
-
B
line-height
-
C
font-family
-
D
color
Correct Answer:
A. border
Explanation:
Text-related properties usually inherit. Box properties such as border, margin, and padding do not.