Allows programmatic access to the HTML <a
> element on the server.
The HtmlAnchor control <a runat=server
> is an ASP.NET implementation of the HTML anchor <a
> element.
The control behaves in much the same way as the standard HTML version, except that it is fully programmable.
The following sample illustrates using an HtmlAnchor control, the text of which is dynamically changed depending on a condition.
HtmlAnchor Control Syntax HyperLink Web Server Control HTML A Element