LABEL | NN n/a IE 4 DOM 1
The LABEL object reflects the LABEL element.
HTML Equivalent
    <LABEL>
Object Model Reference
IE | [window.]document.all.elementID

accessKey | NN n/a IE 4 DOM 1
| Read/Write
A single character key that brings focus to the INPUT element associated with the LABEL element. The browser and operating system determine whether the user must press a modifier key (e.g., Ctrl, Alt, or Command) with the access key to bring focus to the related element. In IE 4/Windows, the Alt key is required, and the key is not case sensitive. Not working in IE 4/Mac.
Example
    document.entryForm.firstNameLabel.accessKey = "n"
Value Single alphanumeric (and punctuation) keyboard character.
Default | None.

dataFld | NN n/a IE 4 DOM n/a
| Read/Write
Used with IE 4 data binding to associate a remote data source column name with the displayed text of the input element label. A DATASRC attribute must also be set for the element. Setting both the dataFld and dataSrc properties to empty strings breaks the binding between element and data source.
Example
    document.all.myLabel.dataFld = "labelText"
Value Case-sensitive identifier of the data source column.
Default | None.

dataFormatAs | NN n/a IE 4 DOM n/a
| Read/Write
Used with IE 4 data binding, this property advises the browser whether the source material arriving from the data source is to be treated as plain text or as tagged HTML.
Example
    document.forms[0].myLabel.dataFormatAs = "HTML"
Value IE 4 recognizes two possible settings: text | HTML.
Default | text

dataSrc | NN n/a IE 4 DOM n/a
| Read/Write
Used with IE 4 data binding to specify the name of the remote ODBC data source (such as an Oracle or SQL Server database) to be associated with the element. Setting both the dataFld and dataSrc properties to empty strings breaks the binding between element and data source.
Example
    document.all.myLabel.dataSrc = "#DBSRC3"
Value Case-sensitive identifier of the data source.
Default | None.

htmlFor | NN n/a IE 4 DOM n/a
| Read/Write
The element ID of the INPUT element to which the label is associated (the value of the FOR attribute). Binds the LABEL element to a particular INPUT element.
Example
    document.all.label3.htmlFor = "chkbox3"
Value String.
Default | None.