Tuesday, 23.07.2019, 18:29
Welcome Guest
All Html Tags

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor

label Tag in Html

Label for a form element (input, textarea or select).

label Tag Attributes

for - can be used to associate the label to a form element when the value of for matches the value of an element's id attribute.
accesskey - can be used to associate a keyboard shortcut to the element.

Browser Support


Simple Example

<label for="email">Email address</label><input type="text" name="email" id="email" />

HtmlCodeExamples.Com © 2019