A lot of web designers new to the field aren't aware of the differences between ID's and classes. ID stands for fragment identifier that is an attribute. You can only use an ID name once in any XHTML or HTML document. In contras, Classes like ID's. It is used to style the websites. Classes can be used multiple times in the same HTML document.