HTML | DOM target Event Property
The target event property in HTML DOM is used to return the element that triggered the event.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
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
- Internet Explorer 9.0