Top Description Methods
org.w3c.dom.html

public Interface HTMLLegendElement

extends HTMLElement

Provides a caption for a FIELDSET grouping. See the LEGEND element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Since
1.4, DOM Level 2

Method Summary

Modifier and TypeMethod and Description
public String
getAccessKey()

A single character access key to give access to the form control.

public String
getAlign()

Text alignment relative to FIELDSET .

public HTMLFormElement
getForm()

Returns the FORM element containing this control.

public void
setAccessKey(String accessKey)

public void
Inherited from org.w3c.dom.html.HTMLElement:
getClassNamegetDirgetIdgetLanggetTitlesetClassNamesetDirsetIdsetLangsetTitle

Method Detail

getAccessKeyback to summary
public String getAccessKey()

A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

getAlignback to summary
public String getAlign()

Text alignment relative to FIELDSET . See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

getFormback to summary
public HTMLFormElement getForm()

Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

setAccessKeyback to summary
public void setAccessKey(String accessKey)
setAlignback to summary
public void setAlign(String align)