What is the difference between id and class in CSS?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask question.
The id selector is used to specify a style for a single, unique element. The id selector defined with a “#”
class: The class selector is used to specify a style for a group of elements. The Class selector defined with a “.”