FPHTMLParaElement Object


Represents a P element in an HTML document. See also the IHTMLParaElement object.
Using the FPHTMLParaElement Object
Use the tags method to return an IHTMLElementCollection collection that represents a collection of all the P elements in a document. Use the Item method to return an FPHTMLParaElement object that accesses a specific P element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first P element in the active document.
Dim objPara As FPHTMLParaElement
Set objPara = ActiveDocument.all.tags("p").Item(0)