'Why we need Event Handler if we already have Event Listener in JS?

I am learning JavaScript I have a question while I studied to Event.

As I know we have two ways to handle an event, Event Handler and Event Listener.

I can only have one event handler for a specific event type, but I can add multiple event listeners for it.

It seems like event listener is better than handler, and why or when do we need the Event Handler ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source