共用方式為


IHTMLMetaElement interface

This interface represents the meta element.

Members

The IHTMLMetaElement interface inherits from the IDispatch interface. IHTMLMetaElement also has these types of members:

  • Properties

Properties

The IHTMLMetaElement interface has these properties.

Property Description

charset

Sets or retrieves the character set used to encode the object.

content

Gets or sets meta-information to associate with IHTMLMetaElement::httpEquiv or IHTMLMetaElement::name.

httpEquiv

Gets or sets information used to bind the value of a IHTMLMetaElement::content attribute of a meta element to an HTTP response header.

name

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

 

Remarks

You can use the meta element to include hidden information about the document and to insert document-related information used by some search engines.

The meta element can be used only within the head element.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

IHTMLMetaElement2