uses the id attribute of an HTML element to select a specific element.
(a) class selector
(b) id selector
(c) Both (a) and (b) (d) None of these
mcq
Answers
Answered by
2
Answer:
The id selector uses the id attribute of an HTML element to select a specific element. The id of an element is unique within a page, so the id selector is used to select one unique element! To select an element with a specific id, write a hash (#) character, followed by the id of the element.
Explanation:
PLEASE FOLLOW ME
Similar questions