Title: Adobe Dreamweaver CS3 Revealed
1Adobe Dreamweaver CS3 Revealed
- CHAPTER TWO DEVELOPING A WEB PAGE
2Chapter 2 Lessons
- Create head content and set page properties
- Create, import, and format text
- Add links to Web pages
- Use the History panel and edit code
- Modify and test Web pages
3Introduction
- Craft head content
- Choose colors for page background and text
- Add page content, format, and link to other pages
- Test links regularly
4Understanding Page Layout
- Use white space effectively
- Limit multimedia elements
- Keep it simple
- Use an intuitive navigation structure
- Apply a consistent theme
5Create Head Content
- A Web page is composed of two sections
- Head content includes
- page title displayed in title bar of browser
- meta tags which are not visible to the Web
browser - Body
- Contains text, graphics, and links
6Create Head Content
- Title
- Browser title bar
- Keywords
- Search
- Description
- Search results
7Setting Web Page Properties
- Background color
- Font color
- Link colors (unvisited, visited)
- Default
- Unvisited ? blue
- Visited ? purple
8Making Pages Accessible to All
- Techniques you can use to ensure that your Web
site is accessible to individuals with
disabilities - Alternate text with images
- Avoid certain colors
- Supply text as an alternate source for
information that is presented in an audio file - www.adobe.com/accessibility
9Using Appropriate Content
- Who is your audience?
- What is the age group of your audience?
- What is the reading level?
- Formal vs. informal tone
- Consider font sizes, amount of text and images,
and amount of technical expertise needed to
navigate - Use consistency
10Viewing the Head Content
Head content section
Title text box on Document toolbar
Title icon
Meta icon
11Entering Keywords Descriptions
- Anticipate search terms
- Keep them short and concise
- List the most important keywords first
- Consider the use of focus groups
12Fig. 4 Insert Bar Displaying HTML Category
Common tab
Head list arrow
Keywords command
13Fig. 7 Head Content in Code View
Opening HTML tag
Head tag
Description
Keyword tags
Description tags
14Fig. 8 Page Properties Dialog Box
Background color box
Transparent color button
White
Hexadecimal number for white
15Creating, Import, and Format Text
- To add text to a Dreamweaver page
- Type in Dreamweaver
- Copy/paste CtrlC and CtrlV
(Windows)Command C and Command V
(Macintosh) - Import Word Document
16Formatting Text with Property Inspector
- Make text attractive and easy to read
- Change font, size, and color
- Use Property Inspector to apply formatting
attributes
17Changing Fonts
- You can format your text with different fonts by
choosing a font combination from the Font list in
the Property inspector. - A font combination is a set of three fonts that
specify which fonts a browser should use to
display the text of your Web page. - Font combinations are used so that if one font is
not available, the browser will use the next one
specified in the font combination.
18Changing Font Sizes
- Default base font 3
- Select font in Property inspector
- Choose between 1 and 7
- Change font size relative to the default base
size
19Formatting Paragraphs
- Format
- As text
- As different sizes of headings
- Headings
- Heading 1 is the largest
- Heading 6 is the smallest
- lth1gtThis is a big headinglt/h1gt
20Using HTML Tags or Using CSS
- Cascading Style Sheets (CSS)
- Standard practice to handle formatting and
placement of objects - Disable this preference temporarily
21Fig. 10 Formatting Address on Striped Umbrella
Home Page
Selected address text
Italic button
Font list arrow
Size list arrow
22Web Filenames
- Do not use
- Spaces
- Special characters
- Punctuation
- Uppercase letters
- Number for the first character
- Assume case-sensitive
23Importing Microsoft Office Documents
- File ? Import ? Word Document or Excel Document
- Select file to be imported, then click Formatting
list arrow - Always use Clean Up Word HTML command
24Fig. 12 Clean up Word HTML
Clean up HTML from list arrow
Settings
25Linking Microsoft Office Documents
- Drag the Word or Excel document from its current
location to the location on the Web page where
you would like the link to appear - Select the Create a link option button in the
Insert Document dialog box - Save the file in your root folder so it will be
uploaded when you publish your site. If it is not
uploaded, the link will be broken.
26Link Properties
- Link names should be informative
- Point of contact mailto link
- Two types
- Hypertext
- Graphic
- Formatting properties should be consistent
- Address or path relative or absolute
27Broken Links
- Typos
- Pages move
- Sites move
- Sites expire
28Navigation Bars
- Contain links to the main pages
- Usually located at top of side of page
- Backbone of the sites navigation structure
29Fig. 15 Coca-Cola Web Site
30Fig. 16 Coca-Cola Web Site
New Navigation bar
31Fig. 17 Formatting the Navigation Bar
Asterisk page not saved
New navigation bar
Format list arrow
Font list arrow
Size list arrow
32Fig. 18 Selecting the Home Link
Selected text
Browse for file icon
Link text box
33Fig. 21 E-mail Link Dialog Box
Text for e-mail link on the page
Link information
34Fig. 23 Striped Umbrella Site Map
Site Map button
Collapse to show only local or remote site button
Four pages linked to home page
E-mail link
35Use the History panel
- History panel properties
- Each task is called a step
- 50 steps
- Preferences adds more
- Be carefulincreasing steps uses memory
36History Panel Functions
FIGURE 24 The History panel
Click in the gray bar next to a step to undo to
that step
Slider
37View HTML Code in Code Inspector
- View Code
- Code View
- Code and Design View
- Code Inspector
- Add advanced features
- JavaScript
- Rollover function
38Fig. 25 Code Inspector
Page displayed in design view behind Code
Inspector
View options menu
Code displayed in the Code Inspector
39Fig. 29 View Options Menu
View options list arrow
Code for horizontal rule
View options menu
40Fig. 31 View the Reference Panel
Information on HR tag
41Fig. 32 Insert Date Dialog Box
Date formats
Update automatically on save check box
42Fig. 33 View Date Object in Code View
Code for date object
43Modify and Test Web Pages
- Proofread
- Preview in a browser window
- Test links
44Testing Pages
- Monitors
- Size and resolution
- Platforms
- UNIX, Mac, PC
- Browsers
- Explorer, Netscape, Firefox
45Different Browsers or Screen Size
- You should test your pages using different
browsers and a wide variety of screen sizes to
ensure the best view of your page by the most
people possible. - Check both Windows and Macintosh platforms
- Testing a web page rendered in a mobile device
46Default Window Screen Sizes
47Fig. 34 Window Screen Sizes
Size choices for viewing a page
48Under Construction
- Dont do it!
- Only causes frustration to the end user
49Chapter 2 Tasks
- Create head content and set page properties
- Create, import, and format text
- Add links to Web pages
- Use the History panel and edit code
- Modify and test Web pages