beautypg.com

View and edit head content, Set the meta properties for the page – Adobe Dreamweaver CS3 User Manual

Page 344

background image

DREAMWEAVER CS3

User Guide

337

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 PICS rating for the page. (PICS, the Platform for Internet Content Selection, 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 Content.

September 4, 2007