-->

HTML to change the background color of page

<html>
<head><!-- for meta tag-->
<title>
changing background color of page
</title>
</head>
<body bgcolor="#A13265">
         <!--here, bgcolor is an attribute and can have value in RGB or we can give color name-->
         <!--A1=R,32=G,65=B-->
I am learning web-page.
</body>
</html>
-----------------------------------------------------------------------------------------------
or
--------------------------------------------------------------------------
<html>
<head><!-- for meta tag-->
<title>
changing background color of page
</title>
</head>
<body bgcolor="green">
         <!--here, bgcolor is an attribute and can have value in RGB or we can give color name-->
         <!--A1=R,32=G,65=B-->
I am learning web-page.
</body>
</html>

 

No comments:

Post a Comment