Dreamweaver Tutorial
Dreamweaver Tutorial
Dreamweaver Tutorial
The purpose of these Dreamweaver basic guide is to help first time users create a basic web page
using Macromedia Dreamweaver. The topics in the guide are as follows:
Open Dreamweaver
Depending on the settings of your computer, opening the program may automatically open a
blank, untitled web page. If it does not, go to the File menu and select New. This will open an
untitled document.
In Dreamweaver 3: click on the title icon on the top left of the blank screen. If this icon does
not show upper, from the View menu --> choose "head content."
The title icon is the one on the left with the little arrow
pointing at it.
When you click on this icon the title box appears. Type the title of your page in the space
provided.
In Dreamweaver 4: A blank title box appears at the top of the page. To enter the page title, all
you need to do is click on this box and type in the name of the page title.
Important:
The names of web pages must be one word (no spaces). If you want the file name to have more
than one word in it, then you need to run these words together to form one word. There are
different conventions to naming web pages. There is no one "correct" way (so long as you have
no spaces), but it's a good idea to decide which you want to use and then stick to the same format
for all your pages. Examples:
If you are using a Mac, you must make sure that the file name is followed by the file extension
.html (if you are using a PC,the extension will be added in automatically for you. Macs use the
extension ".html" while PC's use ".html" -- but both work).
Creating links:
Absolute link = a link to to another site or page that is not on your web site. They
include all of the information about the site and begin with http:// An example would be:
http://www.d.umn.edu/~hrallis
Relative link = a link to another page within your site. An example would be
OfficeHours.html which is a page within my ~hrallis site.
This is used when you want users to be able to send an e-mail without having to type in the e-
mail address. When users click on an e-mail link a new message window will open using the
mail program associated with the user's browser (e.g. Outlook Express will open, and a new
message window will appear with the e-mail address already entered).
1. To insert an e-mail link, place the cursor on your web page in the place in which you
want to insert the link or highlight the text words that you want to appear as the e-mail
link.
2. Click on the Insert E-Mail Link on the object palette.
3. In the E-mail field, type the e-mail address mail should be addressed to.
4. Click OK.
Before inserting an image onto your web page, make sure that it is (a) saved either as a .jpg (or
.jpeg) or .gif (b) saved into your web site folder [to learn more about web site organization, see
web site guidelines]. It is a good idea to have a separate folder (directory) for images contained
within your web site.
1. To insert an image, place the cursor on your web page in the place in which you want to
insert the image.
2. Click on the picture of the little tree (top left of the object palette). This will bring up a
dialog box asking you to select the image source. Navigate to the folder in which you
have the image saved and click the "open" button. This will insert the image onto your
page.
1. Click at the start of the paragraph next to which you want the image to
appear (even if you want the picture to appear at the end of the paragraph
and on the right). Next,
2. Insert the image (see above for how to do this).
3. Click on the picture to select it.
4. Then, from the properties palette, click on the arrow next to the word "align." From the
pop up menu make a choice. Example: If you choose "right" the image will appear to the
right of the text, as shown here with the sunset photo.
It is very important to include a description of the image for (a) those users who choose to set
their web browsers not to load images [this helps speed up the load time of pages and is very
useful if you have a slow modem connection] (b) for people who have vision impairments and
who use a screen reader to read out loud what is written on the web page.
1. Once you have inserted the image, click on it. Notice that the properties palette switches
from the text properties palette to the image properties palette.
2. Click in the box next to where it says "Alt." Type in a short description of the image (e.g.
the alt tag I used for the image properties palette image below says, "Screen shot of
image properties palette").
Align image
You can align the image left, center, or right by selecting it (click on it) to bring up the image
properties palette. Change the alignment by clicking on your choice of alignment boxes from the
3 in the bottom right corner of the image properties palette.
1. To insert a table, place the cursor on your web page in the place in which you want to
insert the table.
2. Click on the picture of the table on the objects palette. This brings up the "insert table"
dialog box.
3. In "insert table" dialog box select the appearance of your table:
o Rows: enter the desired number of rows
o Columns: enter the desired number of columns
o Width: This gives you the choice of setting how wide you want the table to be. If
you choose the width in "pixels", this sets the table width regardless of the size of
the user's browser window. If you choose the width in "percent" your table width
will change with the user's browser window size. [It is usually best to have this be
blank, so that the browser makes the table as wide as it needs to be to fit the table
on the page].
o Border: this sets the width of the table borders. If you want your table to be
invisible set this at 0. (Since there is no tab key on web pages, you can use
invisible table when you want to force spaces between text or objects on the
page).
o Border colors: use the Light Brdr and Dark Brdr fields to select border colors
that have a highlight and shadow effect, respectively, giving the border a three-
dimensional appearance. (To return to the default gray shades, remove the color
values and leave the fields blank.)
o Border field: Choose Brdr to select a border color for the entire table.
o Background image or color: Use the Bg options to select the background image
or background color for the table.
o Cell spacing: specifies the number of pixels between each table cell
o Cell padding: specifies the number of pixels between the cell content and the cell
boundary (or wall).
4. To select the entire table, do one of the following:
o Click the top left corner of the table, or click anywhere on the right or bottom
edge.
o Click once in the table and choose Modify > Table > Select Table.
o Click once in the table and choose Edit > Select All.
o Position the insertion point anywhere inside the table, and select the <table> tag at
the bottom left corner of the Document window. Selection handles and a dark line
appear around the table when it is selected. It will also change the properties
palette into the table properties palette. You can then make changes to the
appearance of the table using this palette.
5. To select rows or columns, do one of the following:
o Position the insertion point at the left margin of a row or at the top of a column.
Click when the selection arrow appears.
o Click in a cell, and drag across or down to select multiple rows or columns.
6. To select one or more cells, do one of the following:
o Click in a cell, and drag down or across to another cell.
o Click in one cell and then Shift-click another cell. All of the cells between the two
cells will be selected
1. To insert horizontal rule, place the cursor on your web page in the place in which you
want to insert the rule.
2. Click on the picture of the horizontal rule on the object palette.
1. Select "Edit Browser List" from the list that appears when you chose the "Preview in
browser" option above.
2. Click on the edit button and browse through your computer to locate your choice of
browser.
3. When you locate the browser, click the box next to "Primary Browser" to make this your
default choice.
4. Click OK
To try out some of these steps using the text palette, go to the Practice Exercise.