Event Bubbling

In an event, bubbling handlers are called when one element is nested into a second element, and both the elements have a listener for the same event. E.g. A click. Nowadays all modern browsers have event bubbling by default.

Event Capturing

Event capturing starts from the top element to the target element. Modern browsers don't support this event but we can achieve that with the help of code.

BY Best Interview Question ON 08 Jan 2021