Share via


IHTMLMetaElement Object

IHTMLMetaElement

Represents a META element in an HTML document. The IHTMLMetaElement provides access to a limited number of properties and methods related to the MARQUEE element. For access to all properties and methods, use the FPHTMLMetaElement object.

Using the IHTMLMetaElement Object

Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the META elements in a document. Use the Item method to return an IHTMLMetaElement object that accesses a specific META element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first META element in the active document.

Dim objMeta As IHTMLMetaElement

Set objMeta = ActiveDocument.all.tags("meta").Item(0)

Properties | charset Property | content Property | httpEquiv Property | name Property | URL Property

Parent Objects

Child Objects