Computer Science, asked by darmita60, 1 year ago

HTML CODE TO CREATE WEBPAGE WITH
Back Ground Colour "green" or "yellow" and text
Colour "Red" or "Blue".

plz answer this question ​

Answers

Answered by tejasgupta
7

To change the web page's background color, the bgcolor attribute of the body tag is used.

To change the text color of the complete webpage, the text attribute of the body tag is used.

_________________________________________

< html >

< head > < title > Anything you want < /title > < /head >

< body bgcolor="green/yellow" text="red/blue" >

.

.

.

< /body >

< /html >

Answered by Anonymous
24

 verify=answer

⠀⠀⠀

{\underline{\boxed{\mathcal{\pmb{\quad GIVEN-Answer\quad}}}}}⠀⠀⠀⠀⠀⠀⠀⠀⠀

To change the web page's background color, the bgcolor attribute of the body tag is used.

To change the text color of the complete webpage, the text attribute of the body tag is used.

_________________________________________

< html >

< head > < title > Anything you want < /title > < /head >

< body bgcolor="green/yellow" text="red/blue" >

.

.

.

< /body >

< /html >

_____________________________________

Similar questions