Q. If we want to set the style for just one element, which css selector will we use?
β
Correct Answer: (A)
id
Explanation: The id attribute can be applied to any HTML element. The value of this attribute is a unique identifier of the element. For example, <h1 id="title"> “title” is a unique identifier of h1.