34
Web Design Web Design HTML, Frontpage, HTML, Frontpage, DreamWeaver DreamWeaver μέρος β μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Embed Size (px)

Citation preview

Page 1: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Web DesignWeb DesignHTML, Frontpage, DreamWeaverHTML, Frontpage, DreamWeaver

μέρος βμέρος β

ΠΡΥ019 - Πληροφορική

Δρ.Βάσος Βασιλείου

Page 2: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Popular Web Editing (Web Page Creation) Programs

Microsoft Word and other word processing programs (Save as…Web Page)

Mozilla/SeaMonkey Composer (free) FrontPage DreamWeaver

Page 3: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Introduction to Frontpage

Page 4: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

When you open Frontpage…

Switch to different view mode

Preview webpage in browser

Page 5: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Create a web page from scratch

Click on “File” in the file menu and select “New”. New task pane will appear on the right hand side of Frontpage.

Click on “One page web site” under “New web site” section.

In the pop up box, double click on “One page site”.

Page 6: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Add page layout

Click on “Table” in the file menu, and then “Layout tables and cells…”

Look for “Table layout” section and browse. Double click on the layout you want to use.

Page 7: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Formatting text

Highlight the text Go to the style boxes Select the desire style

Page 8: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Insert hyperlinks

Select either some text or a picture Click on “Insert” on the file menu Select “Hyperlink” In the pop-up box, type in the URL in the Address box. Then,

put the name of this URL in “Text to display” box.

Page 9: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Insert pictures

Click on “Insert” on the file menu. Point the mouse to “Picture”. Select “From File”. In the pop-up box, locate the picture on the

computer that you could like to upload.

Page 10: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Insert table

Click on “Table” at the file menu. Point to “Insert”. Select “Table”. In the pop-up box, look for “Size” section. Type

in the number of row(s) and column(s) that you want the table to contain.

Click “OK”.

Page 11: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Create web page from template

Download a template from a website Click on “File” in the file menu and select “New”.

New task pane will appear on the right hand side of Frontpage.

Click on “More Web site templates” under “New web site” section.

Click on “Browse” button and select the file you download from the website.

Click “OK”.

Page 12: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Introduction to DreamWeaver

Page 13: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

The Dreamweaver Desktop

The Properties Box Window Properties

Menu Overview

Page 14: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Paragraphs and Line Breaks

Creating New Paragraph <p> Press Enter New text will be two lines down

Creating Line break <br> Press Shift-Enter New text will be on next line Both lines will be part of same paragraph

Page 15: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Indents and Extra Spaces

Indenting No ‘tabs’ available in Dreamweaver Indenting a paragraph creates a “blockquote”

(indented equally on the right and left sides) Creating Extra Spaces

Dreamweaver will only allow one space between words

Press Ctrl-Shift-Space to force extra spaces

Page 16: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Formatting Text

Use Properties Box

Or

‘Text’ Menu

Page 17: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Kinds of Formatting

Format selected text

Format paragraphs

Page 18: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Formatting Selected text formatting

bold, italic, underline size, color, font

Paragraph formatting Header: header1, header2, header3 Preformatted: recognizes multiple spaces Alignment:

left justify center right justify

Page 19: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Creating Lists

Ordered List1. Numbered list of items2. Used when order of sequence matters

Unordered List List of items preceded by bullets Used when order is unimportant

Page 20: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Creating Lists, continued

Creating Lists Place list items in separate paragraphs Highlight items and select a list button

Changing numbering Select the List Items button in Properties box

Page 21: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Tables Click Insert Table Choose the number of Rows, Columns, etc.

(a width of 80 percent is good) Click anywhere inside the Table; then click

Modify Table Select Table Notice that the Properties window now

displays table information:

Page 22: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Tables, continued

Use the Properties Box to change your table

or

Use Modify Table Menu

Page 23: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Options for Modifying Tables To modify entire table: Select table

Change border width Alter row and column numbers Change color of border (brdr)

and background (bg)

To modify cells of a table: Click in a cell or highlight group of cells Change color of border or background Change width, height, and alignment Combine or split cells

Page 24: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Hyperlinks

Select text to be hyperlinked Type target address under ‘Link’ in Properties Box Use Folder Icon to find pages within your site

(local pages)

Page 25: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Hyperlinks, continued

Absolute and Relative Links Absolute link: http://www.reed.edu/file.html Relative link: file.html

Use relative links to pages within your Web site

Use absolute links to other Web sites http:// prefix is required for absolute links

Page 26: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Hyperlinks: mailto

A “mailto:” is a special hyperlink that opens an e-mail message from the web page

Message is sent to the address specified Examples

mailto:[email protected] mailto:[email protected]

Note: It is best to include the e-mail address in the visible part of the page also, so users can write it down or print it out.

Page 27: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Anchors

A Named Anchor is a marker placed within a page to identify a precise location in that page

Anchor names are used in hyperlinks, e.g., mywebpage.html#top

Page 28: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Anchors, continued

Use anchors to:

Create an index at the top of a page that links to different locations (anchors) in the page

Link to a specific section of another page

Page 29: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Creating an Anchor

Place cursor at position of desired anchor

Define the name of the anchor

Insert Named Anchor

Page 30: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Linking to an Anchor

Select text to be linked to anchor

To link to an anchor within the same page: In the Properties Box under ‘link’, type # followed by the

name of the anchor e.g. #top to take you to the top of the page.

To link to an anchor in another page: type the full address under ‘link’, including the anchor

Page 31: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Images

Inserting Image Insert Image

Image location Image file should be located in same directory as Web

page or in a sub-directory called “images” Image file is only linked from Web page, so image file

must stay in same location relative to Web page

Page 32: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Image Properties

Size Possible to set width and height in Properties Box or

drag borders with mouse to change dimensions Not recommended to resize graphics in Dreamweaver

Linking Enter link address in Properties Link box

Alternate Text Required element. Explains graphic for users who can’t

see the image; enter under ‘Alt’ on Properties Box

Page 33: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

Image Properties Text alignment

Set alignment of image relative to text with ‘Align’ feature in the Properties Box

VSpace & HSpace Add a “buffer zone” around the picture Thickness measured in pixels; good value= 5 - 20

Border Adds border around image Enter “0” to turn border off (usual case) Thickness measured in pixels; good values= 1 - 10

Page 34: Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου

AppendixPreparing existing Word docs for the Web

Open document in Word File Save as HTML Close file in Word Open html file in Dreamweaver Go to Commands Clean up Word

HTML Save in Dreamweaver