banner

HTML Body Background-color


     To change background of your html page you need to use this attribute of body:-

style="background-color:colorname/code;"v 

Example:-

<html>
<body style="background-color:yellow;" >

Here is  new background.

</body>
</html> 



HTML Body Background-image


     Here you can also use image on backgound. which make your page more attractive.

style="background:url(image_name with extension);" 

Example:-

<html>
<body style="background:url(bk.jpg);" >

Here is  new background with image.

</body>
</html>