title: ASP.NET HyperLink - Setting Alt tag of the Image
body: <p>How can I set the alt tag of an image that has been set using <code>HyperLink.ImageUrl</code>? I read an article that states you should be able to do <code>HyperLink.Attributes["text"] = "My Alt Text"</code> but that doesn't seem to work.</p>
  
  <p>I want to try and avoid creating a separate image control and adding it to that hyperlink just to set an Alt tag.</p>
  
  <p>Thanks.</p>