Easy Tutorial
❮ Prop Webcontrol Textbox Textmode Prop Websecurity Hasuserid ❯

ASP.NET Label Control



Definition and Usage

The Label control is used to display text on the page. The text is programmable.

Note: This control allows you to apply styles to the content!


Properties

Property Description
runat Specifies that the control is a server control. Must be set to "server".
Text The text displayed in the label.

Web Control Standard Properties

For a complete description, visit Web Control Standard Properties.

Control Standard Properties

For a complete description, visit Control Standard Properties.


Example

Label


❮ Prop Webcontrol Textbox Textmode Prop Websecurity Hasuserid ❯