HtmlAnchor Object— <a> Element

This creates a web navigation hyperlink. Table D.22 lists the properties of the HtmlAnchor object, and Table D.23 lists the event.

Table D.22. Properties of the HtmlAnchor Object
Property Description
ID Gets or sets the ID (identifier) of the HtmlAnchor control.
HREF Gets or sets the URL target of the link specified in the HtmlAnchor server control.
Title Gets or sets the title that the browser displays when identifying linked content.
Target The target window or frame into which to load web page content.
InnerHtml Gets or sets the content found between the opening and closing tags of the control. The InnerHtml does not provide automatic HTML encoding and decoding.
InnerText Gets or sets all text between the opening ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.