Top Banner
24
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dw lesson 2
Page 2: Dw lesson 2

Make a new folder…

0Name your folder “DW_LN_FN”

0 Inside the DW folder, make two more folders:0 Lesson01

0 Images

0 Lesson01 folder should contain:0 Easygreen.rtf

0 Greenstart.html

0 Images folder should contain:0 Banner.jpg

0 Butterfly.gif

Page 3: Dw lesson 2

Set up Local Site0 Launch Adobe Dreamweaver

0 Choose Site > New Site

Page 4: Dw lesson 2

Site Name: DW_LN_FN Select the folder icon. Navigate to the DW_LN_FN folder containing the files you copied. Click Select

and Save.

Page 5: Dw lesson 2

Using the Welcome screen

Select HTML

Page 6: Dw lesson 2

0 Click File > New

0 Select Blank Page > HTML > 1 Column Fixed, Centered, Header and Footer.

Page 7: Dw lesson 2

The padlock symbol indicates that the width is

fixed at a set number of pixels.

Page 8: Dw lesson 2

0 Click Create

0After you’ve created a page, it’s a good practice to save it immediately.

0 Choose File > Save

0 Save as: Greenstart.html

0 Select the Design View.

Page 9: Dw lesson 2

Type the title: Get a green start with Meridien GreenStart >

Enter

Page 10: Dw lesson 2

Change the title. Choose File > Save

Page 11: Dw lesson 2

Inserting Text

0Do you see the Files Panel to your screen right?

0 If not Choose the Design View > Window > File Panel

0Double-click easygreen.rtf

0Although Dreamweaver (DW) can’t open an RTF file, your computer will select a compatible application, such as Word and open the RTF file.

Page 12: Dw lesson 2

Inserting Text

0With the RTF file open, select all (Ctrl+A) and copy. Don’t close easygreen.rtf.

0 Switch to DW

Place cursor at the beginning paragraph

Page 13: Dw lesson 2

Highlight everything except the footer > Paste

Page 14: Dw lesson 2

This is what you should see.

Note, there is not space between paragraphs.

Page 15: Dw lesson 2

Change to Code View. What’s missing?

Add a beginning paragraph tag. At the beginning of each paragraph.

Page 16: Dw lesson 2

This is what you should see.

Page 17: Dw lesson 2

Footer

0 In the footer area, type:

Copyright 2013 Meridien GreenStart, All rights reserved

0 Ctrl+S (Save)

Page 18: Dw lesson 2

Inserting Images

Double-click “Insert_logo”

Page 19: Dw lesson 2

Select banner.jpg > OK

Page 20: Dw lesson 2

In the Property inspector

Alt field, select the text Add logo

here. Type GreenStart

banner

Page 21: Dw lesson 2

Place cursor at the beginning of first

paragraph. Insert > Image > butterfly.gif

Page 22: Dw lesson 2

Web standards recommend that the

<empty> attribute be used for decorative graphics.

Page 23: Dw lesson 2

To float the image, choose fltrt

Page 24: Dw lesson 2

Save changes. Note: • fltr will float the image to the right• fltlft floats the image to the left