Share via


Understanding the Page Object Model

When you write script to work with the HTML elements in a Web page, you are working with the page through the DHTML document object model. FrontPage exposes nearly all of the methods and properties of this object model through the FrontPage Page object model. To see the restrictions of the Page object model, search the Microsoft FrontPage Visual Basic Reference Help index for "object model," and then open the "Exploring the FrontPage Object Model" topic.

In FrontPage, you can use Microsoft® Visual Basic® for Applications (VBA) code to work with the HTML elements in a Web page. You use the Document property or the ActiveDocument property to return a DHTML document object. When you have the document object, you have access to all HTML elements contained in a Web page.

See Also

Working with Microsoft FrontPage Objects | Understanding the FrontPage Object Model | Using Web Technologies with Office XP