IHTMLDTElement Object

Microsoft FrontPage Visual Basic

IHTMLDTElement Object

IHTMLDTElement

Represents a DT element in an HTML document. The IHTMLDTElement object provides access to a limited number of properties and methods for the DT element. For access to all properties and methods, use the FPHTMLDTElement object.

Using the IHTMLDTElement Object

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

    Dim objTerm As IHTMLDTElement

Set objTerm = ActiveDocument.all.tags("dt").Item(0)