IHTMLBlockElement Object

Microsoft FrontPage Visual Basic

IHTMLBlockElement Object

IHTMLBlockElement

Represents the BLOCKQUOTE element in an HTML document. The IHTMLBlockElement object provides access to a very limited set of properties for the BLOCKQUOTE element. For access to all properties and methods, use the FPHTMLBlockElement object.

Using the IHTMLBlockElement Object

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

    Dim objBlock As IHTMLBlockElement

Set objBlock = ActiveDocument.all.tags("blockquote").Item(0)