Tutorialdreamweaver 4
Tutorialdreamweaver 4
If you do not see these areas on your screen, or if you want to display other panels you previously
closed, go to the Window menu and select the appropriate options to bring them back on the
screen. Example: Window, Insert, Properties and Files should all have check marks beside them.
The very first thing you should do is define a site to organize your web pages. Doing so lets you
set up, or define, all of the settings necessary for publishing so the process will ultimately be as
easy as clicking one button. But you must realize that when you create web pages, you will be
working with two sets of files - the local files (used for editing, works-in-progress, and publishing)
and the remote files (already published and available web pages). Student Tips: Even if you have
1
already started a web page you must do this each time you sit down at a new or different campus
computer, otherwise Dreamweaver will not be able to publish your pages.
At the Site Definition window you will need to click on the Advanced tab to see screen as
examples below.
2
Defining Your Local Site
Example of Site Definition of Local Information Page above, follow steps below.
1. On the Local Info page fill out the Site Name by putting in your web site name here. This
will not show up on the web page, it is only used for reference on this program. If it is for a
departmental page put your department name here.
2. The Local Root Folder will be your folder for your publishing files. We suggest creating a
folder on the network in your Private or Public folder. Click on the yellow folder to find the
path to your folder. At Dickinson each student has their own folders which are found on the
Y drive or it is called Resserv.
3. The HTTP Address will be the web address that will bring up your web page. An example
of a web address for a student would be: http://users.dickinson.edu/~smitht
3
Defining Your Remote Site
Example of Site Definition of Remote Information Page above, follow these steps for on
campus and for PC computers.
1. Click on the Remote Info under the Category menu and a Remote Info window appears.
Under Access choose Local/Network.
2. The Remote Folder will be W:/ for personal web pages. Click on the folder; navigate to
the My Computer for the W drive. For Mac computers click on Go, Connect to Server, type
smb://users.dickinson.edu/websites$/~username and click Go. A SMB/CIFS System
Authentication dialog box appears. Type in your Active Directory/Network/Gateway
password and click OK. This will be the place to navigate to.
3. Your site has been defined, so just click OK.
4
Example of Site Definition of Remote Info Page below for off campus and Mac computers.
You should get a Successful Connection dialog box. Click OK (see example below)
5
First Things First
Before you even begin typing the content of a web page, get into the following habit:
From the File menu, select Save, after you have created a new page and before you start to edit
it. Make sure to save the file in the folder you specified as the Local Root Folder when you
initially defined the site.
In the Save As dialog box, enter a name for the file. If this page is your home page (see next
section), make sure to name it index.htm or index.html. (Web pages can have either .htm or
.html as their file extension.) Other pages can be named whatever you wanted following the
rules below.
After the file has been saved, give the page a Title. At the top of the Document window, type in
the Title box, then press Enter. Titles are displayed in a web browser's title bar only and will
not actually appear as text within the page.
Adding Text
Simply begin typing the text you want to add to the page. Press Enter only at the end of
paragraphs, otherwise, let the text word wrap. Whenever you press Enter, a double-space will
appear between the paragraphs of text. If you, instead, want only a single space, press Shift-Enter
instead. This is called a line break, as opposed to a paragraph break.
You may add typical formatting, such as Bold or Italics by clicking the appropriate buttons on the
Property Inspector. If you want to change text alignment (left, center, or right), just click the
desired button on the Property Inspector.
6
Headings
There are six pre-defined heading sizes, 1 through 6, which are web page standards. Heading 1 is
the largest and heading 6 is the smallest.
1. Make sure the cursor is on the line you want to change. On the Property Inspector, drop
down the Format options and select the desired size.
2. Type the text for your heading and press Enter.
3. To return to normal text, drop down the Format options on the Property Inspector and
select Paragraph.
Indenting Text
You can add indents as you're typing the paragraph or later. Just remember that indenting works
on a paragraph by paragraph basis. If you want to indent the current paragraph, make sure the
cursor is somewhere within the paragraph and click the Text Indent button on the Property
Inspector. If you want to indent several paragraphs at the same time, simply select all the
sequential paragraphs first, then issue the Text Indent command.
To remove an indent, make sure the cursor is within the paragraph, click the Text Outdent
button on the Property Inspector.
7
4. Click OK to return to the document.
Inserting Graphics
Only two graphics formats are supported on the web are .GIF and .JPG.
1 The place the cursor where you want to insert the graphic. Click the Insert Image button
on the Insert Bar.
2 Select the image file that you want to insert. (You save yourself time if you store your
images in the same folder as your web page.) Notice at the bottom of the dialog box, that the
images location in the URL field is Relative To the Document.
3 If you want to see a preview of the image before you select it, just place a check mark in
the Preview Images check box. (Example above)
4 When your choices are complete, click Select to insert the image into the page. Notice the
Property Inspector options have changed because you now have the image selected (See above
example)
5 On the left side of the Property Inspector, there is a white box where you should enter a
name for the image - do not use spaces. This is an internal name and, while not necessary,
providing one is a good habit to begin.
6 On the right side of the Property Inspector, click in the Alt text box. Type another name
for this graphic. The Alt tag is important to include because some individuals have visual
impairments and their web browser will read it the contents of the Alt tag to them. You may use
multiple words, spaces and capital letters in this box.
7 Finally, dropped down the Align option to select how text will align with the graphic. If
you want text to wrap around the graphic, select either Left or Right. Only these two options can
be used to wrap text around the graphic. All of the other selections only it work for single lines of
text.
8
Adding Links to Other Web Pages
You can create links on your page two other web sites or to other pages you've created within your
own web site. It's important to verify the accuracy of your links before you publish the page.
Always preview your web page in your browser and test each individual link. More on that in the
next section
Anatomy of a Link
A link is either a piece of text or a graphic which, when clicked, will take your reader to another
location on the web. This location could be another part of the page or a completely different page
on your own web site, or it could be a page located on an entirely different web server. The link
itself has two parts: 1) the clickable text or graphic and 2) the location on the web.
9
then press Enter. Always start the link with http:// otherwise the link will not work. (See example
below using Google)
Note: If the page you just selected hasn't previously been published, you must make sure to publish
that page also in order for the link to work.
3 In the Text box(example above), enter the text you want to appear as the link on the page
4 In the E-Mail box, enter your full internet email address and Click OK.
([email protected])
10
1 To define an anchor, place the cursor at the beginning of the text you want to jump to.
2 On the Insert Bar, click the Named Anchor button.
3 On the Named Anchor dialog box (example above), type in the name you want for the
anchor. It's a good practice to keep the anchor names relatively short, yet easy enough to
remember, and do not use spaces and Click OK.
4 You will see a small yellow anchor appear to the left of the text
5 Repeat steps 1 through 4 until all anchors have been defined.
6 Now, define the link. Select the text you want for one of the links. In the Property
Inspector, drag the Point to File icon (located to the right of the Link text box) to the associated
anchor icon.
7 Repeat step 5 until all links have been defined.
1 From the Modify menu, select Page Properties, select Link under Category. (example
below)
2 Click on the color boxes for any of the desired colors, then make your choice and Click
OK
11
Creating a Graphic Link
12
3 Dreamweaver will ask if you want to include dependent files. (These would be files, such
as graphics, also included on the page.) Always click Yes.
13