label tag (XHTML 1.0)

form field label text

Topics

Attributes

Attribute Deprecated Required Description
accesskey  accessibility key character 
class  space-separated list of classes 
dir  direction for weak/neutral text 
for  matches field ID value 
id  document-wide unique id 
lang  language code 
style  associated style info 
title  advisory title 

Events

Event Description
onblurthe element lost the focus 
onclicka pointer button was clicked 
ondblclicka pointer button was double clicked 
onfocusthe element got the focus 
onkeydowna key was pressed down 
onkeypressa key was pressed and released 
onkeyupa key was released 
onmousedowna pointer button was pressed down 
onmousemovea pointer was moved within 
onmouseouta pointer was moved away 
onmouseovera pointer was moved onto 
onmouseupa pointer button was released 



© htmlpedia.net 2008 - 2012