Classes vs ID's?


#1

I'm a beginner when it comes to HTML and CSS - been doing it for about a week now and recently came to classes and ID's and it's slightly confused me. When it refers to giving several elements styling using classes and only one element for an ID, why is this? Why do we use ID and classes, and not just classes?

Thanks!


#2

You can find your answer on this LINK .


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.