beautypg.com

Working with head content for pages – Adobe Dreamweaver CC 2014 v.13 User Manual

Page 291

background image

Working with head content for pages

To the top

To the top

View and edit head content
Set the meta properties for the page
Set the page title
Specify keywords for the page
Specify descriptions for the page
Set the refresh properties of the page
Set the base URL properties of the page
Set the link properties of the page

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the options described in this
article in Dreamweaver CC and later. For more information, see

this article

.

Pages contain elements that describe the information on the page, which is used by search browsers. You can set the properties of head elements
to control how your pages are identified.

View and edit head content

You can view the elements in the head section of a document by using the View menu, the Document window’s Code view, or the Code inspector.

View elements in the head section of a document

Select View > Head Content. For each element of the head content, a marker appears at the top of the Document window in Design view.

Note: If your Document window is set to show only Code view, View > Head Content is dimmed.

Insert an element into the head section of a document

1. Select an item from the Insert > HTML > Head Tags submenu.

2. Enter options for the element in the dialog box that appears, or in the Property inspector.

Edit an element in the head section of a document

1. Select View > Head Content.

2. Click one of the icons in the head section to select it.

3. Set or modify the properties of the element in the Property inspector.

Set the meta properties for the page

A meta tag is a head element that records information about the current page, such as the character encoding, author, copyright, or keywords.
These tags can also be used to give information to the server, such as the expiration date, refresh interval, and POWDER rating for the page.
(POWDER, the Protocol for Web Description Resources, provides a method for assigning ratings, such as movie ratings, to web pages.)

Add a meta tag

1. Select Insert > HTML > Head Tags > Meta.

2. Specify the properties in the dialog box that appears.

Edit an existing meta tag

1. Select View > Head Content.

2. Select the Meta marker that appears at the top of the Document window.

3. Specify the properties in the Property inspector.

Meta tag properties

Set the meta tag properties as follows:

Attribute Specifies whether the meta tag contains descriptive information about the page (name) or HTTP header information (http-equiv).

Value Specifies the type of information you’re supplying in this tag. Some values, such as description, keywords, and refresh, are already well
defined (and have their own individual Property inspectors in Dreamweaver), but you can specify practically any value (for example, creationdate,
documentID, or level).

Content Specifies the actual information. For example, if you specified level for Value, you might specify beginner, intermediate, or advanced for

284

This manual is related to the following products: