手机
当前位置:查字典教程网 >编程开发基础 >KompoZer user guide >Setting Page Properties
Setting Page Properties
摘要:

Setting Page PropertiesSetting Page Propertiesand Meta TagsUse the Page Properties dialog box to enter properties such as thetitle, author, and description of the document you're currentlyworking on. This information is useful if you plan to use the page ona web site, since search engines use this type of information to indexyour page. You can view this information from the browser window byopening the View menu and choosing Page Info.

Open the Format menu and choose Page Title and Properties. Edit any of the following properties: Title: Type the text you want to appear as the window title when someone views the page through a browser. This is how most web search tools locate web pages, so choose a title that conveys what your page is about. Author: Type the name of the person who created the document. This information is helpful to readers who locate the document by using a web search tool to search on name. Tip: If you enter the Author name in KompoZer's preferences, then you won't have to enter it each time you create a new page.

Description: Enter a brief description of the document's contents. [ Returnto beginning of section ]

Setting Page Colors andBackgroundsYou can change the background color or specify a background imagefor the page you're currently working on. These choices affect the waytext and links in your page appear to people viewing the page througha browser.

To set the colors and background for the current page, begin fromthe KompoZer window:

Open the Format menu and choose Page Colors and Background. Edit any of the following properties: Reader's default colors: Select this if you want your page to use the color settings from the viewer's browser for text and links. Use custom colors: Select this if you want to specify the colors of text and links. For each element, select a color from the drop-down list. Sample output for each type of link appears in the pane on the right. Background image: Select this if you want the background of your page to be an image. Type the name of the image file or click Choose File to locate the image file on your hard drive or network. Note: Background images are tiled and override background color selections.

URL is relative to page location: If checked, KompoZer converts the URL to be relative to the page's location. This is especially useful if you plan to publish your pages on a web server so that others can view them. Using relative URLs allows you to keep all your linked files in the same place relative to each other, regardless of their location on your hard disk or a web server.

Deselecting this option causes KompoZer to convert the URL to a full (absolute) URL. You typically use absolute URLs when linking to images on other web servers (not stored locally on your hard disk).

If you have unsaved changes, you must first save the page in order to enable this checkbox.

Note: To apply additional attributes or JavaScriptevents, click Advanced Edit to display the Advanced PropertyEditor.

You can also set the default page backgroundand colors for every new page you create in KompoZer.

[

上一篇: Working with Templates
精品推荐
分类导航