The HyperLink control is like the HTML element.
Basic syntax for a hyperlink control:
<asp:HyperLink ID="HyperLink1" runat="server">
HyperLink
</asp:HyperLink>
It has the following important properties:
| Properties | Description |
|---|---|
| ImageUrl | Path of the image to be displayed by the control. |
| NavigateUrl | Target link URL. |
| Text | The text to be displayed as the link. |
| Target | The window or frame which loads the linked page. |