IHTMLParaElement Object
IHTMLParaElement |
Represents a P element in an HTML document. The IHTMLParaElement object provides a limited number of properties and methods related to the P element. For access to all properties and methods, use the FPHTMLParaElement object.
Using the IHTMLParaElement 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 IHTMLParaElement 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 IHTMLParaElement
Set objPara = ActiveDocument.all.tags("p").Item(0)
Properties | Align Property
Parent Objects
Child Objects