com.aspose.html

Class HTMLLabelElement

    • Constructor Detail

      • HTMLLabelElement

        public HTMLLabelElement(com.aspose.html.dom.DOMName name,
                                Document doc)

        Initializes a new instance of the HTMLLabelElement class.

        Parameters:
        name - The DOM name.
        doc - The document.
    • Method Detail

      • getAccessKey

        @DOMNameAttribute(name="accessKey")
        public java.lang.String getAccessKey()

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

      • setAccessKey

        @DOMNameAttribute(name="accessKey")
        public void setAccessKey(java.lang.String value)

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

      • getFor

        @DOMNameAttribute(name="htmlFor")
        public java.lang.String getFor()

        This attribute links this label with another form control by id attribute. See the for attribute definition in HTML 4.01.

      • setFor

        @DOMNameAttribute(name="htmlFor")
        public void setFor(java.lang.String value)

        This attribute links this label with another form control by id attribute. See the for attribute definition in HTML 4.01.