520 Part IV Database and Web Programming
Each Web page in a Web site contains a DOCUMENT object that holds important
general settings for the Web page. However, the DOCUMENT object is not selected
by default in the Designer, so you might not have noticed it. One of the important
properties for the DOCUMENT object is Title, which sets the title of the current Web
page in the browser.
- Set the Title property to “Car Loan Calculator .”
The change does not appear on the screen, but Visual Web Developer records it internally.
Now, change the title of your application in the site master page.
Edit the master page title
- Click the Site .Master file in Solution Explorer, and then click the View Designer button.
Visual Studio displays the master page in the Designer. The master page is a template
that provides default settings for your Web site and lets you adjust characteristics such
as appearance, banner titles, menus, and links. For example, you can click smart tags
associated with the Web site’s menu items and adjust them much as you customized
menus in Chapter 4, “Working with Menus, Toolbars, and Dialog Boxes .”
Your screen looks like this: