1. Computing

Discuss in my forum

What are Event Attributes in HTML

DHTML Attributes Used in Nearly Every HTML Tag

By , About.com Guide

Event attributes are an important part of learning HTML. Nearly every HTML tag uses these attributes, so being familiar with them is a good idea. These are the attributes that control actions when there is an event that happens on your web page.

HTML 5 Attributes

HTML 5 gives us a bunch of new event attributes.

  • onabort
  • oncanplay
  • oncanplaythrough
  • oncontextmenu
  • ondrag
  • ondragend
  • ondragenter
  • ondragleave
  • ondragstart
  • ondrop
  • ondurationchange
  • onemptied
  • onended
  • onerror
  • onformchange
  • onforminput
  • oninput
  • oninvalid
  • onloadeddata
  • onloadedmetadata
  • onloadstart
  • onmousewheel
  • onpause
  • onplay
  • onplaying
  • onprogress
  • onratechange
  • onreadystatechange
  • onscroll
  • onseeked
  • onseeking
  • onshow
  • onstalled
  • onsuspend
  • ontimeupdate
  • onvolumechange
  • onwaiting

Other HTML Attributes

©2013 About.com. All rights reserved.