FPHTMLLinkElement Object


Represents a LINK element in an HTML document. See also the IHTMLLinkElement object.
Using the FPHTMLLinkElement object
Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the LINK elements in a document. Use the Item method to return an FPHTMLLinkElement object that accesses a specific LINK element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first LINK element in the active document.
Dim objLink As FPHTMLLinkElement
Set objLink = ActiveDocument.all.tags("link").Item(0)
Note The FPHTMLLinkElement object cannot be accessed using the links property. The links property applies to hyperlinks in a document.