Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
3 months 4 days ago #3120 by Elias Katsaniotis,MSc
You should use a class if you need to use the same selector more than once within a page or a site. While an ID is specific to a single element, classes can be assigned to multiple elements on a page or throughout the website. They are not unique.
- Q&A
- Index
- CSS3
- What is CSS ID vs CSS class?
Time to create page: 0.122 seconds