HBCMS更多的中文手册参考:

tagUrn参数属性

DHTML文档教程

Sets or retrieves the Uniform Resource Name (URN) specified in the namespace declaration.

dhtml语法

HTMLN/A
Scriptingobject.tagUrn [ = sUrn ]

DHTML可能的值

sUrnString that specifies or receives the URN in the namespace declaration, or the value in Possible Values.
nullDefault. Returned for standard HTML tags, or for custom tags that omit the namespace declaration.

The property is read/write. The property has a default value of null.

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

to declare the namespace in the document, use the xmlns attribute of the html element.

DHTML代码范例

This example uses the values returned by the scopename and tagurn properties to create a simple helloworld custom tag. the browser's status bar displays the property values.

<HTML XMLNS:InetSDK='http://msdn.microsoft.com/workshop'>
<STYLE>
@media all {
InetSDK\:HelloWorld { behavior:url (simple.htc) }
}
</STYLE>
<SCRIPT>
function window.onload()
{
window.status = 'scopeName = ' + hello.scopeName +
'; tagUrn = '  + hello.tagUrn;
}
</SCRIPT>
<BODY>
<InetSDK:HelloWorld ID='hello'></InetSDK:HelloWorld>
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

是否符合公共标准

There is no public standard that applies to this property.

Applies To

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, HEAD, hn, HR, HTML, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, nextID, NOBR, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RT, RUBY, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, WBR, XML, XMP

更多语法参考

Using Custom Tags in Internet Explorer