ASP.NET Text Property
Complete HyperLink Control Reference
Definition and Usage
The Text property is used to set or return the text of a HyperLink control.
Syntax
<asp:HyperLink Text="string" runat="server" />
Attribute |
Description |
string |
A string that specifies the text on the hyperlink control |
Example
The following example sets the text on a HyperLink control:
<form runat="server">
<asp:HyperLink id="link1" runat="server" Text="W3Schools"
NavigateUrl="http://www.w3schools.com" />
</form>
Show example »
Complete HyperLink Control Reference
Color Picker