Question: what is id and class in css?
Answer: The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is defined with a "#". class: The class selector is used to specify a style for a group of elements.