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

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 Expert Approved Answer
Step: 1 Unlock

1 a id selector is mainly used for selecting HTML element using id ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!