Jazzo.co.uk uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our Privacy Policy and our Terms & Condition.

HTML <label>

query_builder | Christopher Pisani

The HTML element <label> represents a caption for specific elements, that include the <input>,<meter>,<progress>,<select> and <textarea> elements. Using this element will widen the area for elements with a selection, and is also benifical to use for users with screen readers, as it will read the label when hovered over the related elements bound to them.

Available Attributes

Attribute Values Functionality
for element id The id of the associated element
form form id The id of the associated form