InterviewSolution
Saved Bookmarks
| 1. |
What are difference between class selector and ID selector? |
|
Answer» In CSS, a Class SELECTOR is a NAME PRECEDED by a full STOP (".") and an ID selector is a name preceded by a hash("#"). Difference between an ID and a class is that an ID can be USED to identify one element, whereas a class can be used to identify more than one. |
|