problem 1

Use the following HTML code with only class attributes added:
<div>Div 1</div>
<div>Div 2</div>
<div>Div 3</div>
  • Use 2 style rules only.
  • The last div combines the style rules used by the first two.
  • The sizes used for the boxes are 100px and 200px.
  • The colors used are black, white, red and gray.