Adobe GoLive 9

Head section elements

The options and attributes in the Inspector vary depending on the type of element that is selected in the head section pane. You can add any of the following elements to a page:

The Favorite icon
Use to specify an image that appears with your page’s title in the Favorites or Bookmarks menu of a web browser. Favorite icons should be 16x16 pixels. To specify an image that appears with all pages in your site, name the image “favicon.ico” and upload it to your site’s root folder. (See Publishing a site for more information about uploading files to a publish server.) Use a Smart Favorite icon from the Smart set of the Objects panel to specify a Smart Object as a favorite icon (see Smart Favorite icons).

The Keywords element
Use to specify keywords for your web page. Internet search engines use the information in the Keywords element when constructing their indexes. The Keywords Inspector lets you add, update, delete, and rearrange selected keywords in a list for the element. You can also add a keyword to the first Keywords element in the head section by selecting text in the page and choosing Advanced > Add to Keywords. If no Keywords element exists in the head section, GoLive adds it automatically. The new keyword appears in the list in the Keywords Inspector.

Internet search engines rely both on keywords and page titles to find your pages. (See To change the page title).

Comment
Use to add hidden comments to your web page, such as publishing information for future reference. To view the comments, you need to use GoLive or another source code viewer.
Note: You can also add comments to the body of the page and refer to them as you build the page in the Layout Editor. (See To add comments to a page.)

The Meta element
Use to include information about the web page, such as a description of the page content. For each new page, GoLive automatically includes the following information using meta elements: file format (for example, text/HTML), character set used (for example, ISO-8859-1), and file creator (for example, Adobe GoLive). The Meta Inspector lets you choose an HTTP-Equivalent option to simulate header information that accompanies the page when it’s sent by an HTTP server to a browser or the Name option to define a non-HTTP meta element.
Note: To prevent GoLive from writing the file creator meta element, choose Edit > Preferences (Windows) or GoLive > Preferences (Mac OS), select General, deselect Write “Generator Adobe GoLive,” and click OK. To change the character set for a new page, select the Encode tag in the head section of the page and select another character set in the Encoding Inspector. To change the character set for all new pages, choose Edit > Preferences (Windows) or GoLive > Preferences (Mac OS), select Encodings, choose a new set, and click OK. To change the encoding for selected files in a site, select files in the site window, choose Advanced > Convert > Encoding, select a new encoding, and click OK.

The Script element
Use to add JavaScript to the head section of your web page. A script in the head section is executed while the visible body section of the page is still being loaded. You use the Head Script Inspector to enter a name for the script, choose the language or JavaScript dialect for a browser, specify the script file, and open the JavaScript Editor to edit the script file. (See Using JavaScript.)

The Refresh element
Use to instruct web browsers to refresh the contents of your web page or replace your page with another page after a specified interval. You may want to use this element if your page contains live material or if it’s part of a sequential series of pages you are presenting to viewers. The Refresh Inspector lets you enter a Delay value in seconds to specify an interval before the page is refreshed or replaced with another page. You choose either the Target This Document option to refresh the current page or the Target URL option to replace the page with another page.

You can easily create a slide show by adding a Refresh element to each page that’s part of the slide show. For example, you can add a Refresh element to the first page of the slide show that replaces the first page with the second page, and so on.

<no edit> elements
Use to add <no edit> elements to the head section of your web page. These are useful for adding code that has unusual syntax or that GoLive can’t read, and for adding new unknown elements and ensuring compatibility with future versions of HTML and the web browsers that support these versions. You use the Element Inspector to edit the start and end tags, add the names and values of new attributes, and delete attributes from the list.

Text character encoding
Use to add a meta element that defines the character encoding for text in a document. By default, all new pages created in GoLive use the meta encoding element in the head section with the UTF-8 character set attribute. You can change the character encoding by selecting the Encode object in the head section and selecting an encoding option in the Encoding Inspector. You can also change the character set for a document by choosing a different set from the Advanced > Document Encoding submenu, or change the character set for selected files in a site by choosing Advanced > Convert > Encoding and selecting a new encoding in the Change Encoding dialog box. (See Non-roman character sets.)

The Link element
Use to define relationships between your current web page and other pages in your website, or on the Internet. (If you manage the pages in your site using the GoLive site window, you don’t need to use the Link element.) You can use the information in the Link element to keep track of links between pages in a large site. The Link Inspector lets you specify the title, link name, and anchor name for the referenced page, the relationship and reverse relationship between the current page and the source or destination URL, a list of HTTP methods supported by the referenced page, and a Uniform Resource Number (URN) for the page.
Note: Most web browsers don’t use or support URNs or the Methods attribute.

The IsIndex element
Use both to inform web browsers that your web page can be examined using a keyword search and to instruct the browsers to display a search text box for keywords when displaying your page. The Prompt text box in the IsIndex Inspector lets you enter the string that you want browsers to display with the search dialog box.
Note: The IsIndex element is obsolete.

The Base element
Use to specify the original location of your web page, also known as the base URL. The base URL is used by web browsers to locate relative links on your page. In the event that your page is moved away from its original location, the browsers can correctly locate the page’s relative links using the base URL.