/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: for

[this page | pdf | back links]

The HTML for attribute indicates which form element(s) a label calculation is linked to. It applies to <label> and <output> elements.

 

Valid attribute values (when used with <label> elements) include:

 

Value

Description

elementID

Indicates to which form element the <label> belongs

 

Valid attribute values (when used with <output> elements) include:

 

Value

Description

elementID

Indicates relationship between calculation result and elements used  calculation

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile