Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET HyperLink ImageUrl Property

ASP.NET HyperLink ImageUrl Property


HyperLink Control HyperLink control


Definition and Usage

The ImageUrl property is used to set or return the URL of the image displayed as the hyperlink.

Syntax

/>

 

property Description
URL The URL of the image to use.

Example

The following example sets the ImageUrl property on a HyperLink control:

NavigateUrl="http://www.w3cschool.cc" ImageUrl="img.gif" />

Demo Example »


HyperLink Control HyperLink control