FPHTMLMetaElement Object

Microsoft FrontPage Visual Basic

FPHTMLMetaElement Object

FPHTMLMetaElement Multiple objects

Represents a META element in an HTML document. See also the IHTMLMetaElement object.

Using the FPHTMLMetaElement 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 FPHTMLMetaElement 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 FPHTMLMetaElement

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