Question: Write the following CSS rules. [5 marks] 1. For the image element: a. Set the width to 200x and the height to 300px. b. Set
Write the following CSS rules. [5 marks]
1. For the image element: a. Set the width to 200x and the height to 300px. b. Set the border size to 3. c. Set the padding top and bottom to 20px; d. Set the border color to any color.
2. Make a class: menu with the following CSS declarations: a. Set font style to italic. b. Position it at the center. c. Set the color of the text to any color. d. Set the font size to xx-large.
Marks Distribution:
CSS Selector(2 x 0.5) 1 mark CSS Properties (8 x 0.5) 4 marks
Note: (0.5 deductions for every syntax error)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
