Question - What is the difference between Class and ID?
Answer -
IDs identify a specific element and therefore must be unique on the page – you can only use a specific ID once per document and Classes mark elements as members of a group and can be used multiple times, so if you want to define a style which will be applied to multiple elements you should use a class instead.