H14-231_V1-0 practice question 3 of 35

When developing a HarmonyOS application, if you want to set the background color for a Text component in the page, the following is correct

Full set: 699 questions
Answer options
A: ohos:background_element="$graphic:background
B: ohos:background_element="$color:green"
C: ohos:background_element="#0000FF"
D: ohos:background_element="#880000FF"
Correct Answer:
ABCD
Scroll to Top