Using JavaScript, how does a web page react when the user enters a wrong email ID in a registration form?
A. It accepts the incorrect email ID.
B. It displays an error message.
C. It displays a list of alternate email IDs.
D. It autocorrects the email ID.
E. It deletes all the entries of the form.