Examveda
Examveda

Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.

A. drop

B. drag

C. preventDefault

D. dataTransfer

Answer: Option C

Solution(By Examveda Team)

Calling the preventDefault method during both a dragenter and dragover event will indicate that a drop is allowed at that location. However, you will commonly wish to call the preventDefault method only in certain situations, for example, only if a link is being dragged.

This Question Belongs to HTML >> HTML Fonts, Tags And Elements

Join The Discussion

Related Questions on HTML Fonts, Tags and Elements