Question: 1. (a) Describe, with one example of each, what HTML class and id attributes are, and how they are used. [10 (b) Describe in

1. (a) Describe, with one example of each, what HTML class and id attributes are, and how they are used. [10 (b) Describe in English the effect of the following CSS rules: (i) ul { list-style-image: url("sqpurple.gif"); } (ii) pre { font-family: "Lucida Console", monospace; } (iii) p#bar { background-color: black; color: white; }
Step by Step Solution
There are 3 Steps involved in it
1 a id selector is mainly used for selecting HTML element using id ... View full answer
Get step-by-step solutions from verified subject matter experts
