X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Button Text Property


Button Control Button Control

Definition and Usage

The Text property is used to set or return the text on a button control.

Syntax

<asp:Button Text="string" runat="server" />

Attribute Description
text A string that specifies the text on the button control


Example

Example

The following example sets the text on a Button control:

<form runat="server">
<asp:Button id="button1" runat="server" Text="Submit" />
</form>

Show example »


Button Control Button Control

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook