Write the html codle to make the background colour
as grey and text colour as Red-
Answers
Answered by
2
Answer:
<html>
<head>
<title></title>
<style>
body {
background-color :grey;
color : red;
}
</style>
</head>
<body>
WELCOME TO HTML
</body>
</html>
Explanation:
here i am using an internal css with style tag before the body tag and apply required background color and text color to the content inside the body tag.
Answered by
0
Html code to make the background color as grey and text color as Red:
<html>
<head>
<title></title>
<style>
body {
background-color :grey;
color : red;
}
</style>
</head>
<body>
Brainly
</body>
</html>
The background-color property sets the background color of a page or element. The background of an element is the total size of the element which included padding and border.
#SPJ2
Similar questions