What are difference between class selector and ID selector?
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.
BY Best Interview Question ON 13 Jan 2019