HyperLink in ASP.Net

HyperLink in ASP.Net

Previous Home Next

 

The HyperLink control is used to create a hyperlink.

Properties:
1)ImageUrl:The URL of the image to display for the link.
2)NavigateUrl:The target URL of the link.
3)runat:Specifies that the control is a server control. Must be set to "server"
4)Target:The target frame of the URL.
Discription:
_blank - the target URL will open in a new window
_self - the target URL will open in the same frame as it was clicked
_parent - the target URL will open in the parent frameset
_top - the target URL will open in the full body of the window
5)Text:The text to display for the link.

 

Design:

Hyperlink

Right Click on Home

HyperLink Properties



 
Run the Page and click on Home
Output

Previous Home Next