IHTMLDListElement Object

Microsoft FrontPage Visual Basic

IHTMLDListElement Object

IHTMLDListElement

Represents a DL element in an HTML document. the IHTMLDLIstElement object provides access to a limited number of properties and methods for the DL element. For access to all properties and methods, use the FPHTMLDListElement object.

Using the IHTMLDListElement Object

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

    Dim objDef As IHTMLDListElement

Set objDef = ActiveDocument.all.tags("dl").Item(0)