Examveda
Examveda

By applying an ___________ a style can be applied to just a single tag.

A. class rule

B. element rule

C. id rule

D. none of the mentioned

Answer: Option C

Solution(By Examveda Team)

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>

This Question Belongs to CSS >> CSS Selectors And CSS Files

Join The Discussion

Related Questions on CSS Selectors and CSS Files