IHTMLDDElement Object

Microsoft FrontPage Visual Basic

IHTMLDDElement Object

IHTMLDDElement

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

Using the IHTMLDDElement Object

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

    Dim objDescr As IHTMLDDElement

Set objDescr = ActiveDocument.all.tags("dd").Item(0)