Advertisements
Advertisements
प्रश्न
Aarav is designing a webpage and wants to set the background color and text color. Write code to achieve this using HTML attributes.
कोड लेखन
Advertisements
उत्तर
Aarav can use the bgcolor attribute to set the background color and the text attribute to set the text color in HTML.
Example:
<body bgcolor="yellow" text="red">shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
