I Can't Set the background Color Using HTML for the Whole page except I put a text for that! in HTML/XHTML Posted January 16, 2020 To Whom may concern, I was making a background color for HTML using visual studio, I used this code for set the background color: <html> <head> <title>Page Title</title> </head> <body style="background-color: aqua"> A text. </body> </html> But When I saw the preview for that, It's just set the background text for TEXTS that typed in Body. I want to make it for the whole page. I already tried this code for set the background color: <html> <head> <title>Page Title</title> </head> <body bgcolor="aqua"> A text. </body> </html> Is there any way for me to do the whole page by a specific color?
I Can't Set the background Color Using HTML for the Whole page except I put a text for that!
in HTML/XHTML
Posted
To Whom may concern,
I was making a background color for HTML using visual studio, I used this code for set the background color:
<html>
<head>
<title>Page Title</title>
</head>
<body style="background-color: aqua">
A text.
</body>
</html>
But When I saw the preview for that, It's just set the background text for TEXTS that typed in Body. I want to make it for the whole page. I already tried this code for set the background color:
<html>
<head>
<title>Page Title</title>
</head>
<body bgcolor="aqua">
A text.
</body>
</html>
Is there any way for me to do the whole page by a specific color?