HTML | DOM type Event Property
The type event property in HTML DOM is used to return the type of the triggered event. It returns a string which represents the type of the event. The events can be keyboard events or mouse events.
Return Value: It returns a string which represents the type of event.
Before Click on the button:
After click on the button:
Supported Browsers: The browsers supported by DOM type event property are listed below:
- Internet Explorer 9.0
- Google Chrome
- Apple Safari
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.