What is the correct HTML for adding a background color to <div> tag ?

 Posted by Vivek.Ramapuram on 6/18/2015 | Category: HTML 5 Interview questions | Views: 12534 | Points: 40
Select from following answers:
  1. <div style="background-color:yellow;">
  2. <background>yellow</background>
  3. <div bg="yellow">
  4. All the above
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response