
org.w3c.dom.html.HTMLLabelElement Maven / Gradle / Ivy
The newest version!
// Copyright (c) 1998 by W3C
//
// DOM is a trademark of W3C
// The DOM level 1 specification, from which this
// source is derived, is copyright by W3C.
// See: http://www.w3.org/TR/REC-DOM-Level-1/
//
package org.w3c.dom.html;
import org.w3c.dom.*;
/**
Form field label text. See the
LABEL element definition
in HTML 4.0.
Property Summary
form
getForm
Returns the
FORM
element containing this control. Returns null if this control is not within the context of a form.
accessKey
getAccessKey
setAccessKey
A single character access key to give access to the form control. See the
accesskey attribute definition
in HTML 4.0.
htmlFor
getHtmlFor
setHtmlFor
This attribute links this label with another form control by
id
attribute. See the
for attribute definition
in HTML 4.0.
*/
public interface HTMLLabelElement
extends HTMLElement
{
/**
* Returns the value of the form
property.
*/
HTMLFormElement getForm ();
/** Assigns the value of the accessKey
property.
*/
void setAccessKey (String accessKey);
/**
* Returns the value of the accessKey
property.
*/
String getAccessKey ();
/** Assigns the value of the htmlFor
property.
*/
void setHtmlFor (String htmlFor);
/**
* Returns the value of the htmlFor
property.
*/
String getHtmlFor ();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy