HTML Server Controls
Now that we’ve laid that ground work, you can begin to look at the specific HTML server controls. As I’ve said before, they are going to look very familiar because they are basically ASP.NET versions of existing HTML tags. Let’s look at the HTML server controls.
HtmlAnchor
The HtmlAnchor is based off the HTML <a> tag and has the properties listed in Table 6.4 in addition to the HtmlContainerControl.
Property | Description |
---|---|
Href | Gets or sets the URL to which the encapsulated item will link. |
Name | Gets or sets the Name of the anchor element. |
Target | Gets or sets the target frame or window in which the link will load. As with the HTML <a> tag, this is _self by default. |
Title | Gets or ... |
Get ASP.NET for Web Designers 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.