HBCMS更多的中文手册参考:

TARGET Attribute | target参数属性

DHTML文档教程

Sets or retrieves the name of a window or frame that is the target for navigation.

dhtml语法

XML<ELEMENT TARGET = sTarget... >
ScriptinganchorClick.target [ = sTarget ]

DHTML可能的值

sTargetString that specifies or receives one or more of the following values:
sNameName of the frame or window.
_selfLinked document loads into the same window as the link.
_topLinked document loads into the topmost window.

The property is read/write. The property has no default value.

Remarks

This property is case sensitive.

The TARGET attribute is exposed to objects participating in the anchorclick behavior.

DHTML代码范例

This example uses the TARGET attribute and the anchorClick behavior to specify the name of a window or frame.

<STYLE>
SPAN {behavior:url(#default#AnchorClick);}
</STYLE>
<!--
The href points to folder.htm for earlier browser versions,
the FOLDER attribute points to the local root.
-->
<SPAN TARGET="_top" "FOLDER = "/" >
Open Folder
</SPAN>

是否符合公共标准

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

anchorClick