Easy Tutorial
❮ Met Canvas Fillrect Prop Checkbox Disabled ❯

Submit Button value Attribute


Definition and Usage

The value attribute sets or returns the value of the value attribute of a submit button.

The value specifies the text displayed on the submit button.

Syntax

Set the value attribute:

Return the value attribute:


Browser Support

All major browsers support the value attribute.


Example

The following example prompts the text displayed on the submit button:


❮ Met Canvas Fillrect Prop Checkbox Disabled ❯