How may ways to change background-color of a Page?

 Posted by vishalneeraj-24503 on 11/29/2013 | Category: ASP.NET Interview questions | Views: 2136 | Points: 40

We can use either bgcolor in Body tag or background-color in style tag to change background color of a page.

For ex:-

<body bgcolor="yellow">

//Or we can also write as



Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Sheonarayan on: 12/1/2013 | Points: 10
You can also do that by applying class attribute in the body tag of the page.

Login to post response