HTML | DOM target Event Property
The target event property in HTML DOM is used to return the element that triggered the event.
Return Value: This property returns the reference of the object on which the event originally occurred.
Below example illustrates the target Event Property in HTML DOM:
Supported Browsers: The browsers supported by HTML DOM target Event Property are listed below:
- Google Chrome 1 and above
- Edge 12 and above
- Internet Explorer 9 and above
- Firefox 1 and above
- Safari 1 and above
- Opera 7 and above