कोड की उपरोक्त पंक्ति में * दर्शाता है:
In the above line of code * represents:
*my classname
{
attributes here
}
A)
B)
C)
D)
Explanation:
In the given code:
*myclassname
{
attributes here
}
The *
symbol in CSS is used as the universal selector. It selects all elements, but when used before a class name (e.g., *myclassname
), it means it applies styles to all elements with that class.
So, the correct answer is:
(B) universal selector.