0

Is it necessary to use class or id tag in css

I want answer fast pkease

11th Nov 2016, 6:24 PM
Harshit Pratap Singh
Harshit Pratap Singh - avatar
3 odpowiedzi
+ 2
Yes, you need them to reference to multiple elements (with "class", for example all the <p> elements) or a single specific elements (with "id", for example a single <div>).
11th Nov 2016, 6:39 PM
Riku Pepponen
Riku Pepponen - avatar
+ 1
you need these because if you want for example only a <p> or a bunch of <p> and you have many of <p> you need something to specify them!
11th Nov 2016, 6:33 PM
John Kovanis
John Kovanis - avatar
0
thanks
11th Nov 2016, 6:43 PM
Harshit Pratap Singh
Harshit Pratap Singh - avatar