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.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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 “.”