What us the correct html for adding a background color?
Answers
Answered by
0
here is ur answer .....
<html>
<head>
<title> megha.com </title>
</head>
<body bgcolor="pink">
time is money
</body>
</html>
hope it heps u.☺☺☺
<html>
<head>
<title> megha.com </title>
</head>
<body bgcolor="pink">
time is money
</body>
</html>
hope it heps u.☺☺☺
Answered by
17
<body bgcolor="yellow"> is the correct HTML co-de for adding a background color.
Explanation:
The HTML co-de goes as follow:
<html>
<head>
<title>bgcolor example</title>
</head>
<body bgcolor="yellow">
<h1>Source: Brainly</h1>
<p>You can write some content here</p>
</body>
</html>
For output, refer to [ATTACHMENTS] given below.
You can download the file given in the attachments, save it with .html extension, run it to get the output.
Learn more:
1. The correct sequence of HTML tags for starting a webpage is
https://brainly.in/question/31109764
2. Create an html page with 7 separate lines in different colors.
brainly.in/question/35010731
Attachments:
Similar questions