+ 1
how to set the background of the web page
3 Respostas
+ 2
Using html add the bgcolor attribute to the body tag:
<body bgcolor="#000099">
+ 1
Yeah don't use bgcolor, ever! Use CSS instead. Arav's answer works, but the clean way to do it is like this:
<html>
<head>
<style>
body{
background-color: rgb(255,0,0);
}
</style>
</head>
<body>
</body>
</html>
Your background will now be red.
+ 1
for background image
<style>
background:url ("http://example.jpg");
</style>