HBCMS更多的中文手册参考:

NAME Attribute | name参数属性

DHTML文档教程

Sets or retrieves the frame name.

dhtml语法

HTML<ELEMENT NAME = sName... >
Scriptingobject.name [ = sName ]

DHTML可能的值

sNameString that specifies or receives an arbitrary name used to identify the object.

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

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

the name property identifies which frame displays the content of a linked document.

Examples

This example uses scripting to set the name property of a frame.

parent.frames[0].name="Left";

This example shows how the NAME attribute for a window can be persisted in HTML, but only when defined in a frame within a freamset.

<FRAMESET>
<FRAME NAME="Left" SRC="blank.htm">
<FRAME NAME="Right" SRC="contents.htm">
</FRAMESET>

是否符合公共标准

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

Applies To

FRAME, FRAMESET, IFRAME