Select a head tag from Insert > HTML.
- Dreamweaver User Guide
- Introduction
- Dreamweaver and Creative Cloud
- Dreamweaver workspaces and views
- Set up sites
- About Dreamweaver sites
- Set up a local version of your site
- Connect to a publishing server
- Set up a testing server
- Import and export Dreamweaver site settings
- Bring existing websites from a remote server to your local site root
- Accessibility features in Dreamweaver
- Advanced settings
- Set site preferences for transferring files
- Specify proxy server settings in Dreamweaver
- Synchronize Dreamweaver settings with Creative Cloud
- Using Git in Dreamweaver
- Manage files
- Create and open files
- Manage files and folders
- Getting and putting files to and from your server
- Check in and check out files
- Synchronize files
- Compare files for differences
- Cloak files and folders in your Dreamweaver site
- Enable Design Notes for Dreamweaver sites
- Preventing potential Gatekeeper exploit
- Layout and design
- CSS
- Understand Cascading Style Sheets
- Laying out pages using CSS Designer
- Using CSS preprocessors in Dreamweaver
- How to set CSS Style preferences in Dreamweaver
- Move CSS rules in Dreamweaver
- Convert inline CSS to a CSS rule in Dreamweaver
- Work with div tags
- Apply gradients to background
- Create and edit CSS3 transition effects in Dreamweaver
- Format code
- Page content and assets
- Set page properties
- Set CSS heading properties and CSS link properties
- Work with text
- Find and replace text, tags, and attributes
- DOM panel
- Edit in Live View
- Encoding documents in Dreamweaver
- Select and view elements in the Document window
- Set text properties in the Property inspector
- Spell check a web page
- Using horizontal rules in Dreamweaver
- Add and modify font combinations in Dreamweaver
- Work with assets
- Insert and update dates in Dreamweaver
- Create and manage favorite assets in Dreamweaver
- Insert and edit images in Dreamweaver
- Add media objects
- Adding videos in Dreamweaver
- Insert HTML5 video
- Insert SWF files
- Add audio effects
- Insert HTML5 audio in Dreamweaver
- Work with library items
- Using Arabic and Hebrew text in Dreamweaver
- Linking and navigation
- jQuery widgets and effects
- Coding websites
- About coding in Dreamweaver
- Coding environment in Dreamweaver
- Set coding preferences
- Customize code coloring
- Write and edit code
- Code hinting and code completion
- Collapse and expand code
- Reuse code with snippets
- Lint code
- Optimize code
- Edit code in Design view
- Work with head content for pages
- Insert server-side includes in Dreamweaver
- Using tag libraries in Dreamweaver
- Importing custom tags into Dreamweaver
- Use JavaScript behaviors (general instructions)
- Apply built-in JavaScript behaviors
- About XML and XSLT
- Perform server-side XSL transformations in Dreamweaver
- Performing client-side XSL transformations in Dreamweaver
- Add character entities for XSLT in Dreamweaver
- Format code
- Cross-product workflows
- Installing and using extensions to Dreamweaver
- In-App updates in Dreamweaver
- Insert Microsoft Office documents in Dreamweaver (Windows only)
- Working with Fireworks and Dreamweaver
- Edit content in Dreamweaver sites using Contribute
- Dreamweaver-Business Catalyst integration
- Create personalized email campaigns
- Templates
- About Dreamweaver templates
- Recognizing templates and template-based documents
- Create a Dreamweaver template
- Create editable regions in templates
- Create repeating regions and tables in Dreamweaver
- Use optional regions in templates
- Define editable tag attributes in Dreamweaver
- How to create nested templates in Dreamweaver
- Edit, update, and delete templates
- Export and import xml content in Dreamweaver
- Apply or remove a template from an existing document
- Edit content in Dreamweaver templates
- Syntax rules for template tags in Dreamweaver
- Set highlighting preferences for template regions
- Benefits of using templates in Dreamweaver
- Mobile and multiscreen
- Dynamic sites, pages and web forms
- Understand web applications
- Set up your computer for application development
- Troubleshoot database connections
- Removing connection scripts in Dreamweaver
- Design dynamic pages
- Dynamic content sources overview
- Define sources of dynamic content
- Add dynamic content to pages
- Changing dynamic content in Dreamweaver
- Display database records
- Provide and troubleshoot live data in Dreamweaver
- Add custom server behaviors in Dreamweaver
- Building forms using Dreamweaver
- Use forms to collect information from users
- Create and enable ColdFusion forms in Dreamweaver
- Create web forms
- Enhanced HTML5 support for form elements
- Develop a form using Dreamweaver
- Building applications visually
- Build master and detail pages in Dreamweaver
- Build search and results pages
- Build a record insert page
- Build an update record page in Dreamweaver
- Building record delete pages in Dreamweaver
- Use ASP commands to modify database in Dreamweaver
- Build a registration page
- Build a login page
- Build a page that only authorized users can access
- Securing folders in Coldfusion using Dreamweaver
- Using ColdFusion components in Dreamweaver
- Test, preview, and publish websites
- Troubleshooting
View and edit content in a Dreamweaver web page, set the meta properties and the page title, specify keywords and descriptions for a page, and more.
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 in Code view, or by using the Code inspector.
Insert an element into the head section of a document
-
-
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
You can edit Head elements by directly typing in the code in Code view, or in the Property Inspector.
To edit elements in the head section using the Property Inspector:
-
Select the head element in the DOM panel (Window > DOM panel).
The Property Inspector displays the properties for the selected element.
-
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
-
Select Insert > HTML > Meta.
-
Specify the properties in the dialog box that appears.
Edit an existing meta tag
You can edit meta elements by directly typing in the code in Code view, or in the Property Inspector.
To edit elements in the meta section using the Property Inspector:
-
Select the head element in the DOM panel (Window > DOM panel).
The Property Inspector displays the properties for the selected element.
-
Select a meta tag from the DOM panel.
-
Specify the properties in the Property inspector.
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.
Set the page title
There is only one title property: the title of the page. You can edit the page title using one of the following methods:
- Edit the title in the code directly (in Code view)
- Select the title tag in the DOM panel, and edit the title in the Property Inspector
Specify keywords for the page
Many search-engine robots (programs that automatically browse the web gathering information for search engines to index) read the contents of the Keywords meta tag and use the information to index your pages in their databases. Because some search engines limit the number of keywords or characters they index, or ignore all keywords if you go beyond the limit, it’s a good idea to use just a few well-chosen keywords.
Add a Keywords meta tag
-
Select Insert > HTML > Keywords.
-
Specify the keywords, separated by commas, in the dialog box that appears.
Edit a Keywords meta tag
You can edit the keywords meta descriptions using one of the following methods:
- Edit the keyword in the code directly (in Code view)
- Select the meta tag for the keyword in the DOM panel, and view, modify, or delete the keywords in the Property Inspector.
Keywords must be separated by commas.
Specify descriptions for the page
Many search-engine robots (programs that automatically browse the web gathering information for search engines to index) read the contents of the Description meta tag. Some use the information to index your pages in their databases, and some also display the information on the search results page (instead of displaying the first few lines of your document). Some search engines limit the number of characters they index, so it’s a good idea to limit your description to a few words (for example, Pork barbecue catering in Albany, Georgia, or Web design at reasonable rates for clients worldwide).
Add a Description meta tag
-
Select Insert > HTML > Description.
-
Enter descriptive text in the dialog box that appears.
Edit a Description meta tag
You can edit the meta descriptions using one of the following methods:
- Edit the description in the code directly (in Code view)
- Select the meta tag for the description in the DOM panel, and edit the description in the Property Inspector.
Set the refresh properties of the page
Use the Refresh element to specify that the browser should automatically refresh your page—by reloading the current page or going to a different one—after a certain amount of time. This element is often used to redirect users from one URL to another, often after displaying a text message that the URL has changed.
Add a Refresh meta tag
-
Select Insert > HTML > Meta.
-
Specify the properties as follows in the dialog that is displayed:
Attribute
Specifies that the meta tag contains HTTP header information (http-equivalent).
Value
Specifies the type of information you’re supplying in this tag is refresh.
Content
Specify the time in seconds to wait before the browser refreshes the page. To make the browser refresh the page immediately after it finishes loading, enter 0 in this box.
Edit a Refresh meta tag
You can edit the refresh meta tag using one of the following methods:
- Edit the properties in the code directly (in Code view)
- Select the meta tag for refresh in the DOM panel or in the code, and edit the properties in the Property Inspector.
Edit a Base meta tag
You can edit the Base element that is used to set the base URL that all document-relative paths in the page are considered relative to.
-
Select the Base element in the DOM panel.
-
In the Property inspector, specify the Base meta tag properties.
Href
The base URL. Click the Browse button to browse to and select a file, or type a path in the box.
Target
Specifies the frame or window in which all linked documents should open. Select one of the frames in the current frameset, or one of the following reserved names:
_blank loads the linked document in a new, unnamed browser window.
_parent loads the linked document into the parent frameset or window of the frame that contains the link. If the frame containing the link is not nested, then this is equivalent to _top; the linked document loads into the full browser window.
_self loads the linked document in the same frame or window as the link. This target is the default, so you usually don’t have to specify it.
_top loads the linked document in the full browser window, thereby removing all frames.
Edit a Link meta tag
You can edit a link tag that defines a relationship between the current document and another file.
The link tag in the head section is not the same thing as an HTML link between documents in the body section.
-
Select the Link element in DOM panel or Code view.
-
In the Property inspector, specify the Link meta tag properties.
Href
The URL of the file that you are defining a relationship to. Click the Browse button to browse to and select a file, or type a path in the box. Note that this attribute does not indicate a file that you’re linking to in the usual HTML sense; the relationships specified in a Link element are more complex.
ID
Specifies a unique identifier for the link.
Title
Describes the relationship. This attribute has special relevance for linked style sheets; for more information, see the External Style Sheets section of the HTML 4.0 specification on the World Wide Web Consortium website at www.w3.org/TR/REC-html40/present/styles.html#style-external.
Rel
Specifies the relationship between the current document and the document in the Href box. Possible values include Alternate, Stylesheet, Start, Next, Prev, Contents, Index, Glossary, Copyright, Chapter, Section, Subsection, Appendix, Help, and Bookmark. To specify more than one relationship, separate values with a space.
Rev
Specifies a reverse relationship (the opposite of Rel) between the current document and the document in the Href box. Possible values are the same as those for Rel.