Vidyalelo
JavaScript · Q88

Document Object Model And Event Handling

Programming · JavaScript · question 88

Q88

The element that can also register handlers for load and error events is

A.
html
B.
img
Answer
C.
body
D.
form

Answer: Option B

Solution

Answer: Option B
Solution:
Individual document elements, such as img elements, can also register handlers for load and error events.