UI Events

It associates an event like key press or mouse movement on a element, with a script like, when element’s color changes on moving mouse over it.

Their names usually indicate the event they are associated with, like onclick is associated with click on that element and onmousemove is associated with movement of mouse. There are total of ten UI event attributes which are also called as common events and are

  • onclick
  •  ondoubleclick
  • onmousedown
  • onmouseup
  • onmouseover
  • onmousemove
  • onmouseout
  • onkeypress
  • onkeydown
  • onkeyup

Two more UI events attributes are associated with <body> and <frameset> elements are

  • onload
  • onunload

Some UI events attributes work only with forms and which are

  • onfocus
  • onblur
  • onsubmit
  • onreset
  • onselect
  • onchange

Apply for HTML Certification

https://www.vskills.in/certification/certified-html-designer

Back to Tutorials

Internationalization
p tags for Paragraphs

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?