Export (0) Print
Expand All

name property

Sets or retrieves the value specified in the IHTMLMetaElement::content attribute of the meta object.

HTML 4.01 Specification, Section 7.4.4

 

Syntax

HRESULT value = object.put_name( v);HRESULT value = object.get_name(* p);

Property values

Type: BSTR

name

Arbitrary value.

Description

Associated IHTMLMetaElement::content attribute describes the containing document. Some search engines use this to provide the user with a document summary in the result of a search.

DownloadOptions

Internet Explorer 6 for Windows XP SP2 and later. Associated IHTMLMetaElement::content attribute determines the visibility of buttons in the File Download dialog box.

Note  If more than one meta tag is set with the DownloadOptions value, Internet Explorer uses the last one.

ValueCondition
noopen

Hides either the Run or the Open button from the File Download dialog box, depending on which button would normally be displayed.

nosave

Hides the Save button from the File Download dialog box.

 

Generator

Associated IHTMLMetaElement::content attribute identifies the name of the application used to create the document.

Keywords

Associated IHTMLMetaElement::content attribute consists of comma-delimited words describing the document. Some search engines use this to allow the user to perform a keyword search.

ProgID

Associated IHTMLMetaElement::content attribute contains the programmatic identifier of the document's default editor.

Robots

Associated IHTMLMetaElement::content attribute indicates whether the containing document should be indexed by search engines that recognize the meta object.

ValueCondition
all

Search engines can index the containing document.

noindex

Search engines cannot index the containing document.

 

Template

Associated IHTMLMetaElement::content attribute specifies the location of the template used to edit the document. Use this in conjunction with the ProgID meta object if the editor supports document templates.

Standards information

Remarks

The IHTMLMetaElement::name attribute typically is assigned one of the preceding well-defined values, but any arbitrary value can be specified. Custom tools can be developed to perform special actions on documents containing arbitrary meta tags.

To enable the smart edit features in Microsoft Internet Explorer 5 or later, add a meta tag to the head of the document. Associate ProgID with the IHTMLMetaElement::name attribute, and associate the programmatic identifier of the desired editor with the IHTMLMetaElement::content attribute. If the specified editor is not installed or properly registered on the user's system, the edit button is not displayed. Consult the documentation of your editor to determine its programmatic identifier.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft