+ 1

What is the diffrence between id and class selector?

18th Jan 2017, 5:23 PM
Alihosseini
Alihosseini - avatar
2 Answers
+ 4
This explains is very well: https://css-tricks.com/the-difference-between-id-and-class/ Hope I helped! :)
18th Jan 2017, 5:26 PM
Š™Š¾Ń€Š“Š°Š½ ŠŸŠµŃ‚Ń€Š¾Š²
Š™Š¾Ń€Š“Š°Š½ ŠŸŠµŃ‚Ń€Š¾Š² - avatar
+ 3
u cant give same id to more than one tag but u can give same class name to more than one tag and all the tags having the same class name will be jncluded in dat class
18th Jan 2017, 6:37 PM
Chahat Gupta
Chahat Gupta - avatar