Common Attribute and Event Tags in HTML


Core attributesid="..."A global identifier
 class="..."A list of classes separated by spaces
 style="..."Style information
 title="..."This provides more information for a specific element
Internationalisationlang="..."Language identifier
 dir="..."Text direction (ltr, rtl)
Intrinsic eventsonclick="..."A Pointing device, for instance a mouse, was single-clicked
 ondblclick="..."A Pointing device, for instance a mouse, was single-clicked
 onmousedown="..."A mouse button that was clicked and held down
 onmouseup="..."A mouse button that was clicked and held down was released
 onmouseover="..."The mouse moved the cursor over an object
 onmousemove="..."The mouse was moved
 onmouseout="..."The mouse moved the cursor off an object
 onkeypress="..."A key that was pressed and released
 onkeydown="..."A key was pressed and held down
 onkeyup="..."A key that was pressed has been released