Home » CSS » CSS Attribute Selectors » Question
  1. By applying an ___________ a style can be applied to just a single tag.
    1. id rule
    2. class rule
    3. element rule
    4. All of above
    5. None of these
Correct Option: A

By applying an id rule, a style can be applied to just a single tag. For example, if we name a tag with a unique id attribute as follows
<tag id="id-value">Affected Text</tag>



Your comments will be displayed only after manual approval.