FPHTMLBRElement Object

Microsoft FrontPage Visual Basic

FPHTMLBRElement Object

FPHTMLBRElement Multiple objects

Represents the BR element in an HTML document. See also the IHTMLBRElement object.

Using the FPHTMLBRElement object

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

    Dim objBreak As FPHTMLBRElement

Set objBreak = ActiveDocument.all.tags("br").Item(0)