Beruflich Dokumente
Kultur Dokumente
Learn the basics of Adobe Dreamweaver by creating a new page and inserting and formatting common
HTML items such as links, images and lists.
Objectives
In this lesson we will be creating a new file called berlin_wall.htm which we will then link back to our
index page. You can download the finished index.htm page at http://myweb.stedwards.edu/s_classfiles/.
The final page after completing this tutorial should look similar to: berlin_wall.htm
Setting up a site in Dreamweaver is one of the first things that should be done when working in Adobe
Dreamwaver. In order to create a new web site in Dreamweaver you will have to set up the site
definition for the site. The site definition contains two sections: Local Info and Remote Info.
After locating the icon on the desktop (PC) or the icon in the dock (Mac) you will see a screen that looks
similar to the window pictured above.
1. Choose the option of Dreamweaver Site.
2. The Dreamweaver Site Definition Wizard gives a generic title of "Unnamed Site 1." However, when
working with multiple sites, such as a personal site and a work site, if each name is named "Unnamed
Site 1", "Unnamed Site 2", etc, it soon becomes hard to determine which site is which. Choose a name
that is unique and descriptive for the site that you will be working on.
For example, we can name our site for this lesson, Berlin Wall Site.
3. In the next box type the address (or URL) of your page if you know it. For St. Edward's the URL will
be http://myweb.stedwards.edu/seuloginname
4. Click Next.
The only time that you would use server technology would be if you were creating a web application or
a site connected to a database. If so select Yes and follow the instructions.
The option of Edit directly on the server using local network is quite the opposite. When this option
is selected, each time you hit save the changes are immediately put into place. If there are users on
your webpage before you make a change, they will need to refresh their browser to get to thecurrent
one.
NOTE: This option is not available off campus (from lab computers).
Edit local copies on my machine, then upload to server when ready means each time you save
your webpage, the viewer will not see the "work in progress" changes as you work. This also prevents
the user from moving to another page and then going back to the previous page, and find that things
have been moved around.
9. Select a folder on your computer where you would like to save all your files. For this lesson you can
create a new folder in your EdShare home folder named BerlinWall.
10. Click on the Select button and then you are taken to the previous window with your Edshare
information in the little box located below the text of Where on your computer do you want to store
your files?"
12. In the box below the words "How do you want connect to your remove server?" choose FTP.
13. Enter in the host name or the FTP Address of your website.
NOTE: Since we are working on Edshare, the host name is edshare.stedwards.edu. If you buy a
domain name, most times the company will give you the host name. Since each company is different,
you will need to consult the FAQ's for more details.
15. In the box that is asking for "FTP Login", enter in your St. Edward's login name and password.
NOTE: For a domain you've purchased, the company will give you this information.
16. Make sure the check box for "Use Secure FTP (SFTP)" is checked for the St. Edward's Network. If
you bought your a domain, it might or might not be required to have this checked. The only way to know
19. After you have successfully tested your connection, click Next and then choose the option of "No,
do not enable check in and check out."
The option of Check in and Check out refers to when you are working in a large group. If the option is
enabled, it allows one user full editing access and shows as "read-only" when opening the same file to
other users. If the option is disabled, it will allow each person in the group to open and edit the same
file. If one person changes and uploads the file, while a second person changes and uploads the same
file, the first person's changes are not visible, but the second person's changes are to the user.
Creating new documents is simple in Dreamweaver; before you continue, it is very important that you
save your file first! You don't want to unexpectedly lose your work. In this lesson save the file as
berlin_wall.htm.
Exploring Dreamweaver
Dreamweaver's workspace consists of four basic elements. These elements are the Document Window
, Insert Panel, Properties Panel, and Panel Groups. Let us take a look at each of these elements
more in depth.
The Document Window is the browser-approximate main workspace where web pages are created
and edited using the panels and toolbars.
Embedded within is the document toolbar that includes three main viewing options: Code, Split, and
Design. These three viewing options help you view and manipulate your web pages.
o Code View - This option allows you to view your web page's entire HTML coding as it is generated by
Dreamweaver. Many designers use this option in order to enter or edit the HTML code.
o Split View - This viewing option divides both the Design and Code view to allow you to see the
HTML coding as you lay out your website. The upper pane displays your HTML code while the lower
pane shows you the page as it will appear in the web browser. This view allows a designer excellent
mobility between the coding and the layout. It is also best used when you want to debug or
troubleshoot a web page.
o Design View - This option is the primary view that allows you to view your web page the way it will
appear in your web browser. Take note that when you are viewing your web page in this view, all of
your HTML coding is hidden. The finished product should look the way it does in this viewing option.
Document Toolbar
1. Live View - Sometimes there are discrepancies between whe you see in Design view and what your
webpage looks like live on the Web. To preview what your page will look like live on the Web, click the
Live View button to toggle these views.
2. Title - Create a Title for your page. This is visible to visitors in the Browser and in search engine
results. Your title should be no longer than 65 characters.
3. Preview in Browser - Choose what browser you preview your page in.
4. View Options - Toggle grids, guides, etc. to help you work in Design view.
5. Visual Aids - Display or hide element borders in Design view.
6. Validate Markup - Check your page to make sure your markup validates according to W3C standards.
This toolbar is called the Insert Panel, which allows you to create new objects (anything that is
manually inserted onto your Document Window). The buttons found in this toolbar are organized into
categories. Select catagories using the dropdown menu. The different categories appear above the
icons.
Properties Panel
The Properties Panel is a toolbar located beneath your Document Window. This toolbar contains a
series of buttons for examining and editing attributes of any page element that is currently selected on
your web page. Take note that your Properties Panel buttons and options may change to reflect any
attributes of any selected element.
The Status bar is small panel located at the bottom of your Document Window. The Status bar in
Dreamweaver consists of three things: the Tag Selector, Window Size menu, and Document
Size/Estimated Download Time.
o Tag Selector - Shows your entire HTML tags as located and selected in your Document Window.
You can also quickly select any HTML tag by simply clicking on any of the tag symbols. This is best
when web pages become more dynamic and elaborate, you can keep track of all of your HTML tags.
o Window Size menu - This allows you to view your Document Window's current dimensions in pixels (
i.e. 1058 x 700). These numbers can change when you resize your Document Window or you can set a
specific dimension by manually resizing the window or by selecting a dimension from its drop down
menu.
o Document Size/Estimated Download Time - Shows your web page's current size in kilobytes (K)
and the approximate amount of time in seconds it would take to download the page over a 28-Kbps
modem. (i.e. 4K/1sec).
Panel Group
Panels in Dreamweaver are grouped together into panel groups. Each panel group can be dragged out
to become its own floating window by clicking on tab and dragging/dropping the tab, as done with the
Files panel group in the above screenshot.
The CSS Styles Panel lets you track the cascading style sheet rules and properties that affect a
current page element (Current Mode), or the entire document (All Mode). A toggle button at the top of
the panel allows you to switch between the two modes. You can also modify the CSS properties in both
All and Current mode.
You use the Files Panel to view and manage the files in your Dreamweaver site. When you view sites,
files, or folders in the Files panel, you can change the size of the viewing area, as well as expand or
collapse the Files panel. When the Files panel is collapsed it displays the contents of the local site, the
remote site, or the testing server as a list of files. When expanded, it displays the local site and either
the remote site or testing server. The Files panel can also display a visual site map of the local site. For
Dreamweaver sites, you can also customize the Files panel by changing the view-either your local or
remote site--that appears by default in the collapsed panel.
Dreamweaver CS4 provides 8 preset workspace layouts designed to suit different types of developers
or projects. To switch workspace layouts, select a layout from the workspace switcher, in the top-right
corner of the application window, as shown in the screenshot. "Classic" refers to the layout of
Dreamweaver CS3.
3. Click the Code button in the Document toolbar to change to Code. (If your Document toolbar isn't
visible, select View > Toolbars > Document to make it visible.)
4. Click the Design button in the Document toolbar to return to the default Design view of your page.
5. In the Document toolbar's Title text field, type [name of your website]. Press Enter (Windows) or
Formatting text in Dreamweaver is the same as using a standard word processor, such as Microsoft
Word. You can:
o set formatting styles (such as Paragraphs, Heading 1, Heading 2, Heading 3) for a block of text,
o apply text styles such as bold, and italic.
NOTE: Other formatting options such as changing the font, size, color, and alignment of a selected text
should be done in cascading style sheets , instead of the Properties Panel in Adobe Dreamweaver.
Text is entered into Dreamweaver by either typing directly onto the Document Window or inserting the
text directly into the code using the Code view. Once this text is in the Document Window you can
format it very similar to most word processors. Pressing Enter (Windows) or Return (Macintosh) create
a new paragraph. You can start a new paragraph by inserting a line break. The following are some of
the most important formatting tools found in Dreamweaver.
Dreamweaver contains three basic paragraph styles: paragraph, heading, and preformatting. They
are applied using the Format drop-down list in the Property Inspector panel.
o Paragraph - This format ignores white space, so extra spaces within the paragraph appear as only
one space when viewed in a browser. Paragraph format uses the HTML code <p>…</p>, which
indicates the text will automatically wrap.
o Heading - Headings are used to identify different sections of content on a page. They range from
largest and boldest <h1> to smallest <h6>. Headings are applied to the entire paragraph, so you can't
mix heading styles within the same line of text.
Adding Paragraphs
1. Press Enter (Windows) or Return (Macintosh) after the Heading 1 or previous text.
2. Pressing enter idesignates any following text as a plain paragraph until formatted differently. Type
any desired text, for this lesson you can type an introductory paragraph about Berlin like the one above.
Note: Dreamweaver always assumes that any inserted text is one complete paragraph. Unless you
apply a proper format, then the text found within the <p> …</p> tag pair will appear as one complete
paragraph.
The use of white space is important in the design and readability of any website. In Dreamweaver,
when you press Return (Enter) key, a new <p> is inserted.
Follow any of these simple steps in order to insert a line break. In the Code view, the screenshot above
Spell Check
Use the Check Spelling command to check the spelling in the current document. The Check Spelling
command ignores HTML tags and attribute values.
By default, the spelling checker uses the U.S. English spelling dictionary. To change the dictionary,
select Edit > Preferences > General (Windows) or Dreamweaver > Preferences > General (Macintosh),
then in the Spelling Dictionary pop‑up menu select the dictionary you want to use. Dictionaries for
additional languages can be downloaded from the Dreamweaver Support Center at
www.adobe.com/go/dreamweaver_support.
1. Select Commands > Check Spelling or press Shift+F7. When Dreamweaver encounters an
unrecognized word, the Check Spelling dialog box appears.
2. Select the appropriate option based on how you want the discrepancy handled:
Add To Personal - Adds the unrecognized word to your personal dictionary.
Ignore - Ignores this instance of the unrecognized word.
Ignore All - Ignores all instances of the unrecognized word.
Change - Replaces this instance of the unrecognized word with text that you type in the Change To
text box or with the selection in the Suggestions list.
Change All - Replaces all instances of the unrecognized word in the same manner.
1. In the Document Window select the text that you would like to bold.
2. In the Property toolbar, click on the bold icon. Inside the Document Window in Design View, you
will notice that the highlighted text is now bolded.
Before you can add a list, you will need a title, something to describe your list. Type the title for your list
and highlight the text, and select Heading 2 or an appropriate heading level from the Properties Panel.
With the unordered list already typed out, highlight the completed unordered list.
In the property pane, click on the ordered list icon. This icon is next to the unordered list icon in the
Properties Panel.
The numbered list button will convert the unordered list to an ordered list. Click away from the list to
see the final result.
Before our next step where you'll add an image, you might want to add a title - something to describe
your image.
Type the title for your text, select the text and, select Heading 3 or an appropriate heading level from
the Properties Panel.
1. In the Insert Panel, choose Common from the drop-down menu (if not already open).
2. Under the Common menu, choose the icon with a little tree - it should say Images next to it. After
clicking on the icon, an open dialog box will appear.
After clicking on "yes" to the "files outside of the root folder " (if you happen to get this screen) or
after hitting OK, you will be brought to this page.
An alternative text is helpful for those using an external device such as a screen reader, or those who
have images disabled. If images are disabled, then it will display the alternative text.
When testing your page and you happen to see that you have misspelled something in the alternative
text, you can easily correct it by clicking on the image and using the Property Toolbar. You can
change the alternative text in the alt field of the toolbar.
The capability to link to pages and sites is what makes the Web dynamic. You can create text or image
hyperlinks using the Properties Panel to associate the text with a specific file or web page. The
following are steps on how to create hyperlinks using text or images.
1. Type the text you would like to become the link text, such as "Back to my Homepage."
3. Click the Browse for File icon, next to the Link option, in the Properties Panel. Select an HTML
page from your web site, for example your index or home page. Click OK. This text is now linked to an
HTML page within your Web Site.
An absolute link is defined in XHTML because it begins with an "http://" header and includes a full
address.
Aside from creating links to pages, you can create email links that send you correspondence directly to
any email account. Creating an email link is easy; first type the text that you want to appear as a
hyperlink. When users click on this text, the user's default email application (Eudora, Outlook, etc) will
automatically launch a new email message with your email already addressed in the To: field.
There are times when your text may contain special characters and diacritical marks. Dreamweaver
provides most of these special characters such as the copyright symbol(©), trademark(™), registered(®
), or an em dash(-).
Most Web pages include date/time stamps, and Dreamweaver can you help you include both of these
objects.
Here are a few steps on how to insert these onto your Web pages:
1. Place your cursor into the area where you would like to have your date stamp shown. Usually this is
located at the bottom of your Web site.
2. Type “Updated on:” or “Created on:”
3. In the Common tab of the Insert Panel, click the Date button.
4. An Insert Date dialog box will appear. In this dialog box, choose the format Dreamweaver will use to
display the date and time. Check the option for "Update automatically on save". This means that
each time you edit this file and save, Dreamweaver will automatically update this date and time.
5. Click OK.
Tag Selector:
On the left side of the status bar, there is a listing of HTML tags. The Tag Selector keeps continuous
track of where you are in a document by displaying the tags surrounding your current cursor position.
Alternately, if the tag you'd like to edit is the last one listed in the status bar (the inner-most nested tag),
like in the screenshot, use the keyboard shortcut Ctrl + T to bring up the Quick Tag Editor dialog box.
If you click anywhere in Design view and use Ctrl + T, an "Insert HTML" dialog box will pop up, allowing
you to insert any code as if you were writing it in Code view.
In the Design view there are multiple ways to access the Preview in Browser function.
1. Select a shortcut key for your primary and secondary browsers. This can be set in the Preferences
(see previous step) but most likely will be F12 for the primary browser and CTRL + F12 (Windows) or
Command + F12 (Mac) for the secondary browser (if set).
2. At the top of the Design Window on the Document Toolbar there is also a Preview in Browser icon.
By clicking the drop down menu any of the browsers set up previously can be chosen. (pictured above)
3. Navigate to File > Preview in Browser and choose a browser.
After building a page we can make sure it is up to standards by validating it with an HTML validator.
Web pages can be validated by many different validators available online.