com.aspose.html

Class HTMLLabelElement

    • Constructor Detail

      • HTMLLabelElement

        public HTMLLabelElement(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 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(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 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(String value)

        This attribute links this label with another form control by

         id
         
        attribute. See the for attribute definition in HTML 4.01.