Posts Tagged ‘Dreamweaver training’

Editing The Head Content Using Dreamweaver CS5’s Visual Tools

Thursday, September 15th, 2011

A web page consists of two main elements: the head and the body. The body element contains all of the content which will be displayed in the browser window and the majority of which will be visible to the user. The head element, by contrast, contains information about the web page itself; meta information as it is sometimes called. In this article, we will look at the different ways of modifying elements within the head of a web page in Dreamweaver CS4, beginning with the title.

The title element is designed to contain a broad description of the content of the page. It is very important that each page should have a title and that the title is pertinent to the web page that contains it. Dreamweaver always adds a title element to every new page containing the text “Untitled Document”. Perhaps the simplest way of modifying this default title is to enter a title in the Document Title box of the Document toolbar which is normally displayed at the top of the page. Another method is to choose Modify – Page Properties and then click on the Title/Encoding category on the left of the screen.

The title element is the only element which is required to be placed within the head element. In addition a number of optional meta elements may be placed in the head area to provide further information about the current page. One such meta element is generated automatically by Dreamweaver along with the title: the content-type. This declares the character encoding for the benefit of the browser and is particularly important if you have a site with an international audience. To specify the character encoding, choose Modify – Page Properties, click on the Title/Encoding category on the left of the screen and then choose an Encoding option from the drop-down menu.

The meta description element is one of the most important since, along with the page title, it is often displayed when your page shows up in the search engine results. The description should consist of a couple of sentences summarising the content of the page. To set the description in Dreamweaver, choose Insert – HTML – Head Tags – Description then enter your description in the dialogue box which appears.

Let’s end by mentioning one final meta element: keywords. The keywords meta element, often misused for spamming in the early days of the web, should contain a list of the important words and phrases to be found on the current page. Only text which actually appears on the page should be listed. To generate the meta keywords element in Dreamweaver, choose Insert – HTML – Head Tags – Keywords.

You can get up to date information on Dreamweaver training courses, visit Macresource Computer Training, an independent computer training company offering Dreamweaver Classes in London and throughout the UK.

Subscribe to My Newsletter
You will learn some of the things even the Gurus don't want you to know!
Name:
Email:
 
Powered by Optin Form Adder

Dreamweaver CS4 Guides Newbies Through The Intracies Of HTML And CSS

Monday, September 28th, 2009

It is now wonder that Adobe Dreamweaver is so popular and so widely used. It offers the general user a way into the world of web development without first having to learn too much about the technologies which are used in building modern websites. Among the powerful features which Dreamweaver makes available to inexperienced users are preset CSS layouts, accessibility guidance, HTML guidance, CSS guidance and standards compliance. Let’s look at how these features are implemented and how Dreamweaver can make you look good as a web developer before you know enough to look good on your own.

When you create a new web page in Dreamweaver (File – New), you are given the option of basing the new page on one of the preset CSS layouts built into the program. Using CSS for page layout requires a fair amount of experience of the quirks of CSS and is no job for a beginner. Simply by choosing the layout which is closest to their requirements, users can go ahead and create CSS web pages which will work and which can be customized to suit their requirements.

Dreamweaver’s accessibility preferences by default cause the program to display useful alerts to remind the user to incorporate accessibility features into the elements being placed on the page. Thus, for example, each time an image is added to the page, a dialogue box will appear which contains a box for the user to enter the alternate text. Similarly when adding a form element, the form accessibility dialog prompts you to enter both and ID and the label text.

Most new users of Dreamweaver will also be fairly new to web development and may still be a little shaky on HTML and will typically build web pages visually using Dreamweaver’s Design mode. Whenever I run a Dreamweaver training course, I always make new users aware of Dreamweaver’s tag selector feature. This consists of a hierarchical display of the element which is currently selected on the page, the element which contains that element? and so on, all the way up to the BODY element which of course contains all elements on the page. Clicking on one of the tags displayed on the tag selector cleanly selects the corresponding element. Also, right-clicking displays a useful set of options such as “Remove Tag” and “Set Class”.

Dreamweaver’s context-sensitive Properties panel is another rock on which new users can always count. Unlike previous versions of Dreamweaver, version CS4 makes a clear distinction between structural attributes (which are displayed in the HTML tab of the Properties panel) and CSS attributes (which are displayed in the CSS tab). For example, if you select an element which is already controlled by a CSS rule, the Properties panel will allow you to edit the rule. If there is no rule, it will prompt you to create one.

About the Author: