Gets or sets the target window or frame to load linked Web page content into.
[Visual Basic] Public Property Target As String [C#] public string Target {get; set;} [C++] public: __property String* get_Target(); public: __property void set_Target(String*); [JScript] public function get Target() : String; public function set Target(String);
The target window or frame to load Web page content into. Values must begin with a letter in the range of A-Z or a-z, except for these special values which begin with an underscore:
_blank | Renders the content in a new, unframed window. |
_parent | Renders the content in the immediate frameset parent. |
_self | Renders the content in the current frame. |
_top | Renders the content in the full, unframed window. |
CAUTION In HTML 4.0, Target attribute values are case-insensitive, so that _top and _TOP have the same meaning. However, most browsers treat this value as case-sensitive and do not recognize _TOP as having the special meaning as described for _top.
HtmlAnchor Class | HtmlAnchor Members | System.Web.UI.HtmlControls Namespace