Vidyalelo
JavaScript · Q52

Document Object Model And Event Handling

Programming · JavaScript · question 52

Q52

What does the following code snippet mean? #log>span

A.
Span child after log declaration
B.
Specific span child of id greater than log
C.
Span child less than log
D.
Any span child of the element with id as log
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The above code snippet means that any span child of the element with id=”log”.