Id selector किसी विशिष्ट तत्व का चयन करने के लिए HTML तत्व की आईडी विशेषता का चयन करता है।
Id selector selects the id attribute of an HTML element to select a specific element.
A)
B)
Explanation:
- The ID selector in CSS is used to select a specific HTML element that has a particular
id
attribute value. - In CSS, the ID selector is represented by a hash symbol (
#
) followed by theid
value.