1. The _____ selector selects id attribute of an HTML element to select a specific element.
(ID,Class, Grouping, Universal)
Answers
Answered by
2
Answer:
The id selector uses the id attribute of an HTML element to select a specific element
Answered by
0
The ID selector selects id attribute of an HTML element to select a specific element.
Explanation:
The correct answer is option 1) ID
The id selector is used to set the style of given id.
Because an id is always unique within the page, it is used to select a single, distinct element.
2) Class it is used to specifies one or more class names for an HTML element. So this is wrong answer.
3) Grouping it can be performed with the help of various tags be performed with the help of various tags. So this is also wrong answer
4) Universal it is essentially a type selector that matches any type. So this is also wrong answer.
Similar questions