O'Reilly logo

ASP.NET for Web Designers by Peter Ladka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Table 6.4. HtmlAnchor Object Properties
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required