This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
1 2 3 4 5 6 7 8 9 079 10 09 08 07 06 05 Macromedia, Dreamweaver, and all other Macromedia names and logos are registered trademarks of Macromedia Corporation and are used with permission. All other brand names and product names are trademarks or registered trademarks of their respective companies. Between the time that Web site information is gathered and published, it is not unusual for some sites to have changed URLs or closed. URLs will be updated in reprints or on the book’s Web site when possible.
About the Authors Mark Evans is a District Instructional Technology Teacher in the Klein Independent School District Educational Technology Department in Houston, Texas. He provides Technology Applications Curricula support for grades K–12. Mark has published articles on professional development, mobile computing, and online learning in journals such as TechLearning.com and Organization for Educational Technology and Curriculum. He is an active member of the Texas Computer Education Association, International Society for Technology in Education, and Computer Science Teachers Association. He holds an MA in Education in Curriculum and Technology from the University of Phoenix, and has over twenty years of experience in the field of education.
Michael Hamm is a Web and graphic designer in Houston, Texas. He has served as a technical editor for the Web design books Illustrator CS Most Wanted: Techniques and Effects & Extreme Photoshop CS. He is an online instructor of Adobe Illustrator and illustration classes at Sessions.edu online school of design. He has been featured in design publications such as Graphic Design Portfolio-Builder: Adobe Photoshop and Adobe Illustrator Projects and Webworks: Typography. He is an active member of the American Institute of Graphic Arts (AIGA) and AIGA’s education committee, and has over a decade of professional experience in the field of interactive design. He holds a diploma in graphic design from the Art Institute of Houston.
Academic Review Board Randy Landry Web Page Design Instructor Oconee County High School Watkinsville, Georgia
Polly White Web Page Design Instructor Wawasee High School Syracuse, Indiana
Linda H. Robinson Web Design and Computer Applications Instructor Winter Haven High School Winter Haven, Florida
Diane Williamson Technology Coordinator and Computer Instructor Raleigh Egypt Middle School Memphis, Tennessee
Douglas M. Bergman Porter-Gaud School Charleston, South Carolina
Sylvia Knapp Phillip O. Berry Academy of Technology Charlotte, North Carolina
Mark Sheinberg Santa Susana High School Simi Valley, California
Steve Feld John F. Kennedy High School Bronx, New York
Michael Perry Chapel Hill High School Douglasville, Georgia
Marilyn Turmelle Booker T. Washington High School Tulsa, Oklahoma
Leslie Keller Fuquay Varina High School Fuquay Varina, North Carolina
Courtney Smith Boise High School Boise, Idaho
Jennifer Wegner Mishicot High School Mishicot, Wisconsin
Marsha Bass, M.S.Ed. Instructor Kaplan University, College of Arts and Sciences Elkhart, Indiana Gordon Howard Business Education Instructor Bonneville High School Idaho Falls, Idaho
Academic Reviewers
Technical Reviewers Charles Robert Paige Visual Communication Designer, Senior Instructor Minnesota School of Business and Globe College Oakdale, Minnesota
Stacy Sherman Business and Technology Instructor Florida Technical Center and Magnet High School Coconut Creek, Florida
iii
Why Study Web Design? Be an Active Reader Take the Web Design Challenge! Hardware and Software Technology Standards Technology Handbook
xv xvi xviii xxi xxii H1
Fundamentals of Web Design
2
Web Basics
4
●
Section 1.1 Introduction to the Web The Internet and the World Wide Web How the Web Works Types of Web Sites Section Assessment
●
Section 1.2 Elements of a Web Page Common Web Elements Text, Graphics, and Multimedia Hyperlinks Section Assessment
●
Section 1.3 Web Site Development The Web Site Development Process Web Site Development Careers and Skills Section Assessment
●
6 6 7 8 10 11 11 12 13 14 15 15 18 19
Section 1.4 An Introduction to Dreamweaver The Dreamweaver Interface Viewing Web Pages in Dreamweaver Section Assessment
21 21 23 26
Chapter 1 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
27 28 30 32 33
iv
Table of Contents
Computer Basics
●
Section 2.1 Computer Hardware and Software Computers and the Computer System Hardware: Processing Components Hardware: Input and Output Devices Hardware: Storage Devices Types of Software Cross-Platform Issues Section Assessment
34 36 36 37 38 39 40 42 42
●
43 43 44 45 46
Section 2.3 Creating a Basic Web Site Creating and Saving a Web Page Adding Text to a Web Page Adding Graphics to a Web Page Creating Subpages Section Assessment
●
48 48 51 52 55 56
Chapter 2 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
57 58 60 62 63
Section 2.2 Networks Types of Networks Types of Connections Network Hardware and Software Section Assessment
Online Basics
●
Section 3.1 The Internet Origins of the Internet How the Internet Works Internet Resources Intranets and Extranets Section Assessment
●
Section 3.2 The Web Uniform Resource Locators (URLs) Using a Web Browser Locating Information Online Section Assessment
●
Section 3.3 Web Site Development Tools Software Needs Hardware and Connectivity Needs Linking to Online Resources Section Assessment
Section 3.4 Social, Ethical, and Legal Issues The Internet and Society Protected Information and the Web Section Assessment
84 84 85 88
Chapter 3 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
89 90 92 94 95
HTML Basics
96
Section 4.1 HTML Coding HTML Tags HTML Guidelines and Standards Section Assessment
●
98 98 100 101
●
102 102 103 104 106 108 108
Section 4.2 Using a Text Editor Organizing Files and Folders Using Notepad Adding Attributes Using HTML Creating Lists Using HTML Viewing an HTML Page Section Assessment
●
Section 4.3 Enhancing and Testing Your Page Adding Images Using HTML Inserting Links Using HTML Testing a Web Page Section Assessment
109 109 110 113 114
●
Section 4.4 Dreamweaver versus Notepad Adding Color and Formatting Text in Dreamweaver Adding Graphics and Links Testing a Web Page Section Assessment
116 116 120 122 122
Chapter 4 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
Table of Contents
123 124 126 128 129
v
Designing Web Sites
132
Planning a Web Site 134
●
Section 5.1 Creating a Mission Statement Determining Purpose and Goals Determining the Audience Writing a Mission Statement Section Assessment
136 136 137 138 139
●
140 140 143 145
Section 5.3 Storyboarding Your Site Storyboarding Drawing a Site’s Navigation Structure Creating Sketches of Individual Pages Web Site Planning Checklist Section Assessment
●
146 146 147 149 150 151
Chapter 5 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
153 154 156 158 159
Section 5.2 Navigation Schemes Types of Navigation Schemes Viewing a Web Site’s Navigation Scheme Section Assessment
Developing Content and Layout 160
●
Section 6.1 Creating Web Site Content 162 Writing for the Web 162 Developing Content for a Web Page 164 Section Assessment 165
●
Section 6.2 Placing Items on a Page Page Layout Guidelines Web Page Dimensions Section Assessment
●
Section 6.3 Creating a Page Template 171 Designing a Template 171 The Language Club Logo 174 Tables 175 Section Assessment 176
●
Section 6.4 Enhancing the Template Navigation Buttons Footer Information Section Assessment
177 177 179 182
Chapter 6 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
183 184 186 188 189
Selecting Design and Color
●
Section 7.1 Principles of Presentation Design Consistency and Repetition Using a Template Section Assessment
●
Section 7.2 Choosing Colors Color Scheme Guidelines Web-Safe Colors Section Assessment vi
Table of Contents
167 167 169 170
190 192 192 193 197 198 198 199 201
●
Section 7.3 Fonts and Typography Formatting Text in a Web Site Formatting Guidelines Formatting Text in Dreamweaver Section Assessment
202 202 206 208 209
Chapter 7 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
211 212 214 216 217
Enhancing a Web Site
Adding Multimedia to a Web Site 250
220
Using Web Graphics 222
●
Section 8.1 Web Graphic Types and File Formats Types of Graphics Graphic File Formats Compression Schemes and Download Times Section Assessment
224 224 225 226 227
●
Section 9.1 Multimedia and Web Design Multimedia Design Guidelines Downloading Multimedia Files Tools for Creating Multimedia Web Sites Evaluating Multimedia Web Sites Section Assessment
●
252 252 254 255 255 256
●
Section 9.2 Adding Audio and Video to a Site Audio and Video Files Creating and Adding Audio Files Creating and Adding Video Files Section Assessment
●
Section 9.3 Adding Animation to a Site Animation Files Incorporating Animation Files into a Site Adding Flash Buttons Section Assessment
265 265 266 267 268
Chapter 9 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
269 270 272 274 275
Section 8.2 Obtaining and Modifying Graphics 228 Obtaining Graphics 228 Inserting Graphics into Dreamweaver 230 Modifying Graphics 231 Section Assessment 235 Section 8.3 Image Maps and Web Albums Image Maps Creating a Web Photo Album Using Fireworks Section Assessment
237 237 240 242
Chapter 8 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
243 245 247 248 249
258 258 260 261 264
●
Table of Contents
vii
Adding Interactivity to a Web Site 276
●
Section 10.1 Scripting and Markup Languages Scripting and Interactivity Scripting Languages Markup Languages Section Assessment
●
Section 10.2 Adding Dynamic Effects Banner Ads Update Information Using DHTML Behaviors Section Assessment
●
278 278 279 280 281 283 283 285 286 291
Section 10.3 Adding a Form to a Web Site Forms and Their Components Form Fields Adding Dynamic Effects to a Form Section Assessment
292 292 292 297 298
Chapter 10 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
299 300 302 304 305
The Web Site Development Process
●
viii
Table of Contents
321 321 322 323 326
Chapter 11 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
327 328 330 332 333
Developing a Web Site
308
Project Planning 310 Section 11.1 The Project Life Cycle Overview of the Project Life Cycle Tasks in the Project Life Cycle Forming a Project Team Evaluating Progress Section Assessment
●
Section 11.2 Determining Project Scope Analysis and Planning The Business of E-commerce Designing an E-commerce Site Section Assessment
312 312 313 314 316 319
●
334
Section 12.1 Examining an E-commerce Web Site 336 Examining the MyDiskDesigns.biz Site 336 Cascading Style Sheets 339 Section Assessment 341
●
Section 12.2 Using Feedback Forms Feedback Forms Adding Preset Choices for Visitors Section Assessment
●
Section 12.3 Web Site Privacy and Security Web Site Privacy Web Site Security Section Assessment
●
342 342 344 346 348 348 351 352
Section 12.4 Web Site Accessibility Web Site Accessibility Validating Accessibility in Dreamweaver Section Assessment
353 353 355 356
Chapter 12 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
357 358 360 362 363
Adding Web Site Functionality 364
●
Section 13.1 Tracking Visitors and Collecting Information Tracking a Web Site’s Visitors Connecting Web Sites and Databases Section Assessment
366 366 368 369
●
Section 13.2 Making Information Easy to Find Search Features Frequently Asked Questions Pages Section Assessment
371 371 373 374
●
Section 13.3 Building a Sense of Community Sharing Information with Visitors Receiving Information from Visitors Section Assessment
Chapter 13 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
385 386 388 390 391
Table of Contents
ix
Publishing a Web Site
●
Section 14.1 Web Servers The Technical Needs of a Web Server Web Hosts Section Assessment
●
Section 14.2 The Publishing Process Naming a Web Site Reviewing Page Files and Folders Transferring Files to a Server Testing a Published Web Site Section Assessment
392 394 394 395 397 398 398 399 401 403 403
●
Section 14.3 Results and Site Reports in Dreamweaver 405 Site Reports 405 Running Reports in a Web Site 406 Section Assessment 409
●
Section 14.4 Promoting a Web Site Publicizing Web Pages Increasing Web Site Traffic Using Cookies for Targeted Marketing Section Assessment
410 410 413 414 414
Chapter 14 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
415 416 418 420 421
x
Table of Contents
Maintaining a Web Site
●
Section 15.1 Web Server Maintenance Maintaining a Web Server The Role of the Webmaster Section Assessment
●
Section 15.2 Updating Information Guidelines for Updating a Site Managing and Archiving Web Pages Section Assessment
●
422 424 424 427 427 429 429 430 432
Section 15.3 Keeping a Web Site Secure Controlling Access to a Site Ethics and Webmastering Section Assessment
433 433 435 436
Chapter 15 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
437 438 440 442 443
Advanced HTML
446
HTML Tables and Frames 448
●
Section 16.1 Creating Tables in HTML Defining a Basic Table Using Table Attributes Section Assessment
●
Section 16.2 Creating Frames in HTML Creating Frame Pages in HTML Creating Links Between Frames Section Assessment
●
450 450 451 454 456 457 460 461
Section 16.3 Cascading Style Sheets CSS and HTML Using CSS for Page Layout Section Assessment
462 462 465 466
Chapter 16 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
467 468 470 472 473
HTML, Scripting, and Interactivity 474
●
Section 17.1 Adding Interactivity Using HTML Adding Multimedia Elements Creating a Registration Form Forms in CSS Section Assessment
Chapter 17 Review Review and Assessment Activities Skills Studio Projects Web Design Projects
487 488 490 492 493
Appendix A Dreamweaver® Reference Guide Appendix B HTML Reference Guide Appendix C Web-Safe Color Reference Guide Appendix D Web Design Rubric Glossary Index Image Credits
496 502
Table of Contents
xi
506 508 510 520 528
1A View a Web Site in a Web Browser 1B Open a Web Site in Dreamweaver 1C Use Different Views and Close Dreamweaver
13 23
2A 2B 2C 2D
Create a One-Page Web Site Insert and Format Text Insert Graphics Create a Subpage
49 51 52 55
3A 3B 3C 3D
Preview a Web Page Perform a Boolean Search Insert External Hyperlinks Add a Copyright Notice
74 76 81 86
4A 4B 4C 4D 4E 4F 4G 4H 4I
Create Folders to Organize a Site Create and Save an HTML Document Add Color and Format Text Using HTML Create an Unordered List Using HTML View HTML in a Browser Insert an Image Using HTML Insert Absolute Links Using HTML Test an HTML Document Create and Format a Page in Dreamweaver 4J Add Headings and Unordered Lists in Dreamweaver 4K Insert a Graphic and Links in Dreamweaver 4L Test a Web Page in Dreamweaver xii
Table of Contents
25
102 104 106 107 108 110 112 113 117 118 120 122
5A 5B 5C 5D 5E
Create a Mission Statement View a Web Site in Map View Chart Navigation Structure Specify File Names Sketch a Web Page
139 143 147 149 150
6A 6B 6C 6D 6E 6F 6G 6H 6I
Create Content for a Web Page View a Page at Various Resolutions Create a Page Template Add a Logo Create a Table Add Navigation Buttons Add Footer Information Add Text Links Add a Link to an E-mail Window
165 169 172 174 175 178 179 180 181
7A 7B 7C 7D 7E
Use a Template to Create New Pages Organize the Site’s File Structure Insert Page Headers Add Content and Color to the Home Page Format Text
193 195 196 199 208
8A 8B 8C 8D 8E
Insert an Inline Graphic Crop, Resize, and Resample an Image Modify a Graphic Create an Image Map with Hotspots Create a Web Photo Album Using Fireworks
230 233 234 238 240
9A 9B 9C 9D
Insert Background Sounds Insert a Video Clip Insert an Animation Create and Insert a Flash Button
260 262 266 267
10A Insert a Banner Ad 10B Add Update Information 10C Remove a Page From a Template 10D Insert Show-Hide Layers Behavior 10E Create a Form with Fields 10F Add a Jump Menu to a Web Page
284 285 286 288 293 297
11A Identify Team Responsibilities 11B Enable Source Control 11C Identify Tasks and Milestones
317 318 325
12A Explore the MyDiskDesigns.biz Web Site 12B Create an Internal Style Sheet 12C Attach an External Style Sheet 12D Edit an External Style Sheet 12E Add a Feedback Form 12F Add Radio Buttons 12G Add Check Boxes 12H Add a Privacy Policy 12I Run an Accessibility Report
13A Add Named Anchors 13B Create a Guest Book 13C Use Frames on a Site
337 338 339 340 343 344 345 349 355
14A Calculate Web Site Size and Bandwidth 14B Publish a Web Site Using FTP 14C Validate a Web Site 14D Check for Broken Links 14E Perform a Target Browser Check 14F Register a Site with a Search Engine 14G Add Meta Tags to a Web Site
396 401 406 407 408 411 412
15A Research Webmaster Jobs 15B Download and Upload Files From a Remote Server 15C Create a Login Screen
427
16A Create a Table Using HTML 16B Create a Frames-Based Web Page 16C Create an External Style Sheet Using HTML 16D Use CSS to Position Page Elements
453 459
430 434
464 465
17A Add an Audio File Using HTML 17B Add Text Boxes Using HTML 17C Add Radio Buttons and Check Boxes Using HTML 17D Add a Pull-down Menu Using HTML 17E Add a Text Area Using HTML 17F Use CSS to Style a Form 17G Create a Rollover Button Using JavaScript
476 477 478 479 480 480 484
373 377 382
Table of Contents
xiii
Features Contents
Verifying Your Sources Respecting Intellectual Property Ethics in the Workgroup Privacy Issues and the Internet
Use Equipment Safely Using the Web for Learning Accessibility on the Web How We Use the Web
xiv
Table of Contents
83 210 320 428
Working on the Web Developing Web Content What Makes a Leader? Starting an E-business What Does a Webmaster Do?
20 152 257 370 482
Web Languages Envisioning the Internet’s Future Security on the Web The Home and Workplace of the Future
115 236 347
47 166 282 404
455
Why Study Web Design? By understanding how the Web works and how we communicate through the Web, you will learn how to create effective Web sites. Introduction to Web Design Using Dreamweaver® is intended to help you develop skills needed to become a Web designer. It can also help you develop skills that will allow you to succeed in any subject area and throughout your life. This textbook was written and designed to help you achieve each of the following goals:
Become a 21st Century Citizen ◆ Understand how to use technology wisely and safely. ◆ Understand how computers and the Internet work. ◆ Evaluate the accuracy and usefulness of information on the Web. ◆ Find and share information quickly, safely, and ethically.
Become an Effective Web Designer ◆ Demonstrate your understanding of fundamental Web design principles. ◆ Become a skilled and creative user of Web design technology. ◆ Create your own unique, functional Web sites that engage your clients and your audience. ◆ Become an expert at evaluating Web sites. ◆ Offer constructive feedback to improve your own and others’ sites.
Develop Learning and Study Skills for All Subjects ◆ Improve reading comprehension with both guided and independent reading strategies. ◆ Develop critical thinking skills. ◆ Build teamwork skills. ◆ Integrate technology skills across the curriculum.
To The Student
xv
When you read this textbook, you will be learning about technology and how it is used in the world around you. This textbook is a good example of nonfiction writing—it describes real-world ideas and facts. It is also an example of technical writing because it gives you specific step-by-step instructions for how to complete different tasks. Below and on the next page are some reading strategies that will help you become an active textbook reader. Choose the strategies that work best for you. If you have trouble as you read your textbook, look back at these strategies for help. If you do not understand the material or need additional help, ask your teacher or a parent.
Before You Read SET A PURPOSE
e W hy am I re ad in g th textbook? own life? to use what I learn in my ◆ How might I be able
◆
PREVIEW
ic will be. le to find out what the top tit ter ap ch the ad Re ◆ t the topic. see what I will learn abou ◆ Read the subtitles to arts, graphs, or maps. defined? ◆ Skim the photos, ch boldfaced. How are they are t tha s rd wo y lar bu ca ◆ Look for vo
DRAW FROM YOUR OWN
BACKGROUND
ow about the topic? ◆ What do I already kn at I already know? mation different from wh or inf w ne the is w Ho ◆
xvi
To The Student
As You Read QUESTION ◆ What is the main idea? ◆ How well do the details support the main idea? ◆ How do the pho tos , cha rts, gra phs , and ma ps sup por t the main idea?
CONNECT ◆
Think about people, places, and eve nts in my own life. Are there any similarities with those in my text book?
PREDICT ◆
Can I predict events or outcomes by using clues and information that I already know?
VISUALIZE ◆
Can I ima gin e the set ting s, act ion s, and peo ple tha t are described? ◆ Can I create graphic organizer s to help me see relationships found in the information?
IF YOU DON’T KNOW WHAT A WORD MEANS... ◆ think about the setting, or context, in which the word is used. ◆ check if prefixes such as un-, non-, or precan help you break down the word. ◆ look up the word’s definition in a dictionary or glossary.
READING DOs Do... 4 establish a purpose for reading. 4 think about how your own experiences relate to the topic. 4 try different reading strategies.
READING DON’Ts Don’t... x ignore how the textbook is organized. x allow yourself to be easily distracted. x hurry to finish the material.
After You Read SUMMARIZE
from this textbook? ◆ What have I learned at I have learned? ◆ How can I apply wh
ASSESS
idea? ◆ What was the main support the main idea? ◆ Did the text clearly ol information in other scho ◆ Can I use this new subjects or at home?
To The Student
xvii
Many features in this text—such as colored headings, illustrations with captions, tables and charts—have been carefully constructed to help you read, understand, and remember key ideas and concepts. Taking advantage of these features can help you improve your reading and study skills.
Get Started The scavenger hunt on these pages highlights features that will help you get the most out of your textbook. Collect points as you complete each step.
1
What are the major topics you expect to learn about in Unit 1? [6 points. Hint: The Table of Contents gives you at-a-glance information about the major divisions and topics in the book.]
2
How many times does the Glencoe Online URL WebDesignDW.glencoe.com appear in Chapter 1? [8 points] What is the purpose of the Think About It on page 3? Why is it important? [6 points]
3 4
7
5
What are two study tips you learned from the Before You Read activity on page 65? [6 points]
6
What type of Reading Strategy graphic organizer is found in the Section 1.2 Focus on Reading? [5 points]
What three key terms are explained on the first page of Section 2.2? [5 points. Hint: They stand out from the rest of the text because they are printed in bold, highlighted letters.]
8
xviii
What is the best way to get an overview of what you will learn in Chapter 1? [6 points]
How many Quick Tip margin features are found in Chapter 1? What topics do they discuss? [6 points]
To The Student
What is the main heading on page 12 and what are the two sub-headings? [6 points]
9
10
What margin feature sends you to the Web to learn more about special topics? [4 points]
11
What kind of Web site will you create in the Building Your Portfolio project on page 131? [4 points] How many steps will it take you to complete You Try It Activity 1C? [4 points. Hint: You Try It activities can be found easily by looking for the bright yellow arrow in the margin.]
12
Which Student Data File will be used in You Try It Activity 4K? [5 points]
13 14
Why is it important to read the Section Assessments before you read the section? [5 points]
15
What are the four different types of full-page feature articles? [4 points. Hint: Each chapter has one full page feature.]
16
On what page of each chapter will you find Reviewing Key Terms, Understanding Main Ideas, and Critical Thinking? [5 points]
What online study tools will help you check your comprehension of key ideas in the chapter? [4 points]
17
18
Which of the Activities on page 126 shows you how standards relate to real-world situations? [4 points]
19
What is the name of the activity that reviews the skills you learned in a You Try It activity? [3 points]
20
Where can you find projects that will allow you to work on Building 21st Century Skills? [4 points]
To The Student
xix
What’s Your Score? POINTS
CHALLENGE RATING
90 to 100
You really know how to let your textbook work for you!
70 to 89
Researching and organizing are skills you possess!
Less than 70
Consider working with your teacher or classmates to learn how to use your book more effectively—you will gain skills you can use your whole life.
Answers to the Scavenger Hunt 1. Web Basics, Computer Basics, Online Basics, and HTML Basics. 2. Twelve times. 3. The importance of planning in advance. Each Think About It helps you connect what you will read to real-world situations. Reading experts have discovered it is easier to understand what you are reading if you first set a purpose for reading. 4. Look at pages 4–5, and note the chapter title, objectives, and activities listed. Or, read the main ideas from the Focus on Reading at the start of each section. 5. Adjust your reading speed to match the difficulty of the text. Re-read the text, if necessary. 6. The graphic organizer is a Venn diagram. 7. Network, local area network (LAN), and wide area network (WAN). 8. Five Quick Tips. They cover Jargon, Caution, two You Should Knows, and Troubleshooting. 9. The main heading is Text, Graphics, and Multimedia. The sub-heads are Text and Graphics and Multimedia. (Did you notice that main headings use a large red font, but sub-headings use a smaller blue font?) 10. Go Online activities direct you to more activities on the Glencoe Web site. 11. Community Web site. 12. Eight steps. 13. The p_border.gif student data file. 14. By reading the questions first, you can focus on what to look for as you read. 15. Real World Technology, Careers and Technology, Emerging Technology, and Ethics and Technology. 16. The Chapter Review and Assessment pages. 17. Study with PowerTeach and Online Self Check. 18. Standards at Work. 19. The You Try It Skills Studio. 20. At the end of a unit.
xx
To The Student
Using Dreamweaver® The hands-on activities in this textbook can be easily completed using Dreamweaver MX or MX 2004. Differences between the two versions are noted in Appendix A.
Recommended Hardware and Software Access to Dreamweaver and an Internet browser are required for this course. While access to the Internet is not required, it will make the course more rewarding. Equipment Needs Required
Recommended
Hardware
Software
Computer Color monitor (Make sure your equipment meets the minimum system requirements of your software.)
Dreamweaver Microsoft Notepad or other text browser Internet browser
CD or DVD drive CD burner or other storage drive Printer Scanner Microphone Video camera Digital camera Audio/video editing equipment
Internet access software Macromedia Flash Macromedia Fireworks Word processing software Presentation software Spreadsheet software Graphics software Multimedia player or editing software
Using Student Data Files Student Data Files are required to complete some activities and projects in this book. ◆ When you see the Student Data File icon, locate needed files before beginning the activity. ◆ Student Data Files are available on the Teacher Resource CD and on the book Web site at WebDesignDW.glencoe.com. ◆ Your teacher will tell you where to find these files.
Saving Your Work You may need to save your projects while working with Dreamweaver or other applications. ◆ Your teacher will let you know where to save your work. ◆ Always double check to make sure you save to the correct location. Otherwise, you may not be able to find your work later. ◆ Do not ever overwrite or delete others’ work. Think about how you would feel if someone did this to you.
Hardware and Software
xxi
Most educators today believe that in order to live, learn, and work successfully in an increasingly complex society, students must be able to use technology effectively.
ISTE and NETS The International Society for Technology in Education (ISTE) has developed National Educational Technology Standards to define educational technology standards for students NETS-S. The activities in this book are designed to meet ISTE standards. For more information about ISTE and the NETS, please visit www.iste.org.
Standards at Work The ISTE standards identify skills that students can practice and master in school, but the skills are also used outside of school, at home, and at work. To reinforce how these standards are related to real-world situations, refer to the Standards at Work activities in each Chapter Review. Each activity emphasizes one of the six NETS student standards. Refer back to these pages for a full listing of all the standards and performance indicators for students.
xxii
Technology Standards
Technology Foundation Standards for Students The NETS are divided into six broad categories that are listed below. Activities in the book are specificially designed to meet the standards within each category.
1. Basic operations and concepts ◆ Students demonstrate a sound understanding of the nature and operation of technology systems. ◆ Students are proficient in the use of technology. 2. Social, ethical, and human issues ◆ Students understand the ethical, cultural, and societal issues related to technology. ◆ Students practice responsible use of technology systems, information, and software. ◆ Students develop positive attitudes toward technology uses that support lifelong learning, collaboration, personal pursuits, and productivity. 3. Technology productivity tools ◆ Students use technology tools to enhance learning, increase productivity, and promote creativity. ◆ Students use productivity tools to collaborate in constructing technologyenhanced models, prepare publications, and produce other creative works. 4. Technology communications tools ◆ Students use telecommunications to collaborate, publish, and interact with peers, experts, and other audiences. ◆ Students use a variety of media and formats to communicate information and ideas effectively to multiple audiences. 5. Technology research tools ◆ Students use technology to locate, evaluate, and collect information from a variety of sources. ◆ Students use technology tools to process data and report results. ◆ Students evaluate and select new information resources and technological innovations based on the appropriateness of specific tasks. 6. Technology problem-solving and decision-making tools ◆ Students use technology resources for solving problems and making informed decisions. ◆ Students employ technology in the development of strategies for solving problems in the real world.
Technology Standards
xxiii
Educational Technology Performance Indicators for Students In this text, all students should have opportunities to demonstrate the following performance indicators for technological literacy. Each performance indicator refers to the NETS Foundation Standards category or categories (listed on previous page) to which the performance is linked.
Tips for Using the Internet for Research H8 How to Evaluate Web Sites
1
Technology Handbook
H1
Ethical Computer Use C
omputers are more common than ever before—almost every office desk in the country has a computer of some sort, and most schools have them in classrooms. The number of computers in the home is growing, too. Computers can be used to do wonderful things, but they can also be misused. Knowing some simple ethical guidelines will ensure that you are always doing the right thing.
Using Computers at School Whether in the classroom or at the library, you likely spend time working at a computer. Remember that the computer is there to help you get your work done. If you instead use the computer to play games, check your personal e-mail, or look at offensive material on the Internet, you are inappropriately using the resource that is being provided for you. Many institutions are taking action to prevent such misuse. Hidden software applications watch everything users do while they are on a machine, including which Web sites they visit, what e-mails they send, even what keystrokes
H2
Technology Handbook
they type. If you are engaging in inappropriate activity on a school computer, you could be suspended from school, or perhaps even prosecuted. A good guideline to keep in mind: Do not do anything on a computer that you would not do if your teacher or parents were standing behind you, watching.
Using Computers at Work While it might seem harmless to do a few small personal tasks while you are at work, the costs really do add up. According to the organization SurfControl, American businesses waste $54 billion every year due to personal use of company computers.
Plagiarism and Copying Plagiarism is the act of taking somebody else’s ideas and passing them off as your own, whether it be one or two sentences or an entire term paper. The “cut-andpaste” feature built into modern operating systems makes a lot of mundane tasks, like moving a paragraph of text, quick and easy—but also makes plagiarism all too easy. Be on guard against falling into this trap. It is acceptable to quote sources in your work, but you must make sure to identify those sources and give them proper credit. Also, some Web sites do not allow you to quote from them. Be sure to check each site or resource you are quoting to make sure you are allowed to use the material.
Using Internet Connections Responsibly Because your school may have a fast Internet connection, you may be tempted to use these connections to download large files. Check with your teacher first, as there may be policies forbidding this. E-mail systems leave a “digital paper trail.” This means that what you type into an e-mail can be found by a system administrator. Be sure not to abuse company or school e-mail systems—it may come back to haunt you! If you download any files or applications, be sure to check with your system administrator before using them. Downloaded files are one of the chief sources of viruses, which cause millions of dollars in damages to computer networks every year. You would not steal office supplies from your office or school, so make sure you do not take home computer-related resources like CD-ROMs or floppy disks.
Copyright Laws A copyright protects someone who creates an original work. When you create something—a book, a play, or a single sentence— you can copyright it, thereby claiming that you created it, and you are the owner. The goal is to prevent unauthorized copying of that work by another party.
Obtaining Permission So what do you do if you want to use a portion of a copyrighted work in your own work? In order to do this, you need to obtain permission from the copyright holder. Obtaining permission depends on the work in question. If you want to use an excerpt from a book, you will need to write a letter to the publisher, since they are the owner of the copyright.
(Sometimes the author, or an organization other than the publisher, owns the copyright. Check the copyright page in the front of the book to make sure.) Each instance is different, but many publishers are willing to grant permissions to individuals for educational purposes. If you want to reproduce information you found on the Web, contact the Webmaster or author of the article to request permission.
Duration and Public Domain So once a copyright is in place, how long before it expires? The answer depends on when the work was created. For all works created since January 1, 1978, copyright lasts until 70 years after the creator’s death. For works created before that date, the answer is considerably more complex. The copyright would last anywhere from 28 to 67 years from the date of creation, with possible options for renewal. Once a work’s copyright has expired, that work is considered to be in the public domain, meaning that nobody owns it and anybody can reprint it as they please. This is why you can find so many different printed versions of classic literature from writers like Dickens, Shakespeare, and the like—the publishers do not have to pay any fees for the right to print those books.
Some Common Misconceptions About Copyrights “If it does not say it is copyrighted, it is not copyrighted.” Original work published after March of 1989 is copyrighted, whether it says so or not. “I found it on the Internet, therefore it is okay for me to copy it.” Most of the text on the Internet is indeed copyrighted. Copying information from the Internet is a serious breach of copyright, and can result in prosecution. “It is okay to put copyrighted material on my Web site, because I do not charge people to look at it.” It does not matter whether you are making a profit from the reuse of copyrighted material—you are distributing it, and that is illegal. “I have changed the material, so it is no longer copyrighted.” Copyright law says that only the owner of the copyright can make “derivative works”— that is, new works based on the existing material. “I can reprint the material, because it is considered fair use.” Be careful! “Fair use” refers to the right to reprint brief excerpts from copyrighted works. However, there are no clear definitions on how much of a work can be used. Some examples of fair use include quoting a book in a book report or parodying a work.
Technology Handbook
H3
Word Processing Tips and Tools
O
ne of the most common types of application software used in both business and school is the word processor. Word processing software allows you to create and edit documents such as reports, term papers, and essays. Many word processing programs will even allow you to create documents in HTML, which can be posted to the Web. To make the most of word processing, you will need to learn some of the features many of these programs offer.
placing a red line underneath the word. Depending on the program, you may have a variety of options—for instance, looking at other words that the program thinks you meant to type, adding the word you typed into the dictionary so the program will recognize it, or telling the program to ignore it. Remember that spell-checkers and grammar-checkers are not perfect.
Checking for Errors
Many programs now also include grammar-checkers. Grammar-checkers compare sentence structures in documents to a file of common errors.
Tracking Changes Sometimes, more than one person will need to work on a single document. Using the Versions feature (or Tracking feature) of a word processing program makes this easy. The program keeps copies of different versions of the document as changes are made, so you can refer back to earlier versions. Another helpful feature is Comments. Comments allow you to make remarks about the document for other group members to see. They can make changes based on your comments, revise the comments, or leave more comments in return.
For instance, if you meant to Many people have come to type the word stay but accidendepend on the spell-checker featally typed sty, the program will ture of word processing programs. not alert you to the error, because Inside each word processor is a sty is a valid word. It is imporlarge file called the dictionary. tant to proofread each of your Unlike the dictionaries that you documents. will find on your bookshelf or online, this file does not contain any information about the meanings or Online Calendars pronunciations of words; eeping track of all the work you need to do can be instead, it knows how to difficult—it is easy to get overwhelmed when you are spell them. faced with a mountain of books and papers and are not sure where to start. In cases like As you type into a this, you might find that using an online calendar will help you get organized and handle word processor, the proyour work efficiently. gram constantly scans Online calendars work much like paper day-planners that you buy at the office supply the dictionary. Every store, but instead of writing out tasks by hand, you type them into your Web browser. time you tap the space The calendar site keeps track of appointments, due dates, and to-do lists. Keeping all bar, the program knows your tasks entered into an online calendar is one way of making certain you are accomyou have just completed plishing them in the smartest order. a word, so it looks up You might also want to use the reminders feature; these are alarms that tell you when something must be done. The reminder might be a sound, a pop-up box, or an e-mail that word in the dictionsent to you by the calendar site. ary. If it cannot find it, Also, since the information is stored online, you can check your calendar from anythe program will let you where—from home, school, or any place that has an Internet connection. know, usually by
K
H4
Technology Handbook
Etiquette N
for Digital Communication
ew rules of etiquette have evolved for the new communication media provided by the Internet—e-mail, chat rooms, and newsgroups. Nicknamed “netiquette,” these basic guidelines are important to keep in mind whenever you are communicating with someone online.
E-mail
✔ Never send or forward chain letters. Even if they seem like a good idea, they are often fraudulent—and will likely anger the people you are sending them to.
Chat Rooms Chat rooms can be useful communication tools, but they can also be raucous free-for-alls. Some things to keep in mind: ✔ Choose the chat room wisely. Some chat rooms are populated with questionable people, so do some research first. ✔ For your safety, always remain anonymous. ✔ Take turns with the conversation. Just like in a real conversation, allow people to finish their thoughts, and do not interrupt. ✔ Be aware of “lurkers,” people who are reading the conversation but not taking part. Try not to say anything that might hurt somebody’s feelings.
Newsgroups The Usenet system is made up of thousands of discussion groups, each on a particular topic. Having a rewarding newsgroup experience requires some basic netiquette, including the following guidelines: ✔ Stay on topic. Most Usenet groups are very specific, and readers do not appreciate posts that do not fit the topic. ✔ Avoid flaming. Newsgroups are particularly ripe for flaming— people tend to get passionate in these conversations. Never type something that you would not want to say out loud. ✔ Know your facts. There is no fact-checking process in Usenet—anybody can say anything he or she wants. Just because somebody says something in a newsgroup does not mean it is true—remember this when quoting or replying to someone.
Of all the conveniences provided by the Internet, e-mail is the most widely used. It has changed how people live, work, and socialize. Letters that used to take days to arrive in the mail now take mere seconds. Business communication has become much more efficient thanks to e-mail. Here are a few things to keep in mind when sending e-mail: ✔ Do not send large attachments, unless the recipient is expecting them. ✔ When forwarding e-mails, be sure to trim off unnecessary information like old headers and General quotes—these can Netiquette Guidelines build up quickly! ✔ Keep your communicaBehave as though you were communicating face-to-face. tion appropriate, and Remember that your words can be misinterpreted, and things like sarcasm, body do not say anything language, and irony may not come across. Do not “flame.” A flame is an aggressive or insulting letter. about someone that Do not “spam.” Spam, or junk e-mail, is a billion-dollar problem, clogging mail you would not want systems and wasting time. Do not add to the problem. them to hear. Even Do not SHOUT. Make sure your Caps Lock key is off. after you click Delete, Do not distribute copyrighted information. Just because something is on the Internet e-mail records stay in does not mean it is free. the system for a long Do not hide behind a screen name. Behave online as you would in the real world— time, and can even be honestly, ethically, and wisely. found years later.
Technology Handbook
H5
Online Resources O
ne of the most useful elements of the Internet is the World Wide Web (also called “the Web”), which allows documents to be viewed by anyone anywhere in the world. This is particularly helpful when it comes to documents that are normally expensive or hard to find. For instance, many families do not own an encyclopedia, so a student who needs to do research would normally have to make a trip to the library. The Web makes it possible for documents like encyclopedias and dictionaries to be accessed by many people.
Encyclopedias Encyclopedias need to be updated often, making them a perfect choice for online delivery. Online encyclopedias are searchable, and many contain photos and illustrations. Brittanica Online The online version of one of the most respected print encyclopedias offers both free and premium access, with more content and fewer ads in the premium version. (www.britannica.com)
Dictionaries There are hundreds of online dictionaries. Some specialize in certain types of information, such as law, medicine, or technology. Dictionary.com The name makes it easy to remember; this site also contains a fully searchable thesaurus. (www.dictionary.com) OneLook Dictionaries A “meta-dictionary,” this site lets you type in a word once to search across more than 840 dictionaries. (www.onelook.com) Merriam-Webster A Web version of one of the best-known print dictionaries, this site includes a “word of the day” feature, a thesaurus, and links to other research sites. (www.m-w.com)
H6
Technology Handbook
World Book Online The online version of World Book does not offer any free information; you have to pay a monthly fee to access the entries, which include all the contents of the print versions dating back to 1922. (www.worldbook.com)
Encarta A popular encyclopedia by Microsoft, the Encarta Web site offers lots of free content, but to access all their information you will need to buy either a subscription or a copy of the CD-ROM. (www.encarta.msn.com)
Other Resources While dictionaries and encyclopedias offer lots of useful information, other specialized resource sites can give you information about other subjects. Roget’s Thesaurus The online version of the definitive thesaurus lets you search for words or browse them alphabetically or by category. The site also offers plug-ins that put dictionary and thesaurus buttons right in your browser window. (www.thesaurus.com) RefDesk A comprehensive site with links to every kind of information imaginable. If you do not know where to start looking for a particular fact or statistic, start here. (www.refdesk.com) Bartleby Bartleby is fully searchable and contains the complete text of Bartlett’s Quotations, Simpson’s Quotations, the Columbia World of Quotations, as well as dozens of biographies, articles, and books. (www.bartleby.com)
Safe Surfing T
he Internet can be a wonderful place. There is much to learn, explore, and discover. You can find the answers to many of your questions on the Internet, often much more quickly than at the local library. And the Internet can put you in touch with people you might never have met—experts, writers, or just other students from around the world. But the Internet can also be a dangerous place. There are Web sites that you can freely visit, and many others that you should avoid.
Privacy and Personal Information Information is valuable. Companies that operate on the Internet are constantly seeking more information about customers, as well as potential customers. By building vast databases of names, addresses, and information about buying habits, those companies can market their products and services with increased efficiency, thereby increasing sales. But in addition to legitimate sites that ask you for information like name, address, or age, there are many questionable sites that are looking for this data as well. Before you type any
information into an online form or in a chat room, be sure to evaluate to whom you are sending that information, and why you are sending it.
Here are some things to keep in mind: ✔ Know to whom you are giving the information. Check the URL in your browser—does it match the domain you visited? Or were you “redirected” to another site without your knowledge?
✔ Why are you giving the information? If, for example, you are ordering something online, you will need to give your address in order for the product to be shipped. There should always be a good reason for all information you provide. Never give out your social security number, your birth date, or your mother’s maiden name without adult consent. These are often used to secure credit reports, and giving these to a dishonest source could ruin your credit. ✔ Never give personal information of any sort to someone you meet in a chat room, including your name, gender, and age. Always remain anonymous. ✔ If you are still unsure whether it is safe to give the information, check with a parent or other trusted adult.
Avoiding Physical Stress at the Computer
I
f you are going to be spending time in front of a computer, it is important that you minimize stress to your body. Here are some important things to keep in mind: Make sure you use a chair that provides strong back support. Be sure to keep your back straight while working, and keep your feet flat on the floor. Keep your wrists straight while you are typing. If your keyboard includes a “wrist rest,” be sure not to use it while typing. Resting your hands while typing causes the wrists to bend, which causes muscle fatigue and can put you at risk for injuries. Position the monitor so that it is just a little below eye level and about two feet away. This will prevent strain on your neck muscles. Make sure there is enough light in the room so that you can easily see the monitor without straining your eyes. Keep your monitor’s resolution set to a comfortable level. The highest possible resolution setting is not necessarily the best. Choose a resolution that displays images and text at a size that is comfortable to view.
Technology Handbook
H7
Tips for Using the Internet for Research ✔ T
he Internet is probably the single most important new tool for research since the public library. However, the advantage provided by the Internet can also be its greatest challenge: There is so much information out there that it is difficult to know where to begin.
Where to Start A good place to begin work regardless of your research topic is Google. Arguably the most useful search engine, Google is an enormous “spider” (an automated piece of software that “crawls” the Web looking for information) that keeps an index of over three billion URLs. Simply type your topic into Google’s search bar. By default, Google looks for sites that contain every word you type. For instance, if you enter the words sports medicine, you will see a list of sites that contain both of those words, not just one or the other. To get better results, here are a few tips: ✔ Place quotes around your topic. Searching for “sports medicine” will find sites where that exact phrase appears. ✔ Use NEAR. Entering sports NEAR medicine will return sites that contain both words, and have the two words close to one another. H8
Technology Handbook
Exclude unwanted results. Simply use a minus sign to indicate the words you do not want: “sports medicine” - baseball.
When conducting a search online, be sure to spell all your search words correctly. Incorrect spellings can prevent you from getting good results.
✔ Stick to a single domain. If you only want to find information from a specific site, just add the domain after the search term along with the “site” tag, and Google will only look for documents on that site: “sports medicine” site: www.espn.com.
Refining the Search Your Google searches will likely give you page after page of hits, each with a brief summary of some of the text from that page. Some things to think about while browsing your Google results: ✔ Links on the right hand side of the page (and sometimes at the top, in a colored box) are sponsored links—this means that the company in question has paid to
have its link show up. This does not necessarily mean that the link is not worth exploring, but it is usually an indicator that the site is selling a product or service, and might not be valuable for pure research. ✔Google displays a few lines of text from each page and shows your search phrase in bold. Read the sentence surrounding the bold information to see if it is appropriate for your work. ✔ After you have entered your search phrase and have finished looking at the results, click on the “News” tab near the top of the page. This will show you recent news stories about your topic from a number of news services and wires.
Unique Online Research Tools iTools This “meta-research” tool lets you search not only the Web, but also discussion groups, dictionaries, and other sources. (www.itools.com) RefDesk This site contains links to hundreds of different Web resources, each designed for a very specific purpose. (www.refdesk.com) The Internet Public Library This site searches the Web for information, offers free content, and includes in-depth guides on finding information both on- and off-line. (www.ipl.org)
How to Evaluate Web Sites W
hile there is a lot of valuable information online, there is also a lot of information that can be deceptive and misleading. The books in your library have been evaluated by scholars and publishers; Web sites, however, are not verified. Learning to evaluate Web sites will make you a more savvy surfer and enable you to gather the information you need quickly and easily. When you are trying to decide whether a Web site provides trustworthy information, there are a number of components to consider.
Authorship When dealing with information from a Web site, the first and most important question to ask is “Who wrote this information?” Once you have found the name of the author (usually located near the top or bottom of the page), do a quick Web search to see what else that author has written. Typing the author’s name into Google will often return not only pages by that author, but also pages about that author, such as reviews of his or her work. Check to see if the author has published in print. Search online for books that he or she has written. All this information will help you decide whether you should consider the person’s information trustworthy.
Sponsorship/Publishing Take a look at the domain that is offering the information. Why have they published this article? Are they trying to sell a product or service, or are they an impartial organization providing unbiased information? Determining sponsorship or the publishing body will help you decide whether the information is biased. For instance, if an article that suggests a certain pesticide is very effective is posted on the Web site of a company that sells that pesticide, it is possibly biased and trying to sell you that pesticide.
Accuracy When you write a term paper, you are expected to provide sources for each of your facts.
Look for Web sites that do the same thing by providing footnotes containing bibliographical information or references. Also, look for clues that the information was written by someone knowledgeable. Spelling errors and grammatical mistakes are warning signs that the information provided may not be accurate.
Timeliness Most articles will contain information about when it was written and when it was last updated. Recent update information normally appears at the very bottom of a Web site’s main page, while date of authorship information usually appears near the title of the specific article. The more recently something was written, the more likely it is to be accurate. An article from 1995 about “Internet trends,” for instance, probably does not contain up-to-date information.
One Final Guideline When using information from a Web site, remember to treat it just as you would print information. Anyone can post information to a Web site; however, not everyone can have a printed article published. Never use information that you cannot verify with another source.
Technology Handbook
1
UNIT
1
Fundamentals of Web Design
Go to this book’s Web site at WebDesignDW.glencoe.com. Click Unit Activities and select Unit 1 Internet Scavenger Hunt. Complete the online scavenger hunt to learn how to use the Internet safely and how to use this Web site.
2
Think About It Be Prepared! When you prepare for a class project, do you plan ahead of time or at the last minute? With careful planning you can make sure you have everything you need for a successful project or presentation. Planning to build a Web site is a lot like preparing for a class project. How do you think Web designers make sure their sites are successful?
Planning Activity List ten things you think Web designers need to do before they begin to create a site. As you read this unit, compare your list to what you learn.
3
CHAPTER
1
Web Basics
YOU WILL LEARN TO… Section 1.1 Compare the Internet and the Web Compare Web sites and Web pages Identify Web browser components Describe types of Web sites Section 1.2 Identify elements of a Web page Summarize the importance of hyperlinks Navigate using a Web browser Section 1.3 Describe Web site development steps Identify the three categories of Web site design Identify Web design careers Section 1.4 Identify parts of the Dreamweaver interface View Web pages with Dreamweaver
4
Chapter 1
WHY IT MATTERS ................................................. Every day, millions of people connect to the Internet to access information they need. Whether they use it to shop, pay bills, or check the local news, many people make the Internet an essential part of their daily routine. As the Internet’s role in communication, entertainment, commerce, and work increases, so does the need for people who have Web skills. The information in this chapter provides the foundation on which you can build these necessary skills. Think about the Web sites you visit most often. What types of sites do you like to visit? Why do you use these sites? Summarize how the Internet is (or is not) an important part of your daily routine.
CHAPTER
1
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 1.1 Categorize Web Sites ....................10 1.2 Identify Hyperlinks .......................14 1.3 Identify Career Skills ....................19 1.4 View Web Pages ............................26 You Try It Activities 1A View a Web Site in a Web Browser .........................................13 1B Open a Web Site in Dreamweaver ................................23 1C Use Different Views and Close Dreamweaver ................................25 Chapter Assessment Making Connections ............................30 Standards at Work ...............................30 Teamwork Skills ...................................31 Challenge Yourself ...............................31
You Try It Skills Studio Use Hyperlinks......................................32 Switch Views and Use the Files Panel .............................................32 Web Design Projects Evaluate Web Site Design.....................33 Research Web Development Careers .................................................33
IN THE WORKBOOK Guided Reading Web Design Projects
ON THE WEB Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Survey Before You Read Before starting the chapter, do a quick survey of the content by reading the colored headings and the questions below. Think about what you already know about the topic. Look for the bolded terms and jot down words you do not recognize. Study the pictures and the charts. Do they help you predict what information will appear in the chapter? Finally, read the chapter summary and the review questions. This will help you pay attention to important concepts in the reading.
WebDesignDW.glencoe.com
Web Basics
5
SECTION 1.1 INTRODUCTION TO THE WEB Focus on Reading Read to Find Out The main purpose of this section is to explain various components of the World Wide Web. Read to find out about the different types of Web sites and how these sites are structured.
Main Ideas
Key Terms
Reading Strategy
The Internet is a worldwide network of hardware. The World Wide Web is part of the Internet. Web sites are divided into categories that meet particular needs.
Internet World Wide Web file Web browser Web site Web page home page
Identify and describe the five components of a Web browser. Use a table like the one shown below (also available online). Components
Description
Internet users often do not know how the Internet works. However, when you create Web pages, you need to understand the World Wide Web and the Internet to know how your pages will work best.
The Internet and the World Wide Web How is the World Wide Web different from the Internet? Jargon The Web and the Internet are not the same thing. The World Wide Web provides the information that a user wants to know. The Internet provides access to the World Wide Web.
Web design involves creating a Web site that meets a specific goal. Learning how to achieve that goal requires a basic understanding of the Internet and the World Wide Web.
The Internet Is Hardware The Internet (often called the Net) is hardware connected together to create a massive worldwide network. The Internet’s hardware consists of those components that you can physically touch, such as computers and communication lines. A network is a group of computers that can communicate, or “talk,” with one another. The Internet is thus an inter-linked collection of many smaller networks.
The Web Is Software The World Wide Web, or Web, includes software that sends information along the Internet’s hardware. Individual files on the Web contain information such as text, video, or animation. These files are joined together like a giant spider web. Identify What is a network?
6
Chapter 1
WebDesignDW.glencoe.com
How the Web Works How is a Web page different from a Web site?
The basic component of a Web page is a text document. A text document contains words, letters, numbers, and other unique characters. Special software called a Web browser interprets these files to display Web pages on your computer screen.
Web Sites versus Web Pages The terms Web site and Web page do not refer to the same thing. ◆ A Web site is a group of related files organized around a common topic.
Design The home page is almost always the first page a user sees when visiting a Web site, so it is important for it to give a good first impression.
◆ A Web page is a single file within a Web site, which has a unique name. A Web site’s main page is typically called the home page. The home page usually contains general information about the Web site.
Browser Functions
Figure 1.1
A Web browser has two important functions. ◆ It translates the text-based Hypertext Markup Language (HTML) used to create Web pages into a graphical Web page. ◆ It lets the user move (or navigate) from one Web page to another. Figure 1.1 shows the Microsoft Internet Explorer browser with some of its main components labeled. Title bar gives name of current Web page
Web browsers such as Internet Explorer make it easy to move from one Web site to another. How can you determine the address of the Web page shown here?
Web address displays the current Web page Navigation buttons help you move between pages
Menus allow you to select from lists of commands
Viewing area displays the current Web page
Identify What is a Web page?
Web Basics
7
Types of Web Sites How can I categorize Web sites?
Most Web sites can be placed into particular categories based on their main purpose. The five major types of Web sites and their primary purposes are shown in Figure 1.2.
Figure 1.2
Portal Sites Provide a variety of services that people use every day
Different types of Web sites have different purposes. What is the purpose of an educational site? Commercial Sites Sell or promote a company’s products or services
Informational Sites Provide people with useful information
Types of Web Sites
Educational Sites Provide information about a school or university
Personal Sites Used by individuals to share information
Commercial Sites The primary purpose of a commercial site is to sell or promote a company’s products or services. There are two main types of commercial sites.
E-commerce Sites Buying and selling goods and services over the Internet is called electronic commerce, or e-commerce. Shopping at an e-commerce site is different from going to a traditional store. For example: ◆ consumers expect a complete description of the items being sold. ◆ photographs are often used to show consumers the items being sold. ◆ photographs and other visuals are also used to encourage the consumer to buy the item.
Corporate Presence Sites Some commercial Web sites do not sell anything. These types of sites are often referred to as corporate presence Web sites. Their job is to: ◆ provide information about the company’s products or services. ◆ illustrate the company’s history. ◆ promote a positive image for the company. For example, a pharmaceutical (drug) company would probably not sell any medications on its Web site. However, it might discuss the research it is doing to improve the treatment of people with certain diseases.
8
Chapter 1
Figure 1.3 Many Web portals let users search the Web for information. What are three features that you find useful in a Web portal?
Portal Sites A Web portal is a Web site that provides a variety of services that people use every day. As shown in Figure 1.3 above, most portals provide general news and business information. Portals make it easy for people to access a variety of information from one single location.
Informational Sites Informational sites serve one purpose—to provide people with useful information. One advantage that Web sites have over other informational sources such as magazines and books is that they are relatively easy to update. Three types of informational sites are shown in Table 1.1.
Table 1.1
Types of Informational Sites Site
Purpose
Example
News sites
Provide up-to-theminute local, national, and international news.
CNN Web site
Government sites
Provide information about federal, state, and local government activities and regulations.
U.S. Senate Web site
Public Interest sites
Focus on certain problems or situations and suggest how individuals might respond.
Make-A-Wish Foundation Web site
Different types of informational sites provide specific kinds of information. Which site would you use to locate information about how to apply for a driver’s license?
Web Basics
9
Educational Sites Educational sites often provide information about a school or university. ◆ School and university sites provide general information such as class schedules and courses offered. Activity 1.1 Identify Web Sites Visit various categories of Web sites by connecting to the links available at WebDesignDW.glencoe.com.
◆ Distance learning sites offer Web-based interactive tutorials. ◆ Museum sites provide information about exhibits and events.
Personal Sites Personal Web sites allow people to share their interests or news with others. All individuals should be careful when posting personal information on the Internet. Online information is available to anyone with an Internet connection, and posting personal information can be dangerous. Follow these guidelines when creating a personal site. Use a personal site to: ◆ share news with your family and friends. ◆ share your interests and hobbies. ◆ display a portfolio or résumé. On your personal site: ◆ do not post personal contact information. ◆ do not describe how you look or where you live. ◆ do not post personal information about other people. Evaluate What type of Web site would you use to learn more about a local news story?
Section 1.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Web design focuses on creating Web sites that meet specific goals.
1. Define Internet, World Wide Web, file, Web browser, Web site, Web page, home page.
4. Compare and Contrast How is a portal site different from an educational site?
• The World Wide Web is the software that allows users to access information stored on the Internet.
2. Summarize the difference between the Internet and the World Wide Web.
5. Draw Conclusions What are the advantages and disadvantages of personal Web sites? Why should you be careful when posting personal information?
• Web browsers interpret and display information found on Web sites. • Web sites can be placed into particular categories based on their main purpose.
10
Chapter 1
3. Explain the functions of a Web browser.
Apply It! Categorize Web Sites Make a list of five Web sites that you have visited recently. Beside each site, write the category to which you think this site belongs.
WebDesignDW.glencoe.com
SECTION 1.2 ELEMENTS OF A WEB PAGE Focus on Reading Read to Find Out This section discusses the different elements that are used to present information on a Web page. Read to find out how Web designers use these elements to create Web pages that are eye-catching and easy to read.
Main Ideas
Key Terms
Reading Strategy
Web pages can be composed of many different elements: text, graphics, multimedia, and hyperlinks. Hyperlinks link Web pages together and help a user navigate through a Web site.
text graphics multimedia audio video animation hyperlink
Identify the similarities and differences between internal and external hyperlinks. Use a Venn diagram like the one below (also available online). Internal Links
Web pages are made up of individual parts, or elements. Every element on a Web page is used to communicate different types of information to the user.
Common Web Elements How are Web elements used to create a Web page?
Common Web page elements include text, graphics, multimedia, and hyperlinks. Each element is created indiGraphics vidually when a Web page is developed. The separate elements are then combined to form a completed Web page as shown in Figure 1.4.
External Links
Figure 1.4 This Web page contains many different elements. What elements are most likely to attract your attention when you visit a site?
Text Hyperlinks Multimedia
Identify What are four common Web page elements?
WebDesignDW.glencoe.com
Web Basics
11
Text, Graphics, and Multimedia Why would I include text, graphics, and multimedia on a Web page?
The three most common elements found on the Web are text, graphics, and multimedia.
Text and Graphics Text and graphics provide the foundation of most Web sites. ◆ Text consists of words, letters, numbers, and other symbols. ◆ Graphics include drawings, charts, diagrams, paintings, photographs, and navigational buttons. Table 1.2 outlines the purpose of these two major Web page elements.
Table 1.2
Using Text and Graphics
Text and graphics perform different functions on a Web site. Why is it important to include graphics on a Web site?
Element
Purpose
Text
• • • •
Provides information Labels pictures Describes navigation buttons Provides links
Graphics
• • • •
Illustrate information Attract viewers’ attention Provide visual interest Act as navigation buttons
Multimedia Many Web sites have multimedia elements. The term multimedia refers to the integration of elements such as graphics, text, audio, video, animation, and interactivity by means of computer technology. Audio, video, and animation are three important multimedia elements. ◆ Audio is live or recorded sound. ◆ Video is live or recorded moving images. ◆ Animation refers to the movement of text or graphics. Examples of each element are shown in Figure 1.5.
Figure 1.5 Multimedia elements help add interest to a Web site. How might a news site use audio elements?
Multimedia
Audio • Speech • Music • Sound effects
Video • News clips • Movie clips
Animation • Scrolling text • Bouncing text • Cartoons
Compare How are graphics different from video?
12
Chapter 1
Hyperlinks How are hyperlinks used in a Web site?
A Web page is connected to other Web pages through a hyperlink, which allows you to move from one online page to another. A hyperlink, or link, can be a word, phrase, or graphic. Most text links are underlined and are a different color from the rest of the text. Graphic links are often in the shape of buttons, graphics, or photographs. There are three kinds of links. ◆ Internal links take you to another page on the same Web site. ◆ External links take you to a page on a different Web site. ◆ Intrapage links move you to a different spot on the same page. In the following You Try It activity, you will use internal links to move around a Web site.
Caution Be sure to ask your teacher how to locate the Student Data Files needed to complete the activities.
ACTIVITY 1A View a Web Site in a Web Browser 1 Open your Web browser. 2 Select the File menu. Click Open or Open File (or press Ctrl + O). 3 In the Open dialog box, click the Browse button. Navigate to and open the DataFiles folder. Open the Examples folder. Select the MusicDept folder and click the Open button. The files and folders for this Web site appear in the dialog box. 4 Select index.html and click the Open button. In the Open dialog box, click OK. The site’s home page appears in the browser window (see Figure 1.6). (If you have difficulty with this step, ask your teacher for further instruction.) Read the page’s text to learn about the Music Department.
Figure 1.6 The Century High School Music Department home page.
Web Basics
13
5 The left side of the page contains internal links to other pages in the site. Click the Performances link. 6 At the top of the Performances page, click the Century High School logo (see Figure 1.7). You will return to the home page.
Figure 1.7 Clicking a site’s logo will usually return you to the site’s home page.
School logo
7 Continue navigating to different areas of the site until you feel comfortable with its structure. Close the Web browser.
Each element on your Web page should have a purpose: whether providing information, attracting the user’s attention, or guiding the viewer to other locations. Summarize What is the function of an internal hyperlink?
Section 1.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Text consists of words, letters, numbers, and symbols.
4. Analyze What elements might be used on a doctor’s Web site? An attorney’s? An educator’s?
• Graphics can be used to attract a viewer’s attention.
2. Identify the basic elements of a Web page.
• Multimedia elements add interactivity to a Web site.
3. Describe how to use a Web browser to navigate around a Web site.
5. Draw Conclusions Both Web sites and books have pages. How do hyperlinks make using the Web different from reading a book?
• Hyperlinks tell the Web browser to move to a different location.
Apply It! Identify Hyperlinks Visit a Web site and identify an example of an internal link and an external link. Write down the text that serves as each link. Beside each link, write the Web address, or URL, to which it takes you.
14
Chapter 1
SECTION 1.3 WEB SITE DEVELOPMENT Focus on Reading Read to Find Out The main purpose of this section is to explain the basic steps of the Web site development process. Read to find out the roles different Web professionals play in creating and maintaining a Web site.
Main Ideas
Key Terms
Reading Strategy
The Web site development process has five basic steps. There are three categories of Web site design. Specific skills are needed to develop and design Web sites.
interaction design information design presentation design Web author Web designer Web developer Webmaster
Identify the main tasks performed by each individual during the Web site development process. Use a diagram like the one below (also available online). Web Site Development Careers
Web author
Web designer
Web developer
Webmaster
Web site development offers a variety of career opportunities. Companies and organizations develop Web sites, add features to existing Web sites, and maintain their sites to keep information current. Each new Web site goes through a similar development process. Software tools aid the people who design, create, and maintain Web sites.
The Web Site Development Process How many steps are there in the Web site development process?
Developing a Web site is a complex task. Web developers use a series of steps to break the task into manageable parts. There are five basic steps in the Web site development process. 1. 2. 3. 4. 5.
Determine the purpose and goals of the Web site. Design and develop the Web site. Evaluate and test the Web site. Implement the Web site. Maintain the Web site.
Figure 1.8
These steps are illustrated in Figure 1.8. We will take a brief look at these steps here. You will learn more about each step throughout the book.
Determine the Web Site’s Purpose and Goal(s)
➠
WebDesignDW.glencoe.com
Design and Develop the Site
➠
Evaluate and Test the Site
➠
Implement the Site
There are five steps in Web site development. How might you divide a task such as studying for a final exam into smaller steps?
➠ Web Basics
Maintain the Site
15
Step 1: Determine Purpose and Goals It is important to determine your Web site’s purpose and goals before beginning to design it. Questions you will want to ask include: ◆ What is the site’s purpose? What do you want your site to do? Your site’s purpose may be to educate visitors, or it may be to sell a product. ◆ What are the site’s goals? What impact do you want your site to have on visitors? You may want your site to increase sales of your products, or to teach the viewer how to throw a curve ball. Also think about how you expect the site’s content to change over time. As your site grows, you may plan to add more interactive features, or to make it possible for visitors to submit information that can be stored and processed. ◆ What tools do you need to reach your goals? For example, if you want to use video to teach people how to throw a curve ball, you will need special hardware and software to create and edit the video. ◆ What is your primary (target) audience? Who will visit the site? A site about Washington, D.C., for elementary students will probably be quite different than one targeted toward retired adults. ◆ What kinds of hardware and software are the site’s visitors likely to be using? You should think about the capabilities of the typical visitor’s computer system as you create your site. For example, not all computer systems are capable of producing audio and video output. As you continue to work on developing your site, always keep your site’s purpose and goals in mind.
Step 2: Design and Develop a Web Site Once you have determined your Web site’s purpose, you can draw a rough diagram of the pages you will need. For example, Figure 1.9 shows the pages for a simple commercial site.
Figure 1.9 When developing a Web site, begin by creating a basic plan. How is this chart similar to an outline you might create before writing a history report?
The Design Process After you have a rough sketch of your site, you are ready to move to the design process. In this phase, you determine what the Web pages will look like, as well as how they will interact with each other. The design process can be divided into three categories: interaction design, information design, and presentation design. Table 1.3 on page 17 shows the main purpose of these three design categories. Welcome to Our Site
Products
16
Ordering Information
Chapter 1
Press Releases
Contact Us
Questions and Answers
Specials
Design Categories Category
Purpose
Questions to Consider
Interaction design
To determine how hyperlinks will help the user navigate through a site.
• Where will the user need to go? • In what order will the user move through the site? • Is each link’s purpose clear to the user?
Information design
To determine the content that will appear on each page.
• What text will I include on each page? • What graphics will I include on each page? • How will my text and graphics support the site’s purpose?
Presentation design
To determine the physical appearance of the site’s pages.
• What look and feel will the site have? • What color scheme will I use? • How will I position my hyperlinks?
Implement the Design When you implement your design, you use your design plan to create an actual Web site. A software application is used to implement your plans. For most of the activities in this book, you will use the Web development tool Macromedia® Dreamweaver® . Other popular development tools include Adobe® GoLive® and Microsoft® FrontPage® .
Step 3: Evaluate and Test a Web Site
Table 1.3 The design process has three main categories. During which category would you decide that you want your site to feature the color red?
When you evaluate a site, you confirm that your completed site meets your intended purpose and goals. Then, you test your site to make sure that everything works and displays correctly. When testing, you should: ◆ make sure all your hyperlinks work correctly. ◆ use various browsers and different computers (preferably both a Macintosh and a Windows computer) to view your site.
Step 4: Implement a Web Site After a site has been evaluated and tested, it is ready to be implemented, or published. Publishing a Web site means copying it to a Web server. This process is often referred to as “going live.” Make sure you test your links after publishing to make sure they work. Anyone with Internet access can use a Web browser to view a site once it is published.
Step 5: Maintain the Site Once you publish a site, you must keep it current and working properly. Web site maintenance includes: ◆ adding, deleting, and updating content and pages. ◆ checking that links continue to work properly.
You Should Know For many companies, the time and cost of maintaining a Web site exceeds that of creating a new site.
Identify What tool do you need to use to implement a design? Web Basics
17
Web Site Development Careers and Skills What kinds of skills do I need to pursue a career in Web site development?
Activity 1.2 View Professional Web Pages View examples of Web portfolios and good Web design by connecting to the links available at WebDesignDW.glencoe.com.
Developing a Web site requires writing skills, design skills, and programming skills. In most companies, professionals with different abilities work together to create Web sites (see Figure 1.10).
Web Authors The Web author writes the actual text that will appear on each page of a Web site. A Web author must be able to write clearly and concisely. Viewers quickly lose interest in a page that is too wordy or boring. You will learn more about writing good Web content in Chapter 6.
Web Designers A Web designer focuses on the look and feel of the Web site. He or she determines such things as a site’s page layout, color scheme, and graphic elements. The Web designer makes certain that pages are visually engaging, and that they present information in an easy-to-use format. Designers must be able to use color effectively and layout text and graphics attractively. In a well-designed page: ◆ the viewer’s eye is attracted to important elements. ◆ the page’s purpose is clear. ◆ links are well-marked and easy to use.
Figure 1.10 It often takes a team of people with diverse skills to create a Web site. What types of careers are available to people interested in Web site development?
Some Web designers also learn the programming skills needed to develop portions of a Web site. However, they generally leave complex programming tasks to Web developers.
Web Developers A Web developer uses programming skills to create entire Web sites and make sure that the site functions properly. The developer knows how to program HTML, which is the code used to create Web pages. (HTML will be discussed in more detail in Chapter 4). Web professionals often use the terms Web development and Web design interchangeably. However, these terms are not identical. ◆ Web development refers to the entire process of determining a site’s goals, and designing, publishing, and maintaining a site. ◆ Web design refers specifically to the process of determining a site’s content, appearance, and navigational scheme.
18
Chapter 1
WebDesignDW.glencoe.com
Webmasters The Webmaster manages and maintains the Web site. Some Webmasters develop Web sites, while others maintain sites that were developed by other professionals. Webmasters are responsible for the overall quality and usefulness of Web sites. For example, a Webmaster makes sure that: ◆ the site is useful to visitors. ◆ the site functions properly. ◆ the site is up-to-date. Many Web sites allow you to e-mail the Webmaster. You may want to e-mail the Webmaster if: ◆ a site is not working properly ◆ some of the site’s content is outdated. The technology that makes the World Wide Web and Web pages work is constantly changing. Advances in computing power and software applications allow for more complex Web sites that include audio, video, and high-quality animation. Because this is a constantly changing industry, Web development professionals must continually improve their existing skills and learn new ones. Summarize What skills should a Web designer have?
Section 1.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Web site development consists of five steps.
1. Define interaction design, information design, presentation design, Web author, Web designer, Web developer, Webmaster.
4. Compare and Contrast How are these three jobs different from one another: Web author, Web designer, and Webmaster?
• The specific purpose of a Web site should be determined before the site is designed. • Publishing a Web site means copying the site files to a Web server. • Careers in Web site development include Web designer, Web developer, Web author, and Webmaster.
2. Summarize the three categories of the Web design process. 3. Describe the tasks involved in the five basic steps of Web development.
5. Synthesize How do interaction design, information design, and presentation design work together to create a functional Web site?
Apply It! Identify Career Skills Make a list of skills that each of the following professionals would need to perform his or her job: Web designer, Web developer, Web author, and Webmaster. Identify which of those skills you have, and which you would need to develop.
Web Basics
19
Working on the Web
T
here is a vast market for talented Web designers who create the look of a site, its content, and the user interaction.
Identify Web Design Jobs To understand career opportunities for Web designers, surf through different Web sites. Some are designed to entertain and feature brilliant graphics and interactive elements. Others provide training and educational content. There are e-commerce sites for complex businesses and search engines for filtering information.
Map a Career Path Even if you are uncertain of your goals, it is helpful to map out a career path. Identify your short- and long-term expectations. Where would you like your career to begin and end? What jobs do you hope to have during your career? There are many resources for finding Web-related jobs, including college job centers, newspapers, and specialized Online classified ads are a good place to look for job opportunities Web sites where companies on the World Wide Web. post job openings. Job descriptions will help you determine what type of education and experience you will need for various types of Web careers. When you start looking for work, try to find entry-level positions (including internships) that can help you gain experience. Often, people obtain credentials with a particular career in mind, only to discover that on-the-job experience may lead them to new, unexpected career paths.
1. Research Careers Research and evaluate Web career opportunities posted online. Identify your career goals and create a career plan. Then, use the Web to research educational institutions that could help you reach your career goals. 20
Chapter 1
2. Write a Report Participate in a career-related activity. For example, interview someone who works in an area of interest to you. In a short report, describe the activity and what you learned.
SECTION 1.4 AN INTRODUCTION TO DREAMWEAVER Focus on Reading Read to Find Out This section presents some of Dreamweaver’s basic features. As you read, compare Dreamweaver’s features to those of other application programs with which you are familiar.
Main Ideas
Key Terms
Reading Strategy
Dreamweaver is similar to other application programs. Dreamweaver provides many features, such as toolbars, menu bars, and different page views that simplify creating a Web site.
interface panel inspector
Identify the seven major elements of the Dreamweaver interface. Use a diagram like the one below (also available online).
Elements of the Dreamweaver Interface
Macromedia Dreamweaver is a Web site development tool. This type of tool is sometimes referred to as a visual or WYSIWYG (pronounced Whizzy Wig) editor: What You See Is What You Get. Because Dreamweaver is a visual editor, you can create pages that contain text, graphics, links, and multimedia elements without having to view or edit HTML code.
The Dreamweaver Interface What are the main elements of the Dreamweaver interface?
Many of Dreamweaver’s features are similar to other applications you have used. For example, it contains elements such as drop-down menus and toolbars with buttons.
Figure 1.11 The Start page from Dreamweaver. What three options are available on the Start page?
The Start Page When you first open Dreamweaver or do not have any documents open, the Start page appears (see Figure 1.11). You can use this page to open recently used files, to add to or modify existing Web sites, or to create new Web site files.
WebDesignDW.glencoe.com
Web Basics
21
Main Dreamweaver Interface Elements You Should Know In Dreamweaver, the Insert and Document toolbars open automatically when you open the program. Choose View>Toolbars> Standard to open the Standard toolbar.
An interface is the means by which a user interacts with either a computer or a computer program. Figure 1.12 shows the seven major elements of the Dreamweaver interface, which are described below. ◆ Title bar—displays information such as the name of the current document shown in the document window. ◆ Menu bar—features drop-down menus that contain related options. For example, the File menu has options that allow you to open, save, and close documents. ◆ Toolbar—allows you to select options by clicking a button. There are three toolbars available in Dreamweaver: Insert, Document, and Standard. The Insert toolbar has different views that display different button options. ◆ Document window—displays the document you are working on.
Figure 1.12 The Dreamweaver interface contains many elements found in other application programs. Which of the elements are similar to those you have used in other applications?
◆ Status bar—provides information such as the estimated download size of the current page. ◆ Panel—contains tools and commands that you can use to manipulate your workspace. For example, the Files panel helps you manage and navigate the files and folders in a Web site. ◆ Inspector—provides information about elements of a Web page. The inspector changes depending on what element is selected on the page. Title bar
Insert toolbar
Menu bar
Standard toolbar
Document toolbar Document window Panels
Status bar
Inspector
Identify What information is displayed in the Files panel?
22
Chapter 1
Viewing Web Pages in Dreamweaver How can I open a site’s home page in Dreamweaver?
A Web site’s home page should be named either index.html or default.html. You can identify a site’s home page in the Files panel by looking for these names. Double-click a file’s name in the Files panel to open other pages in a site. The name of each open page is listed on a tab at the top of the window.
Viewing a Home Page In the following activity, you will open the Music Department Web site’s home page in Dreamweaver.
ACTIVITY 1B Open a Web Site in Dreamweaver 1 From your desktop, click the Start button at the bottom-left of your screen. Choose Programs or All Programs, and select Macromedia Dreamweaver MX 2004. The program opens with the Start page displayed. (Your classroom computer may work differently. See your teacher if you have difficulty launching Dreamweaver.) 2 From the menu bar, choose Site and click Manage Sites (Site>Manage Sites). 3 In the Manage Sites dialog box, click the New button and select Site. 4 In the Site Definition dialog box, make sure the Basic tab is selected. Under What would you like to name your site?, key: Music Department. Your dialog box should look like Figure 1.13. Click the Next button.
Figure 1.13 The site’s name has been keyed into the Site Definition dialog box. Basic tab
Site name
5 Under Do you want to work with a server technology such as ColdFusion, ASP.NET, ASP, JSP, or PHP?, choose No, I do not want to use a server technology. Click the Next button. 6 Under How do you want to work with your files during development?, click Edit local copies on my machine, then upload to server when ready (recommended). Under Where on your computer do you want to store your files?, click the Folder icon.
Troubleshooting The illustrations and activities in this book use the Dreamweaver MX 2004 interface. If you are using a different version of Dreamweaver and have difficulty completing an activity, ask your teacher for help.
Web Basics
23
7 Ask your teacher where to locate the DataFiles\Examples\MusicDept folder. Ask your teacher how and where to save the Music Department Web site. In the Site Definition dialog box, click Next. 8 Under How do you connect to your remote server?, click the dropdown arrow and select None. Click the Next button. 9 A summary of the settings you selected is displayed. Click the Done button. 10 Click the Done button again to close the open dialog box. The Files panel on your screen should look similar to Figure 1.14.
Figure 1.14 The files of the site you just opened are listed in the Files panel.
Site files
11 In the Files panel, double-click index.html. Your screen should look like Figure 1.15.
Figure 1.15 Select index.html to open a site’s home page.
24
Chapter 1
Using Different Views Dreamweaver allows you to view the same page in different ways. There are three different view buttons: Code, Split, and Design (the default view). In the following activity, you will look at the Music Department home page in different views.
ACTIVITY 1C Use Different Views and Close Dreamweaver 1 Check that your Music Department Web site is open and the home page is displayed. 2 On the Document toolbar, click the Code button. Your screen should look like Figure 1.16.
Figure 1.16 The HTML code used to create a Web page is displayed in Code view.
Code button
3 On the Document toolbar, click the Split button. Your screen should look similar to Figure 1.17.
Figure 1.17 Split button
In Split view, the top half of the screen shows the HTML code while the bottom half shows the page in Design view.
Pull bar to adjust pane sizes
Web Basics
25
4 Click the Design button to return to the default view. Your screen should look like Figure 1.18.
Figure 1.18 The Web page in Design view.
Click to close Dreamweaver
5 Practice switching among the different views. When you are done, return to Design view. 6 Press F12 to preview the site in a Web browser. Close the Web browser. 7 In Dreamweaver, choose File>Close (or press Ctrl + W). The page you are viewing closes. 8 To close Dreamweaver, click the Close button in the top-right corner of the window (see Figure 1.18).
You will use all of the views described in this section as you create Web pages. Identify What does the file name index.html signify in a Web site?
Section 1.4 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• The Dreamweaver interface is similar to other software applications.
1. Define interface, panel, inspector.
4. Analyze Why might an individual need to use Code view when creating a Web site?
• The Files panel displays the Web site’s folders and files. • You can view a page in Code, Split, or Design view.
26
Chapter 1
2. Identify the parts of the Dreamweaver interface. 3. Explain how to open the Files panel.
5. Draw Conclusions Why do you think Web developers need to view Web pages in different views?
Apply It! View Web Pages Use Code view to view three pages of the Music Department Web site. Locate each Web page’s title in the HTML code. Write the title of each page on a separate piece of paper.
CHAPTER 1
Reading Review
SECTION 1.1 Introduction to the Web Key Terms Internet, 6 World Wide Web, 6 file, 6 Web browser, 7
SECTION 1.3 Web Site Development Key Terms
Web site, 7 Web page, 7 home page, 7
interaction design, 16 information design, 16 presentation design, 16 Web author, 18
Web designer, 18 Web developer, 18 Webmaster, 19
Main Ideas
Main Ideas
■ Web design focuses on creating Web sites that meet
■ The specific purpose and goals for a Web site
■ ■
■ ■ ■
specific goals. The Internet consists of all the hardware that connects computers around the world. The World Wide Web (the Web) is the software that allows users to access information stored on the Internet. Web browsers interpret and display information found on Web pages and Web sites. Web sites are composed of Web pages. The major types of Web sites are commercial sites, portal sites, informational sites, educational sites, and personal sites.
SECTION 1.2 Elements of a Web Page Key Terms text, 12 graphic, 12 multimedia, 12 audio, 12
video, 12 animation, 12 hyperlink, 13
Main Ideas ■ Text consists of words, letters, numbers, and symbols. ■ Graphics can be used to attract a viewer’s attention
and to explain difficult concepts. ■ Multimedia elements capture viewers’ attention and add interactivity to a Web site. ■ Hyperlinks tell the Web browser to move to a different location on the page, on the site, or on the Web. ■ A Web browser can be used to view and navigate around a Web site.
■ ■ ■ ■ ■ ■
should be determined before the site is designed. Web site development consists of five steps. Interaction design focuses on how the user will navigate through the site. Information design concentrates on the specific content that will appear on the site. Presentation design focuses on the physical appearance of the Web site. Publishing a Web site means copying the site files to a Web server. Careers in Web site development include Web designer, Web developer, Web author, and Webmaster.
SECTION 1.4 An Introduction to Dreamweaver Key Terms interface, 22 panel, 22
inspector, 22
Main Ideas ■ The Dreamweaver interface is similar to other
software applications. ■ You can use the Start page to open existing files or to create new Web site files. ■ The Files panel displays the folders and files that can be accessed in the current Web site. ■ You can view a page in Code, Split, or Design view.
Web Basics
27
CHAPTER 1
Review and Assessment
AFTER YOU READ
Understanding Main Ideas 8. Identify the types of multimedia elements that may be featured on Web pages. 9. List the three types of hyperlinks. 10. Describe the two steps that should be used to evaluate a Web site. 11. Summarize how a Webmaster differs from a Web author. 12. Explain how Dreamweaver is similar to other software applications. 13. Summarize each of the parts of the Dreamweaver interface. 14. Describe how a Web site is different from a Web page.
28
Chapter 1
➠
1. What type of software is used to view Web pages on a computer screen? 2. Which Dreamweaver interface element would you use to display a Web site’s folders and files? 3. What is the purpose of presentation design? 4. Which page in a Web site do viewers usually see first? 5. WWW is an abbreviation for what term? 6. Which Web page element allows users to move from one online page to another? 7. What is a group of computers that communicate together called?
Designing a Web Site
➠
Reviewing Key Terms
15. Identify three things that you must determine when designing a Web site.
➠
Survey Skills Develop a personal study tool by modifying the survey strategy introduced on page 5. Use the section and paragraph headings to create a topic outline, leaving enough room between topics to add key items. Then close your textbook and fill in as much information as you can remember about these topics. This is a good way to help you determine which topics you understand and which topics need the most additional review.
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
To Determine
To Determine
To Determine
16. Summarize the three categories of the design and development process for a Web site. Design Category
Critical Thinking 17. Describe the purpose of the following Dreamweaver page views: Design view, Code view, and Split view. Why does Dreamweaver allow Web site developers to view their Web pages in different views? Explain your reasoning. 18. Make Predictions Your school is preparing to build a Web site. The site will contain the following items: a calendar of upcoming events, pictures of recent school events, links to scholarship offerings, information about courses, and information about school clubs. What parts of the site do you think will require the most maintenance? What parts of the site will be the easiest to maintain? Explain your reasoning.
CHAPTER 1
Review and Assessment
19. Compare and Contrast You are planning to buy a new pair of skis. Only one retailer in your community sells the brand of skis you want. You locate two e-commerce sites that sell the same brand. What factors should you consider when deciding whether to buy skis from a local retailer or from an e-commerce site? On your own sheet of paper, complete the table below. Then explain your decision. Retailers
Price
Delivery
Service
Local Retailer E-Commerce Site
20. Make Inferences Which of the two sentences below would be easier to read on a Web page? Explain your reasoning. A multitude of skiers escape from the everyday world by visiting the sunny slopes of Mt. Snow. Special discounts and other details are available through inquiry. Skiers love Mt. Snow slopes! Contact us now for details and vacation packages and deals.
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
21.
+
22. 23.
Result Result
+
WebDesignDW.glencoe.com
Result
Reading & Writing Read the paragraph below and then answer the question.
There are four main types of Web design professionals. A Web author writes the text that will appear on a Web site. Web authors must be able to write concisely, because viewers lose interest in wordy pages. Web designers focus on the look and feel of a Web site. Web developers use programming skills to create Web sites and make sure the sites function properly. Webmasters manage and maintain Web sites. Some Webmasters develop Web sites, while others maintain sites that were developed by others. According to the paragraph, which of the following statements is true? A Web page should mainly contain text. Part of a Web designer’s job is to determine how a Web site will look. Webmasters only maintain sites that they have created. Web designers must have programming skills.
WebDesignDW.glencoe.com Study with PowerTeach Go to the book Web site shown above. To review the main points in this chapter select e-Review>PowerTeach Outlines>Chapter 1.
Online Self Check Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 1.
Web Basics
29
CHAPTER 1
Activities
1. MAKING CONNECTIONS Math—Create a Graph When preparing to design a Web site, remember that you will need to think about various factors. One of these factors is the audience. Users want to spend as little time as possible reading, and want more information in a short viewing time. With this in mind: ◆ Find five different news organization home pages that you think are well designed. ◆ Count the number of words you can see on the opening screen (without scrolling) of each site. ◆ Calculate the average number of words that are used for each of the five sites. ◆ Plot your results for each site on a bar graph. What is the average number of words used on all five sites? ◆ Write a brief report noting the patterns you noticed and how they can help you plan what text to use.
2. STANDARDS AT WORK Students use technology tools to enhance learning, increase productivity, and promote creativity. (NETS-S 3)
Use Productivity Tools Dreamweaver is a productivity tool for creating Web pages and managing Web site development. Although beginners can use it immediately, it also contains many advanced features for professionals. If you design a site for a business, you may have to use Dreamweaver in more complex ways. One of the most useful (and underused) tools in computer applications is the Help feature. Using the Help feature can provide you with instructions on how to get the most out of the software you are using. The Help feature can also guide you through tasks you may be expected to do on the job. Explore the features available to you in Dreamweaver by accessing its Help Contents (select Help>Using Dreamweaver). Choose five topics that relate to features you learned about in the chapter. Make a chart that describes each feature, how to access it, and why you would want to use it. 30
Chapter 1
CHAPTER 1
Activities
3. TEAMWORK SKILLS Group Planning Working in a small group, plan a Web page about a ski resort. You have only one Web page to work with, but you may include links to other relevant Web sites about the resort. As your team plans the page, answer the following questions: 1. 2. 3. 4. 5. 6.
What are the purpose and goals of the page? What information will the page include? What Web page elements will best convey the information? What hyperlinks will we include? What look and feel should the page have? What color scheme will we use?
Write a summary of your answers to the questions. Draw a sketch of the page’s layout. The sketch should show the placement of elements on the page and the basic look and feel that your team envisions.
4. CHALLENGE YOURSELF Identify Web Sites Although many types of Web sites exist, most fall into one of five major categories: commercial, portal, informational, educational, or personal. Choose one site category and surf the Web to find examples. Try to find two sites that are different from each other even though they fit into this same category. For example, e-Bay and Macromedia’s Web sites are both commercial, but one is a retail site and the other is a corporate site. Print out the home page for each Web site you choose. Evaluate the two Web sites and draw a four-column table like the one below. Fill in the following information: ◆ What category do the Web sites fit into? ◆ What subcategory can they be classified as? ◆ What Web elements do the sites contain?
WEB SITE
CATEGORY
SUBCATEGORY
ELEMENTS
Site #1 Site #2
Write a few sentences describing the differences and similarities between the Web sites. Be sure to cite your URL for each site and the date you retrieved the information from the site. See page 88 for information on how to cite online sources. Web Basics
31
CHAPTER 1
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Use Hyperlinks
Explore the hyperlinks at a major online newspaper such as USA Today, the New York Times, the Chicago Tribune, or the Los Angeles Times. Write the name and Web address of the newspaper you have chosen. Use a hyperlink to find the travel or vacation listings on the site. Write the Web address of the page to which the link takes you. On that page, find a hyperlink on the page that takes you to travel news or interests. Describe the information you find. Search to find information about ski vacations and resorts. (Hint: On some sites you may have to scroll through a Select Region list to find the category, then click Search.) Write down three different places listed where you could go on your ski vacation. Return to the home page, using either the logo or a home page link.
2. Switch Views and Use the Files Panel
32
Display a Web page using different Dreamweaver views. Open Dreamweaver. In the Files panel, select your Music Department Site from the Files drop-down menu. The folders and files for this site will appear in the Files panel. Double-click index.html to open the home page. The Web site automatically opens in Design view. Examine the page carefully. Click the Code button. What differences did you notice between Design and Code view? Click the Split button. What happens to the view? How does the text “Welcome” appear in the two different views that you see? Close Dreamweaver without saving your changes.
Chapter 1
CHAPTER 1
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Evaluate Web Site Design Locate five different Web sites and write down the URL for each. Evaluate the five sites and make a table like the one shown below that identifies: ◆ The site’s category (e.g., commercial, informational, personal) ◆ The purpose of the site ◆ The target audience (consider age, gender, interests, economic levels) ◆ Key elements that “jump out at you” on the home page With your teacher’s permission, print out each Web site’s home page.
SITE
CATEGORY
The Museum of Educational Modern Art in New York (www.moma.org)
PURPOSE Educate viewers about art and the museum’s collection
AUDIENCE General population including teenagers and adults
KEY ELEMENTS Events, artwork, and online exhibits
2. Research Web Development Careers Select one of the following career opportunities: Web developer, Web designer, or Webmaster. Then, conduct research to answer the following questions: What types of specialized skills does the job require? What types of leadership skills does the job require? How do you prepare or train for the job? What are some of the job responsibilities? Organize your information and write a one-page report about the career.
Web Basics
33
CHAPTER
2
Computer Basics
YOU WILL LEARN TO… Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Identify and describe operating system software Identify and describe application software Summarize crossplatform issues Section 2.2 Identify types of networks Examine types of network connections Identify network hardware and software Section 2.3 Create a new Web site Save a Web page Format text Insert a graphic Create subpages
34
Chapter 2
WHY IT MATTERS ................................................. It is almost impossible to imagine a world without computers. When you use a card to purchase an item, or pump gas at the gas station, you are using a computer. Computers are the visible—and invisible—helpers that have become an integral part of our daily lives. Think about ten tasks you perform every day. Then note which of these tasks involve a computer. Write a brief paragraph that answers the following questions. Which tasks could you not complete without a computer? How would your daily routine be different if computers did not exist?
CHAPTER
2
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 2.1 Research Computer Systems ..... 42 2.2 Research Network Connections ................................. 46 2.3 Format Text .................................. 56 You Try It Activities 2A Create a One-Page Web Site........ 49 2B Insert and Format Text ................ 51 2C Insert Graphics ............................ 52 2D Create a Subpage .........................55 Chapter Assessment Making Connections ........................... Standards at Work .............................. Teamwork Skills .................................. Challenge Yourself ..............................
60 60 61 61
You Try It Skills Studio Format Text .......................................... 62 Add Graphics and a List to a Web Site ............................................ 62 Web Design Projects Create Inventory Sheets ..................... 63 Prepare a Presentation ...................... 63
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Key Terms Knowing the dictionary definition of a word does not always help you understand the word’s full meaning. The ability to understand the meaning of a word in the context of the material will help you with your reading comprehension. To gain a more complete understanding and to help you recall the meaning, create a Key Term Journal. Divide a piece of paper into four columns. Label the first column Key Term. Then, label the other columns: What is it? What else is it like? and What are some examples? Write down each key term and answer the questions as you read the chapter.
WebDesignDW.glencoe.com
Computer Basics
35
SECTION 2.1 COMPUTER HARDWARE AND SOFTWARE Focus on Reading Read to Find Out In this section, you will learn about various types of computer hardware and software. Read to find out which hardware and software will help you create a Web site.
Main Ideas
Key Terms
Reading Strategy
Computer systems are composed of users, hardware, software, and data. Hardware is a computer’s physical components. Software gives hardware instructions to make it work.
hardware input device output device software operating system (OS) graphical user interface (GUI) application software
Categorize the four types of computer hardware. Use a diagram like the one below (also available online).
Computer Hardware
When you create a Web site for the first time, the task may seem overwhelming. Understanding the tools you will be using can make the task more manageable.
Computers and the Computer System What are the parts of a computer system?
A computer is an electronic device that processes data. Computers are categorized as either PCs or Macs. A PC is a computer that runs the Windows operating system (OS). A Mac is a computer that runs the Macintosh OS. As shown in Figure 2.1, a computer system consists of four parts.
Figure 2.1 A computer system is made up of four parts: users, hardware, software, and data. What is the function of software?
Software The instructions that tell the computer what to do.
Data The individual bits of information.
Computer System Hardware The physical components of the computer.
User The person working on the computer.
Describe How is the user an essential part of the computer system?
36
Chapter 2
WebDesignDW.glencoe.com
Figure 2.2 Power supply
The CPU is usually located on the motherboard, which is a computer’s main circuit board. What is the function of the CPU?
Storage devices
Hard drive
CPU
RAM
Motherboard
Hardware: Processing Components What is the difference between the CPU and RAM?
Hardware is the physical components of the computer. The purpose of hardware is to get data into the computer, to process the data, and to produce results. Processing components convert raw data into information.
Central Processing Unit Inside every computer is a central processing unit (CPU), or processor. The CPU is like the “brain” of the computer. For example, the CPU can: ◆ add groups of numbers. ◆ change the color of graphics.
Caution Remember to save your work frequently to avoid losing important data.
In most computers, the CPU is a single chip, called a microprocessor. This chip is usually located on the computer’s motherboard (see Figure 2.2).
Memory The computer stores data it is currently processing in random-access memory, or RAM. The more RAM a computer has, the faster it can process data. RAM is also called primary storage because it is where the computer first processes data. However, RAM only stores data temporarily. When the computer is turned off, or the power is interrupted, anything stored in RAM is lost. Explain Why is RAM also called primary storage?
Computer Basics
37
Hardware: Input and Output Devices How many ways are there to input data into a computer?
Data must be entered into a computer to be processed. You use an input device to enter data into a computer. Different kinds of input devices allow you to enter text, commands, images, or audio. An output device lets users examine the results of processed data. Most Web designers and developers use a few standard input and output devices when creating a Web site. Commonly used input and output devices are shown in Table 2.1.
Table 2.1
Types of Input and Output Devices
Computer users rely on input devices to enter data and output devices to examine processed data. Which device would you use to input audio files into your computer?
Example
Description A keyboard is used to input text and numbers and to send commands to a computer.
Input Devices
A mouse is used to click on icons and buttons, highlight text, and drag and drop images, text, files, and folders. Joysticks and controllers control movements on the screen during computer games. A scanner lets you convert printed images or documents into digital files. Many digital cameras connect with computers so you can download, edit, and e-mail the photos you take. A microphone lets you save audio right to your hard drive.
Interactive Tutorials Go to the book’s Web site at WebDesignDW.glencoe.com for an interactive tutorial about system settings.
Output Devices
A monitor displays the text and graphics that you input or download into your computer.
A printer takes electronic information from the computer and produces a paper copy, which is also called a hard copy. Speakers allow you to hear audio, such as music, speech, and sound effects, on your computer.
Identify What are three common output devices?
38
Chapter 2
WebDesignDW.glencoe.com
Hardware: Storage Devices What is the best way to store data long term?
While RAM is the computer’s primary storage, it only saves data temporarily. You need to use a secondary storage device to save your data for the long term. Applications and frequently used files are usually stored on your computer’s hard drive. Removable storage devices such as CDs are used to transfer files between computers. They also are used to install new software applications on a computer’s hard drive. A device’s storage capacity is usually measured either in megabytes (MB) or gigabytes (GB). A byte is the amount of storage space required to store a single character, such as the letter “d.” A megabyte is about one thousand bytes, while a gigabyte is about one million bytes. The storage capacity of different storage devices is shown in Table 2.2.
Activity 2.1 Investigate Storage Devices Explore the characteristics of common types of storage devices at WebDesignDW.glencoe.com.
Table 2.2
Types of Storage Devices Storage Device
What It Does
Storage Capacity
Hard Drive
The hard drive (also called the hard disk) is the major storage device inside your computer. This is where all your programs, files, and folders are permanently stored.
40 GB to 100 GB or more
Floppy Disk
A floppy disk is a portable device that stores smaller files such as text documents.
1.44 MB
Zip Disk
A zip disk is a portable device that can store a greater amount of data than a floppy disk.
100 MB to 750 MB
CDs and DVDs
CDs and DVDs are portable devices that can store very large amounts of information, such as video. They are often categorized as read only, recordable, or rewritable.
CD = 700 MB DVD = 4.7 GB to 17 GB
Flash Drives
Flash drives (sometimes called pen or thumb drives) plug directly into a computer’s USB (Universal Serial Bus) port. Some are as small as a pen or a keychain.
32 MB to 512 MB or more
Users rely on storage devices to save data. What is an example of a removable storage device?
You Should Know If the letter “D” is equal to one byte, then 1 MB is about one thousand “Ds,” a 1 GB disk could store about one million “Ds,” and a 1 KB disk could store about one billion “Ds.”
Analyze How is a hard drive different from a removable storage device?
WebDesignDW.glencoe.com
Computer Basics
39
Types of Software How is an operating system essential to the computer? You Should Know UNIX and Linux are two other flexible operating systems that are found primarily on networks.
Computer software gives instructions to the computer’s hardware to make it work. There are three main categories of software: operating system, application, and utility software.
Operating System Software
Figure 2.3 A GUI desktop displays the files, folders, menus, and programs available on the computer. How does a GUI make a computer easy to use?
An operating system (OS) controls all of the other software programs on a computer. The two most common OSs are: Microsoft® Windows® (for PCs) and Macintosh OS (for Apple Computers). An OS is responsible for keeping track of everything the computer does (task management), and moving data between RAM and other storage devices (memory management). A computer’s OS also keeps track of input devices, and sends output to the appropriate hardware. An OS provides an interface through which a user gives commands to the computer. A graphical user interface, or GUI (pronounced “goo-ee”), allows users to select words, symbols, or graphics from a desktop. Both the Windows and the Mac OS desktops shown in Figure 2.3 use a GUI.
Mac OS
Windows OS
40
Chapter 2
Application Software You use application software (commonly referred to as applications) to perform different tasks on your computer. Common application software includes word processing, spreadsheet, database, and presentation applications. Web browsers and e-mail programs are also types of application software. Examples of application software are shown in Table 2.3.
Table 2.3
Types of Application Software Type of Software
Function
Examples
Web browsers
Use to visit Web sites on the Internet.
Microsoft Internet Explorer®, Apple Safari®, Netscape®, Mozilla Firefox™
E-mail
Use to exchange messages and files with other computers.
Microsoft Outlook®, Eudora®, Outlook Express™
Word processing
Use to create documents such as letters, reports, and newsletters.
Microsoft Word®, Corel WordPerfect®
Spreadsheet
Use to work with numbers and calculations to create tables, charts, and graphs.
Microsoft Excel®, Lotus 1-2-3®
Database
Use to organize and retrieve large amounts of information.
Microsoft Access®, FileMaker Pro®, Oracle®
Presentation
Use to create a slide presentation.
Microsoft PowerPoint®, Apple Keynote®, MS Producer
You use application software to perform specific tasks. What kind of application would you use to create a newsletter?
Often, customers purchase suites of programs, rather than individual programs. Examples of suites are Microsoft® Office™ Professional and Macromedia® CS Suite. Today’s operating systems are capable of multitasking. This allows you to work with more than one application or document at a time.
Utility Software Utility software helps you control your computer and keep it in good running condition. Examples of utility software include antivirus programs and other security programs that keep a computer safe from outside threats. McAfee® and Symantec™ both manufacture popular antivirus and security utility programs. Contrast What is the difference between operating system and application software?
Computer Basics
41
Cross-Platform Issues Why must your computer components be compatible?
Your computer’s hardware, operating system, and application programs must all work together in order for your computer to function properly.
Compatibility When computer components work together properly, they are said to be compatible. The Windows and Macintosh operating systems are generally incompatible. This means that you cannot run the Windows XP operating system on a Macintosh computer, nor can you run the Mac OS on a Windows computer. Windows and Macintosh computers sometimes cannot even share hardware without the help of other devices or software. In addition, applications must be compatible with both the computer hardware and the OS. Some applications come in several versions, while others are designed for only one OS specifically.
Saving Files Some programs create files that can be opened on either a Mac or a Windows OS. Other applications let you save your document in a format that a different operating system or a different version of the program can use. For example, if you create a Word document in Windows, you can save it in many formats—in a Microsoft Word format, in earlier versions of Word, or even in a format for another program, such as Corel WordPerfect. Summarize How are the Windows and Macintosh operating systems incompatible?
Section 2.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Computer systems consist of hardware, software, one or more users, and data.
1. Define hardware, input device, output device, software, operating system (OS), graphical user interface (GUI), application software.
4. Compare and Contrast List the capacity and general uses for primary and secondary storage devices.
• Application software performs specific tasks, such as word processing and Web page creation. • A graphical user interface (GUI) allows users to interact with software by selecting words, symbols, or graphics from the screen.
2. Compare and Contrast the input devices discussed in this section. 3. Describe the six types of application software mentioned in this section.
5. Evaluate Create a list of input, output, and storage devices and software that you would include in a computer system for Web designers. Explain why you chose specific devices.
Apply It! Research Computer Systems Research the current prices for computer systems. Find at least three quotes from online or retail sources. Evaluate each quote and recommend the system that offers the most value. Explain why you chose the system.
42
Chapter 2
SECTION 2.2 NETWORKS Focus on Reading Read to Find Out This section explains the different types of networks, how networks work, and the available types of network connections. Read to find out how networks allow people to communicate with each other over the Internet.
Main Ideas
Key Terms
Reading Strategy
Networks allow computers to share information, messages, and software. Dial-up, broadband, and wireless are three types of network connections.
network local area network (LAN) wide area network (WAN) server client
List facts about the three types of network connections. Use a table like the one below (also available online). Dial-Up
Broadband
Wireless
In a network, communication lines or wireless connections are used to connect computers together. Once connected to each other, computers can easily share information, communications such as e-mail, and resources such as software. Networks also allow users to access the Internet.
Types of Networks What are the two main types of network configurations?
A configuration refers to how a system of computers is arranged or set up. Networks come in two main configurations. A local area network (LAN) connects computers in a single location. A wide area network (WAN) connects computers across a wider geographical area. The major difference between a LAN and a WAN is the size of the area that the network covers, as shown in Figure 2.4.
Activity 2.2 Explore Networks Learn more about various types of networks at WebDesignDW.glencoe.com.
Figure 2.4
LAN Restricted to a small geographic location such as a company, department, building, or complex of buildings.
Contain two or more computers connected together.
WAN Can include computers in a wide geographical area such as multiple blocks, cities, states, or continents.
There are two types of networks: local area networks (LANs) and wide area networks (WANs). What is the major difference between LANs and WANs?
Identify Is the Internet a LAN or a WAN?
WebDesignDW.glencoe.com
Computer Basics
43
Table 2.4
Types of Internet Connections
Cost, speed, and convenience are three of the factors that many people consider when choosing an Internet connection. What are the advantages of using a broadband connection over a dial-up connection?
Type of Connection
How It Connects to the Internet
Advantages
Disadvantages
Dial-up
• Modem • Standard telephone line
• Inexpensive • Requires no additional hardware
• Slow transmission rate • Can disconnect suddenly
Broadband
• Hardware provided by Internet service provider (ISP) • Cable television equipment, satellite dish, or dedicated telephone line
• Computer always connected to the Internet so access is instantaneous • Faster transmission rate
• Transmission rates vary • Typically more expensive than dial-up • Continuous Internet connection makes computer more vulnerable to viruses, spyware, and hackers
Wireless
• Infrared waves, radio waves, or microwaves
• Very mobile and convenient since no cables or cords are used • Internet can be portable
• Not every location has wireless accessibility • Suited to small areas • Not as reliable as traditional connections
Types of Connections How do computers connect to the Internet?
Web designers need to understand the different options available for connecting a computer to the Internet. The three main types of Internet connections are shown in Table 2.4. Many people use broadband connections. The three main types of broadband connections include: ◆ Cable Uses cable equipment to transmit data. ◆ DSL (Digital Subscriber Line) Uses high-capacity telephone lines to transmit data. ◆ ISDN (Integrated Services Digital Network), T1, and T3 Lines Use high-capacity telephone lines and provide multiple channels to transmit data. Bandwidth determines the amount of data that can be transmitted to your computer via the Internet. The higher the bandwidth, the faster the data can be transmitted. Cable transmits data one hundred times faster than dial-up, and a T3 line can transmit data about one thousand times faster than dial-up. People who tend to use Web sites that contain large files such as high-quality images and multimedia elements often prefer higher bandwidth connections since they allow files to be transferred faster over the Internet. List What are the three main types of Internet connections? 44
Chapter 2
The server sends the requested file to Client C.
Figure 2.5 In a client/server network, the server responds to the requests of client computers. What is a server?
Server Client A Client B Client C Client C requests a file from the server.
Printer
Network Hardware and Software Why must network hardware components be compatible?
Network hardware consists of the physical components that connect computers to one another. For a network to function properly, all the hardware components must be compatible.
Client/Server Networks Most LANs used by businesses today are client/server networks. These networks have a powerful central computer called a server. The job of the server is to respond to requests from individual computers, called clients. For example, a user may need information that is stored on the server. As shown in Figure 2.5, the client computer requests this information from the server, which locates the information and sends it to the client.
Modems
You Should Know Client/server networks are important to large companies because they efficiently share the processing and storage workloads among the server and the individual clients.
A modem is a hardware component that enables a computer to send and receive signals through telephone wires or cable. To establish a dial-up connection, your computer must have a modem. The modem translates the digital computer signals into analog, or voice, signals that can be transmitted over standard telephone lines. The speed of a modem is important, especially when working on the Web. Many sites contain large multimedia files with video, sound, and animation. At slow transmission speeds, a page can take a long time to load. Most dial-up modems are capable of transmitting data at 56 K (kilobytes) per second. To use a cable connection, you need a cable modem. Cable modems connect computers to the Internet through the cable television system. Much faster than dial-up connections, cable modems can transmit at speeds measured in megabytes per second, such as 2 MB. Computer Basics
45
Network Interface Cards To connect to the network, the client computer needs a network interface card, or NIC. The NIC provides the place to plug the network cable into the computer, and it creates and sends the signal from one network component to another. The NIC allows the computer to “talk” the same language as the other hardware devices on the network. One popular type of NIC, the Ethernet card, is widely used on LANs.
Routers You Should Know While a server runs a network operating system, each client computer on the network runs its own operating system. For example, a server might run Windows 2000 Server while the client computers run Windows XP.
Companies often want to connect two or more LANs so that employees using different networks can share e-mail and data. A special hardware device called a router is used to join LANs. Computers on a LAN can also access the Internet using routers.
Network Software Networks are controlled by a specific type of software called a network operating system, or NOS. The NOS is responsible for managing network resources, controlling who can access different network components, and keeping the network running smoothly. Some popular network operating systems are Novell® NetWare®, Microsoft® Windows 2000 Server™, Microsoft® Windows 2003 Server™, and Linux. List What are the different types of network hardware?
Section 2.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• LANs and WANs are two basic types of networks.
1. Define network, local area network (LAN), wide area network (WAN), server, client.
4. Compare and Contrast What are the primary differences between dial-up and broadband connections?
• Dial-up connections use modems and standard telephone lines. • Broadband connections can use cable television lines, DSLs, and ISDN, T1, and T3 lines. • Wireless connections use infrared waves, radio waves, or microwaves to transmit data.
46
Chapter 2
2. Identify the basic hardware components needed to connect a computer to the Internet. 3. Describe the difference between a client and a server.
5. Predict Outcomes Your job provides you a computer with wireless connection capability. What advantages and disadvantages do you see in having this technology?
Apply It! Research Network Connections Use the Internet or other resources to learn more about wireless network connections. Write a paragraph describing current wireless network availability. Compare one paid service with one free means of accessing a wireless connection.
Use Equipment Safely
A
ny school or workplace can pose potential dangers. To keep yourself and others safe, learn to recognize and avoid these hazards.
Avoid Computer Injury To avoid computer-use problems such as Repetitive Strain Injury (RSI), eyestrain, or backache, make sure your workstation is ergonomically correct. Always adjust your seat to keep your feet flat on the floor and your wrists straight. The monitor should be about two feet away, at a height that lets you look at it without bending or twisting your neck. Take periodic breaks to stretch and rest your eyes.
Safety-Conscious Attitude Common-sense can lead to a safer work environment. Make sure you know how to use equipment properly and stay alert for safety hazards, such as loose cords that cause tripping. Store equipment securely and avoid horseplay that can cause accidents and damage equipment. Always turn off equipment before repairing it. Never stick your hand into an open piece of equipment. Always make sure wiring is not broken before handling it. If you touch electrical components or damaged wiring, you can get shocked!
Fire Safety
Good posture and an ergonomically correct workstation will help you avoid common computer-related injuries.
Electrical fires are possible where a lot of computer equipment is in use. Circuits can overload or wiring can be faulty or outdated. Learn the location of fire alarms in your school or workplace. Make sure you know what procedures to follow in case a fire occurs.
1. Develop a Plan If an emergency occurred, would 2. Research Safety Identify common school or you know what to do? Make a presentation about work place injuries and their causes. Then, your school’s emergency evacuation plan or select one common injury and research it more create one with the other students in your class. in-depth. Demonstrate ways to avoid such an injury, including proper use of equipment. Computer Basics
47
SECTION 2.3 CREATING A BASIC WEB SITE Focus on Reading Read to Find Out The main purpose of this section is to explain how to create a basic Web site in Dreamweaver. Read to find out how Dreamweaver’s tools enable you to create a basic Web site quickly.
Main Ideas
Key Terms
Reading Strategy
When creating a Web site, you must organize and name your files so they are easy to find. The main content of most Web sites is text and graphics.
folder subfolder root folder format font subpage
To remember the nine main buttons on the Properties inspector text formatting toolbar, list each button and its purpose. Use a table like the one below (also available online). Button
Purpose
In Chapter 1, you opened a Web site in Dreamweaver and examined several of its pages. Now you will get a chance to create your own Web page.
Creating and Saving a Web Page Interactive Tutorials Go to the book’s Web site at WebDesignDW.glencoe.com for an interactive tutorial about file management.
Why is it important to stay organized when saving Web pages?
One of the most important things to learn is how and where to save your files. A folder helps you organize files in a single place. A subfolder further organizes files. Develop a system of folders and subfolders to organize your files so that you can locate your Web pages easily. When you save a new Web site using Dreamweaver, it saves the site to the location, or path, that you specify. The path identifies the drive, folder, and subfolder where the site is being saved. A Web site’s root folder is the main folder that contains all of the site’s other files and folders. In Figure 2.6, the Hardware_Devices folder is the root folder of the Hardware Devices Web site. Always select meaningful names for your folders. For instance, if your initials are MPB, you can name your general Web site folder MPB_Web_Sites. Names may include letters, numbers, and some symbols. The following symbols may not be used: ? \ * “ < > / | .
Figure 2.6 A file path identifies where you have saved items on your computer. Why is it important to know where you have saved items?
48
Chapter 2
Drive
Folder
Subfolder
WebDesignDW.glencoe.com
In the following activity, you will define a new one-page Web site. When you define a Web site, you give that site a name and assign the location where the site will be stored. The site’s name and the files and folders associated with the site appear in the Files panel once the site is defined.
ACTIVITY 2A Create a One-Page Web Site 1 Start Dreamweaver. On the Start page, under Create New, select Dreamweaver Site. 2 In the Site Definition dialog box, under What would you like to name your site?, key: Hardware Devices (see Figure 2.7).
Figure 2.7 Use the Site Definition dialog box to name your site.
Caution While this textbook provides general information about storing files, you must always check with your teacher for specific instructions on saving and storing any files you create.
3 In the dialog box, click the Next button. Select No, I do not want to use a server technology. 4 Click Next again. Select Edit local copies on my machine, then upload to server when ready (recommended). Under Where on your computer do you want to store your files?, ask your teacher which location to choose for your site’s root folder. 5 Click Next. Under How do you connect to your remote server?, click the drop-down arrow. Choose None. 6 Click Next. The Summary screen displays the site’s name and root folder location. Click Done.
Maintenance Defining a Web site in Dreamweaver makes updating and keeping track of files easier and quicker than undefined sites or pages.
7 On the Start page, under Create New, click HTML. Select View>Toolbars>Standard to display the Standard toolbar, if necessary. Computer Basics
49
8 To name your Web page, key Hardware Devices in the Title field of the Document toolbar (see Figure 2.8). This name will appear in the Web browser. 9 In the Properties inspector, click the Page Properties button (see Figure 2.8). In the Page Properties dialog box, click the Page font drop-down arrow. Choose Verdana, Arial, Helvetica, sans-serif. Troubleshooting Always make sure your site’s folders and files are saved in the root folder. Otherwise, the site will not function properly.
10 In the Background color box, key: #FFFFCC. Click OK. 11 Choose File>Save As (or press Ctrl + Shift + S). In the Save As dialog box, in the File name box, key: index.html. Make sure the Save in box displays the location of your root folder. In the dialog box, click Save. 12 In the Files panel, select Site – Hardware Devices and right-click to display the options menu. Choose New Folder and name the folder: images. This folder will hold all of your Web site’s images. Deselect the folder.
Figure 2.8 New one-page Web site with background color applied.
13 Drag the left edge of the Files panel to the left to see your site’s full file path. Confirm that both the index.html file and the images folder are stored in your site’s root folder. Your screen should look similar to Figure 2.8.
Title field
Web site path index.html page Subfolder
Page Properties
Describe What are some strategies for saving and organizing your folders?
50
Chapter 2
Adding Text to a Web Page How can I format Web text?
You are now ready to insert and format text. When you format text, you specify how text characters will look on your page. Formatting text also involves choosing a font. A font is a family of letters, numbers, and other symbols that share a consistent style (for instance, Times New Roman, Arial, and Verdana).
ACTIVITY 2B Insert and Format Text 1 In your Hardware Devices site, in the Files panel, double-click the index.html file. On the Document toolbar, make sure the Design button is selected. Drag the left edge of the Files panel to the right as needed to increase the Document window’s size. 2 Position your insertion point in the page’s upper-left corner. Key: Hardware Devices Used in My Web Pages. 3 Select the text. In the Properties inspector, click the Format drop-down arrow. Select Heading 2. 4 Click after the title and press Enter once. Key: by and then your name (for example, by Christopher Marshall ). 5 Select the text by [your name]. In the Properties inspector, click the Size drop-down arrow. Choose 16. 6 With the text still selected, in the Properties inspector, click the Italic button (or press Ctrl + I). Deselect the text. Your page should look similar to Figure 2.9.
Figure 2.9
Asterisk
Web page with formatted text.
Save
Caution An asterisk indicates that changes need to be saved. Use Ctrl + S to quickly save your work.
7 Notice that an asterisk appears in the tab of the file you are editing (see Figure 2.9). On the Standard toolbar, click the Save button or press Ctrl + S. The asterisk disappears.
Explain What does it mean to format text?
Computer Basics
51
Adding Graphics to a Web Page How do graphics enhance a Web page?
One easy way to add graphics to a Web page is to use a premade graphic. As noted in Chapter 1, the Insert toolbar contains different views. When you insert premade graphics into your Web site, the Insert toolbar needs to be in Common view. In the following activity, you will use graphics files that can be found in the Student Data Files. Ask your teacher how to store and use the Student Data Files for this book.
ACTIVITY 2C Insert Graphics 1 In your Hardware Devices site, double-click index.html to display it in the Document window. Position the insertion point after your name and press Enter. 2 On the Insert toolbar, make sure the Common view is selected (see Figure 2.10). On the Insert toolbar, click the Images button.
Figure 2.10 The Images button is displayed when the Insert toolbar is in Common view.
Common view selected Images button
3 In the Select Image Source dialog box, click the Look in drop-down arrow. With your teacher’s permission, navigate to the DataFiles\Ch02\ Images folder. In this folder, select the file named camera.gif (see Figure 2.11). Click OK.
Figure 2.11 Image files in the Select Image Source dialog box.
52
Chapter 2
4 Save the image file in your site’s images folder. If a message appears asking if you wish to copy the image to your site’s root folder, click Yes. In the Copy File As dialog box, double-click the images folder to open it. In the dialog box, click Save. 5 The file has been saved in your site’s images folder and the image appears on your Web page (see Figure 2.12).
Figure 2.12 Graphic inserted into the Hardware Devices Web site.
Shortcut Press Shift + Enter to move to the next line. Press Enter to move down two lines.
6 Click after the image and press Shift + Enter (hold down the Shift key while pressing the Enter key) to move to the line just below the image. Key: This is a digital camera. I can download pictures from my camera to my computer and insert them into my Web pages. If necessary, select the text and click the Italic button to change the font from italic to normal. 7 Click at the end of the text and press Enter. Click the Images button. Navigate to the DataFiles\Ch02\Images folder. Select cd-rom.gif and click OK. Repeat Step 4 to save the file in your site’s images folder. 8 Press Shift + Enter. Key: This is a CD-ROM. I can copy text, pictures, sound, and video stored on CD-ROMs into my Web pages. If necessary, unitalicize the text. Your screen should look similar to Figure 2.13.
Figure 2.13 Web page with two graphics and text inserted.
Computer Basics
53
9 Place the insertion point after the text. Press Enter. Click the Images button. Navigate to the DataFiles\Ch02\Images folder. Select scanner.gif and click OK. 10 Repeat Step 4 to save the file in your site’s images folder. 11 Press Shift + Enter. Key: This is a scanner. The scanner creates digital files of the images it scans. I can insert these files into my Web pages. If necessary, unitalicize the text. All the changes you made appear on the page. 12 Click the Save button on the Standard toolbar. Your page should look similar to Figure 2.14.
Figure 2.14 The Hardware Devices Web site with all of its text and graphics inserted.
You have now added text and graphics to a Web page. These two skills are the basic skills needed to create any Web site. Identify The Insert toolbar must be in which view for the Images button to appear?
54
Chapter 2
Creating Subpages How can I add pages to a Web site?
Most Web sites contain more than one Web page. In sites with multiple pages, the index.html file is the site’s main page. Other pages or subpages are inserted below this page in the site’s navigation (you will learn more about site navigation in Chapter 5). In the following activity, you will add a subpage to the Hardware Devices site’s home page.
ACTIVITY 2D Create a Subpage 1 In your Hardware Devices Web site, in the Files panel, select the project name Site – Hardware Devices . Click the panel’s option menu icon in the panel’s upper-right corner. Select File>New Folder. Name the folder: pages. 2 Open the index.html file in Design view. Position the insertion point before the page title Hardware Devices Used in My Pages. Press Enter. Click in the line above the title that you just created. 3 Key: HARDWARE | SOFTWARE. Select the text. In the Properties inspector, click the Size drop-down arrow and select 14. 4 Select the word HARDWARE. In the Properties inspector, in the Link box, key: index.html. Select the word SOFTWARE. In the Link box, key: pages/software.html. 5 Your screen should look similar to Figure 2.15. These links will help users navigate your site. Save the index.html file.
Figure 2.15 Users can use the text links to access the site’s subpages. Navigation links
Pages folder
Link box
6 Select File>Save As. In the Save As dialog box, double-click the pages folder. In the File name box, key: software.html. Click Save. When prompted to Update Links?, click Yes. 7 In the new software.html subpage, in the Properties inspector, click Page Properties. In the Page Properties dialog box, under Category, select Title/Encoding. Click OK. In the page’s Title box, delete Hardware Devices and key: Software Applications. Computer Basics
55
8 Select the page title at the top of the page and key: Software Applications Used in My Web Pages. Delete the remaining text and graphics on the page. Your screen should look similar to Figure 2.16.
Figure 2.16 The Software Applications subpage has been added to the Hardware Devices Web site.
Subpage
9 Save your work. Choose File>Exit (or press Ctrl + Q) to close the Web site and exit Dreamweaver.
You have created your first Web site using Dreamweaver. In the next few chapters, you will use many tools and techniques that will help you build on the basic skills that you learned in this chapter. Identify What is a subpage?
Section 2.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• You should use a consistent plan for saving the files associated with Web sites.
1. Define folder, subfolder, root folder, format, font, subpage.
4. Draw Conclusions Why do you need a plan when saving Web site files?
• A root folder is where a Web site’s folders and files are stored. • The main content of most Web sites is text and graphics. • A font is a family of letters, numbers, and symbols that share a consistent style.
56
Chapter 2
2. Describe how to add a subpage to a Web site. 3. Explain what a Web site’s root folder is.
5. Analyze Text Why is it helpful to use different fonts and sizes for text headings?
Apply It! Format Text Add text to the Software Applications subpage. Apply different formatting to the page. Evaluate if the differences enhance or detract from the readability of the text.
CHAPTER 2
Reading Review
SECTION 2.1 Computer Hardware and Software Key Terms
Main Ideas ■ LANs and WANs are two basic types of networks. ■ Dial-up connections use modems and standard
Main Ideas ■ A computer is an electronic device that converts
■ ■ ■ ■ ■ ■
■
Key Terms network, 43 local area network (LAN), 43 wide area network (WAN), 43 server, 45 client, 45
raw data into useful information. Computer systems consist of hardware, software, one or more users, and data. Input devices include keyboards, mice, digital cameras, scanners, and microphones. Common output devices are monitors, printers, projection systems, and speakers. An operating system acts as an interface between a user and the computer hardware. Commonly used operating systems include Microsoft Windows, Mac OS, Unix, and Linux. Application software performs specific tasks, such as word processing and Web page creation. A graphical user interface (GUI) allow users to interact with software by selecting words, symbols, or graphics from the screen. For a computer system to function properly, all parts of the system must be compatible. Data
Software
■ ■ ■ ■ ■
telephone lines. Bandwidth determines the amount of data that can be transmitted over a broadband connection. Broadband connections can use cable television lines, DSLs, and ISDN, T1, and T3 lines. Wireless connections use infrared waves, radio waves, or microwaves to transmit data. Client/server networks have a powerful central computer known as a server. Network hardware components include servers, network interface cards, modems, and routers.
SECTION 2.3 Creating a Basic Web Site Key Terms folder, 48 subfolder, 48 root folder, 48
format, 51 font, 51 subpage, 55
Main Ideas ■ You should use a consistent plan for saving the files
Computer System
Hardware
User
associated with Web sites. ■ A root folder is where a Web site’s folders and files are stored. ■ A font is a family of letters, numbers, and symbols that share a consistent style. ■ The main content of most Web sites is text and graphics.
Computer Basics
57
CHAPTER 2
Review and Assessment
AFTER YOU READ Key Term Journal Working in pairs or in small groups, compare entries in your Key Term Journal with those of the other students. How are the answers in the What else is it like? column similar or different? Note in your own journal examples suggested by other students that you find helpful.
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
16. Identify the four main parts of all computer systems. Computer System
Reviewing Key Terms 1. What are the physical components of the computer? 2. A monitor is an example of what type of device? 3. What types of networks do the abbreviations LAN and WAN stand for? 4. What type of network is the Internet considered to be? 5. What type of interface allows users to interact with software by selecting words, symbols, or graphics from the screen? 6. What do you use to perform different tasks on the computer? 7. What is the purpose of a server? 8. What is the relationship between a folder and a subfolder?
Understanding Main Ideas 9. Describe the two main processing components. 10. Explain the difference between hardware and software. 11. Describe how a user interacts with a GUI (graphical user interface). 12. Identify the two basic categories of networks. 13. Describe the different ways you can connect to the Internet. 14. Summarize the primary responsibilities of the network operating system (NOS). 15. Explain why it is very important to save your work frequently. 58
Chapter 2
17. Describe three types of application software. Three Types of Application Software Software #1 Software #2 Software #3
Critical Thinking 18. Analyze Software Why was the invention of a graphical user interface a major innovation in computer technology? 19. Make Recommendations Your neighbor’s family is deciding to upgrade from dial-up modem to a faster Internet connection, and they have asked you for your advice. Both parents work at home from four to eight hours a day. They have two young children who use the Internet occasionally, but will need it more as they get older. What type of Internet connection would you recommend? Why? Copy and complete the table shown below on your own paper. Identify the benefits and drawbacks of the different connections for your neighbors. Type of Connection Cable DSL ISDN, T1, T3 lines Wireless
Pro
Con
Review and Assessment
CHAPTER 2
20. Research Information Use the Internet or catalogs to find computer product descriptions. These are available at many retail stores or online computer stores. Identify the operating systems currently available for different computer systems. Using a spreadsheet application, make a chart that lists the features of each system. Can you find one system you can get for free? Compare the features to the operating systems available for purchase. Which one would you prefer? Why? 21. Identify Graphics Your school district is planning a new Web site that will be used as a way to communicate with parents, students, and the community. Each school in the district will be featured. What type of graphics, audio, and video do you think the site should include? Use a problem-solution chart like the one shown below to help you determine your answer. Problem
➠
Reading Tables Read the paragraph and table below and then answer the question.
Your teacher has asked you to research and write a report about immigration patterns in the United States during the twentieth century. Include a graph to illustrate your findings. Type of Software
Function
Web browsers
Use to visit Web sites online.
E-mail
Use to exchange messages and files with other computer users.
Word processing
Use to create letters, reports, and newsletters.
Spreadsheet
Use to work with numbers and calculations to create tables, charts, and graphs.
Database
Use to organize and retrieve large amounts of information.
Solution
Based on the table above, which three types of software would best help you to complete your assignment? Web browser, e-mail, and spreadsheet Spreadsheet, word processing, and database Database, Web browser, and spreadsheet
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
22.
+
23.
+
24.
+
Result
+
Result Result
Spreadsheet, Web browser, and word processing
WebDesignDW.glencoe.com Study with PowerTeach Go to the book Web site shown above. To review the main points in this chapter select e-Review>PowerTeach Outlines>Chapter 2.
Online Self Check Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 2. WebDesignDW.glencoe.com
Computer Basics
59
CHAPTER 2
Activities
1. MAKING CONNECTIONS Language Arts—Write a Report Linux is an operating system used on many Web servers. The Linux system is available without charge. Research the interesting story of the development of Linux. As you research, look for the answers to the following questions: ◆ Who developed the Linux operating system? ◆ When was Linux developed and why? ◆ How has Linux evolved since it was first developed? ◆ How might Linux be used in the future? Write a two-page report summarizing your findings. For tips on using online resources, refer to the Technology Handbook in the front of this book.
2. STANDARDS AT WORK Students evaluate and select new information resources and technological innovations based on the appropriateness of specific tasks. (NETS-S 5)
Evaluate Scanners Many Web developers use scanners. A scanner converts a printed image into a digital image. Images can be scanned with different resolution capabilities, which are measured in dots per inch (dpi). The higher the dpi, the better the image will be. However, when an image is scanned at a higher dpi, the resulting digital file is larger than that of an image scanned at a lower dpi. On a site, larger files can take longer to download, especially if visitors do not have high-speed connections. Scan resolution capability is a primary factor in the price of scanners. Other features that contribute to the cost factor are whether the scanner is a flatbed or upright model, whether the scanner scans one page only or includes a multi-page feeder, and whether the scanner can also function as a printer, copier, and FAX machine. Your school’s Web site committee has agreed to purchase a scanner for your class. You must research scanners and write a proposal. In your proposal, include information for three scanners. Explain your reasons for including these three scanners in your proposal. Use a table like the one shown here to document the data you obtain about each scanner.
SCANNERS #1 #2 #3
60
Chapter 2
TYPE OF SCANNER
FEATURES (INCLUDING DPI OPTIONS)
WHERE TO PURCHASE
PRICE
CHAPTER 2
Activities
3. TEAMWORK SKILLS Understand Computer Terms Form small groups following your teacher’s instructions. As a group, develop a dictionary of computer terms. This dictionary will be used by individuals who are new to using technology. First, make a master list of terms. Divide the terms among group members. Have each group member find definitions of the terms using dictionaries and online reference resources. Use word processing software to list the terms and definitions. Place the terms in alphabetical order. All group members should: 1. 2. 3. 4. 5.
Read the terms and definitions. Mark any errors for correction. Make sure all terms are in alphabetical order. Suggest improvements to the definitions. List any additional terms that should be added.
Have the group continue reviewing the dictionary until all corrections have been made and all terms and definitions have been added.
4. CHALLENGE YOURSELF Explore Networks Client/server networks are widely used in businesses and schools. They allow many people to access information stored on a server. With your teacher’s permission, interview the network administrator at your school or for your district to learn about the network used in the school or district. Before the interview, write the questions that you want to ask. The questions should help you learn about the network components, how the components work together, what network operating system is used, and what safeguards the network components from power surges and viruses. Be sure to find out what you can do as an end user to safeguard the network, as you will want to share this information with your class. Write a summary of your interview.
QUESTION
ANSWER
Which network operating system is used? What kind of network server do we have? How extensive are our network components?
Computer Basics
61
CHAPTER 2
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Format Text
Create a new one-page Web site to advertise an International Festival. Create a new one-page Web site named International Festival. Use your teacher’s instructions to store the site’s files in the proper location. Create a new HTML page called index.html for the site. Change the page’s background color to light blue. The color value is #99CCFF. Add the text in the figure on this page. Follow the spacing shown in the figure. (Press Enter to move down two lines and Shift + Enter to move down one line.) Format the name of the fair as Heading 1. Format the date and time information as Heading 3 and italicize the text. Format the remaining text as an 18 pixel size font.
2. Add Graphics and a List to a Web Site
62
Enhance the Web site by adding a graphic and a list of restaurants to the page. Open the index.html page of the International Festival Web site. Move the insertion point to the top of the page in front of the word International. Insert the festival.gif image from the DataFiles\Ch02\ Images folder. Click once after the image and press Enter. Position the insertion point after the text Dozens of food vendors... Press Enter. Key a list of local restaurants into the page. Select the entire list and choose Text>List>Unordered List from the menu bar. Save the Web site and close Dreamweaver.
Chapter 2
Projects
CHAPTER 2
Read the projects described below. Then follow the directions to complete each project.
1. Create Inventory Sheets With your teacher’s approval, take a survey of the hardware and software being using in your classroom. The table below shows some of the information you may want to gather about the computer hardware.
COMPUTER HARDWARE Computer ID Lab01
Type of Computer PC
Input Devices Mouse, keyboard
Storage Devices ZIP250
Network Connection (Yes or No) Yes
The table below shows some information you can gather about software.
COMPUTER SOFTWARE Software Name Word
Vendor Microsoft
Type (Application or OS)
Version
Application
2002
Primary Use Word processing
After you have completed your survey, sketch a Web page design for a site that will be used to teach parents and the school board about the equipment (hardware and software) in your classroom.
2. Prepare a Presentation You have been asked by the school board to create a presentation for the school board and parents. They want you to teach them about the equipment (hardware and software) you have available in class. If possible, create this presentation using a productivity tool, such as word processing or presentation software. Your audience will be the school board and parents. Your presentation should explain what hardware and software is available, and what you use to create Web pages. Use illustrations to add interest. If possible, have a computer system available so that you can point to items as you talk about them. Give your presentation to two classmates. Have them recommend ways to improve it. If possible, give your presentation to other students in your school.
Computer Basics
63
CHAPTER
3
Online Basics
YOU WILL LEARN TO… Section 3.1 Describe Internet hardware and software Explain Internet protocols Compare intranets, extranets, and the Internet Section 3.2 Identify URL components Compare Web browsers Use search engines Section 3.3 Describe Web development applications and hardware Describe connectivity components Insert external hyperlinks Section 3.4 Explain how to download files responsibly Summarize copyright and fair use laws Cite digital sources Evaluate online information
64
Chapter 3
WHY IT MATTERS ................................................. The Internet has changed the way we research topics, play games, get our news, and buy products. The ease with which users can obtain information from the Internet has led to unique online social, ethical, and legal issues. For example, anyone with a computer and Internet access can easily download music files. Many people do not know that copying music from the Internet often violates copyright law. Users need to be aware of ethical, legal, and social issues when using online materials. Write a paragraph describing how you use materials that you download from the Web on a regular basis (pictures, music, information, etc.). Note any ethical or legal issues that you think you need to consider when using these online resources.
CHAPTER
3
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 3.1 Communicate on the Internet ......................................... 3.2 Perform a Keyword Search ........ 3.3 Identify Hardware ........................ 3.4 Cite Digital Sources ..................... You Try It Activities 3A Preview a Web Page .................... 3B Perform a Boolean Search ......... 3C Insert External Hyperlinks .......... 3D Add a Copyright Notice................
70 77 82 88
You Try It Skills Studio Search for Information Online ........... 94 Create a Web Page with External Links ..................................................... 94 Web Design Projects Use Online Resources ......................... 95 Evaluate Software ............................... 95
IN THE WORKBOOK 74 76 81 86
Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Chapter Assessment Making Connections ........................... Standards at Work .............................. Teamwork Skills .................................. Challenge Yourself ..............................
92 92 93 93
Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Adjust Reading Speed Effective readers not only think about what they are reading, they think about the process of reading. One action you can take to improve your comprehension is to adjust your speed of reading to match the difficulty of the text. As you read this chapter, slow down your reading speed when you have difficulty understanding a concept. If needed, re-read the text to give yourself enough time to absorb the material. It may take longer to read the assignment, but you will understand and remember more.
WebDesignDW.glencoe.com
Online Basics
65
SECTION 3.1 THE INTERNET Focus on Reading Read to Find Out This section explains how the Internet works. Pay close attention to the key term protocol. Read to find out how protocols enable people to use the Internet.
Main Ideas
Key Terms
Reading Strategy
Protocols allow computers to communicate. People often use the Internet to communicate with other users. Intranets and extranets are networks that are protected from unauthorized access.
Internet service provider (ISP) protocol Transmission Control Protocol/Internet Protocol (TCP/IP) Hypertext Transfer Protocol (HTTP) intranet extranet
List important dates in Internet history. Use a time line like the one below (also available online). Date/ Event
Date/ Event
Date/ Event
Date/ Event
Date/ Event
The Internet originated in the late 1960s. It is only since the early 1990s, however, that the Internet has been commonly used in homes, schools, and businesses.
Origins of the Internet What was the early purpose of the Internet?
Activity 3.1 Explore Online History Find out more about the history of the Internet and the Web by visiting WebDesignDW.glencoe.com.
The first version of the Internet was created in 1969 as a way for the government to develop a network of computers with various universities and defense contractors. This network was called ARPANET, after its developer, the Advanced Research Projects Agency of the U.S. Department of Defense. Some other important dates in the Internet’s development are shown below. ◆ 1980s—The National Science Foundation (NSF) adds to ARPANET and calls it the Internet. ◆ 1990—Tim Berners-Lee creates first GUI (graphical user interface) and names it the World Wide Web. ◆ 1994—Web’s governing body, the World Wide Web Consortium (W3C) is founded. ◆ 1995—Private networks are joined to the Internet. Identify Tim Berners-Lee created the first GUI in what year?
66
Chapter 3
WebDesignDW.glencoe.com
How the Internet Works What is an Internet service provider?
While the terms are often used interchangeably, the Internet and the Web are two separate things. ◆ The Internet is a large collection of networks. ◆ The Web is just one part of this larger network.
Hardware and Software Components
You Should Know Every time you are on the Web, you are also on the Internet. However, you can use the Internet without being connected to the Web.
Internet hardware consists of the computers and servers connected to the Internet and the communication lines over which files are transmitted. The files are stored on servers that send the files to individual computers. Software applications allow you to use these files after your computer receives them from a particular server. For example, a Web browser allows you to view multimedia files stored on Web servers. (Web servers are discussed further in Chapter 14).
Internet Service Providers You must be connected to the Internet to use its resources. To do this, most people use a communication line, such as a telephone line or a cable connection, to access an Internet service provider. An Internet service provider (ISP) is a business that allows its customers’ computers to access the Internet through its own network. An ISP typically charges its customers a monthly fee for ongoing Internet access. Some examples of ISPs include AOL®, EarthLink®, AT&T®, and Time-Warner®. ISPs have one or more Internet servers that link together local and regional networks and control the way data is routed over the Internet. Most LANs and WANs use a gateway to access the Internet, as shown in Figure 3.1. A gateway is an Internet server that allows the network to communicate with the Internet.
Figure 3.1
Communication line using TCP/IP protocol
Most networks use gateways to access the Internet. What is a gateway?
Internet Gateway
Network LAN
Online Basics
67
Internet Protocols All of the different computers on the Internet must communicate with each other to share information and resources. A protocol is a set of rules and procedures specifying how data need to be formatted and transmitted between computer systems. Computers must follow the same protocol in order to “talk” to each other.
Figure 3.2 You can access Web pages by keying in an IP address. What does IP stand for?
TCP/IP The basic Internet protocol is Transmission Control Protocol/ Internet Protocol, or TCP/IP. TCP/IP protocol contains the specific information that allows computers to identify each other and exchange data on the Internet. Each computer on the Internet has a numeric Internet protocol, or IP, address. A Web site’s IP address and its domain name address are the same. Keying either 216.109.118.70 or www.yahoo.com will send you to the Yahoo site (see Figure 3.2). Most IP Address people find the domain name address easier to remember than the IP address. A Domain Name Server (DNS) is used to transfer a numeric IP address into a domain name address.
Other Internet Protocols TCP/IP is the main Internet protocol. Other protocols are often used with this basic protocol to accomplish specific tasks. The list below describes some commonly used protocols.
◆ HTTP The Web uses Hypertext Transfer Protocol or HTTP to transfer files from a Web server to a Web browser. HTTP also interprets hyperlinks and jumps to the specified location. ◆ FTP The File Transfer Protocol (FTP) provides a standardized method of uploading and downloading files on the Internet. Files for FTP sites are stored on FTP servers. ◆ Telnet The Telnet protocol allows a computer to access another computer from a remote location. Telnet allows users to connect to databases, library catalogs, and similar information resources around the world. ◆ Gopher The Gopher protocol uses the software applications Veronica and Jughead to let users search indices of text-based resources. ◆ WAIS Wide area information servers (WAIS) use their own protocols to access servers that store specialized databases organized by subject. All WAIS documents are text based. Describe What does a protocol allow computers to do?
68
Chapter 3
Internet Resources What are a few examples of Internet Resources?
Internet protocols allow users to access specific Internet resources, such as FTP, Telnet, Gopher, or the Web. The Web is probably the bestknown Internet resource. However, there are many other Internet resources available. Table 3.1 lists some popular Internet resources. Types of Internet Resources Resource
Function
Electronic Mail (E-mail)
Users send messages directly to one or more people over the Internet.
Listserv
Users post group messages. Users can access and respond to messages at their convenience.
FTP Site
A site often used in businesses where people need to use and share large files. Can also be used to upload Web site files to a Web server.
Newsgroups or Forums
Users post articles on a topic that other subscribers to the newsgroups can read. Many newsgroups reside on USENET, a worldwide bulletin board system.
Chat Rooms
A group of users talk in real time about particular subjects such as hobbies. No special software is required to access a chat room.
Internet Relay Chat (IRC)
Users communicate with one another in real time by keying messages back and forth. Conversations may be public or private.
Instant Messaging (IM)
Works like IRC communication. Unlike IRC, many private companies have developed IM applications.
Online Gaming
Users play games in real time with people in other locations. Multiuser domain games (MUDs) and MUD object-oriented games (MOOs) let users experience a virtual universe where they interact with other users.
Many people use e-mail to communicate every day. To receive e-mail messages, you need a unique e-mail address that will route your messages directly to you. In order to actually key, send, and receive e-mail messages, you need an e-mail application, such as Microsoft® Outlook®, Netscape® Messenger, and Eudora®. You typically access an e-mail application through a Web browser. List What are two examples of Internet resources?
Table 3.1 The Internet is commonly used for communication. Why is the Internet a useful tool for communicating with others?
Interactive Tutorials Go to the book’s Web site at WebDesignDW.glencoe.com for an interactive tutorial about e-mail.
Online Basics
69
Intranets and Extranets What is the purpose of other networks?
The Internet is accessible to everyone. Other types of networks such as intranets and extranets allow users to control access to their content. The Internet, intranets, and extranets all use TCP/IP and require the same hardware, including communication lines, servers, and routers. The difference between the three networks lies in how they are used, who owns them, and who is allowed to access them. While the Internet is public, intranets and extranets are privately owned by the organizations that create and maintain them. The similarities and differences between intranets and extranets are shown in Figure 3.3.
Figure 3.3 Both intranets and extranets help companies protect their resources. How are these two networks different from the Internet?
Intranet Can only be accessed by employees of an organization.
A LAN or WAN that allows users to share information within an organization while protecting this information from outsiders.
Extranet Can be accessed by outside or remote users who have authorization.
Compare What are the similarities and differences between an intranet and an extranet?
Section 3.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Tim Berners-Lee created the first GUI browser, leading to the development of the Web.
1. Define Internet service provider (ISP), protocol, Transmission Control Protocol/Internet Protocol (TCP/IP), Hypertext Transfer Protocol (HTTP), intranet, extranet.
4. Draw Conclusions Why do you think the development of protocols has been so important in the history of the Internet?
• The main Internet protocol, TCP/IP, provides a common language for all computers. • The Web uses HTTP protocol. Other Internet protocols include FTP, Telnet, Gopher, and WAIS. • Intranets and extranets are privately owned networks.
70
Chapter 3
2. Describe six types of Internet protocols. 3. Identify what a MUD is.
5. Compare and Contrast How are the Internet, intranets, and extranets the same and how do they differ?
Apply It! Communicate on the Internet List the six types of Internet communication discussed in this section. Identify which of these methods are available in your classroom or lab. With your teacher’s supervision, try using one or more methods to communicate with other students.
SECTION 3.2 THE WEB Focus on Reading Read to Find Out The main purpose of this section is to explain how the Web works. Read to find out about the many different parts of the Web. As you read, consider how you use the Web.
Main Ideas
Key Terms
Reading Strategy
A URL is an address that identifies a specific Web page. Web browsers have varying capabilities. Search engines help locate sites containing specific information. Users should carefully evaluate all information found online.
uniform resource locator (URL) domain name domain name extension accessibility option search engine keyword Boolean search
List the steps involved in retrieving a Web page from a server. Use a chart like the one below (also available online)
➠
➠
➠
The Web is probably the Internet’s most widely used component. As you learned, the Web uses HTTP (Hypertext Transfer Protocol), which allows pages to be interlinked. This interlinking lets users move easily from page to page. It is this ability to browse through pages that sets the Web apart from other Internet components, such as FTP sites and newsgroups.
Uniform Resource Locators (URLs) How do URLs work with browsers?
Every Web page has a unique address known as a uniform resource locator or URL. Like IP addresses, URLs enable a browser to locate specific page files on the Web.
URL Components HTTP requires Web page URLs to be in a standard format that browsers know how to interpret. Most URLs consist of four main parts: protocol://address/directory path/retrieved file. ◆ The protocol indicates the type of server where the file is stored. ◆ The address is the server’s address. ◆ The directory path is the file’s location within the file structure of that particular server. ◆ The retrieved file is the name of the specific Web page file being accessed. Together, these four components form a URL that specifies a single page on the Web. Each Web page in a site has its own address, just like every page in a book has its own page number. WebDesignDW.glencoe.com
Online Basics
71
Figure 3.4 shows the URL for the corporate history page on the McGraw-Hill Web site: http://www.mcgraw-hill.com/about/history.html. ◆ The “http” specifies that this page is stored on an HTTP, or Web, server.
Figure 3.4 Each component of a URL has a specific meaning. How can you tell that this URL specifies a file on the World Wide Web?
Protocol
◆ The address (“www.mcgraw-hill.com”) is the Web server’s address. The “www” indicates that the server is part of the World Wide Web. The “mcgraw-hill.com” is the site’s domain name. A domain name identifies the entity (such as a university, individual, or business) that sponsors the site. This URL tells users that McGraw-Hill owns the site. ◆ The “about” tells users the directory path they need to follow to find a specific page. ◆ The “history.html” is the name of the file that contains the Web page the user is viewing. The “html” indicates that this page is written in HTML code. World Wide Web
Domain name extension
http://www.mcgraw-hill.com/about/history.html Domain name
Directory path
Retrieved file
Domain Name Extensions A domain name typically ends with a dot followed by letters. These letters identify the URL’s domain name extension. A domain name extension tells users what type of organization uses the address. For example, the extension “.com” in the McGraw-Hill URL indicates that this is a commercial site. Table 3.2 lists some commonly used domain name extensions.
Table 3.2
Common Domain Name Extensions
URLs contain domain name extensions. What information can you learn from a domain name extension?
Extension
Description of Site
Example
.com
Commercial or for-profit business
www.dell.com
.edu
Educational site
www.harvard.edu
.gov
U.S. government organization
www.firstgov.gov
.org
Professional or nonprofit organization
www.redcross.org
.mil
Military site
www.army.mil
.net
Network site
http://eelink.net
.biz
Commercial business
www.dgmi.biz
.info
Information site
www.eclipses.info
List What are the components of a URL?
72
Chapter 3
Using a Web Browser How is a Web browser essential to viewing Web pages?
You need a Web browser to request, retrieve, and view Web pages. A browser is a software application that you can install and customize.
Platform Differences Not all Web browsers interpret and display HTML identically. Some common browser issues include the following. ◆ Design Issues Margin spacing around the edges of a page often varies in different browsers. Text may wrap at different places. Font sizes and colors may vary, as may the appearance of hyperlinks. ◆ Browser Restrictions Not every browser will support all of the features that you may want to use in your Web pages. Also, some older operating systems may not be able to run newer browsers. ◆ Browsers and Accessibility Many browsers include accessibility options. An accessibility option is a feature that allows differently abled individuals to access and use Web pages. For example, most browsers let users increase the size of text on the screen. This option helps users with impaired vision read text more easily.
Design Since pages may look different in different browsers, think about what type of browsers your audience may be using when you design your pages.
Retrieving a Web Page The Web is based on the client/server model. When you key a URL into your browser and press Enter, a specific Web page is retrieved through the process shown in Figure 3.5. Your browser (the client) sends the URL to an Internet domain name server. The domain name server determines the IP address of the Web server that maintains the requested page.
Figure 3.5
➠
The process of retrieving a Web page. What client is used to request a Web page?
Your browser uses this IP address to locate the needed Web server.
➠ Your browser requests the specific page you want, and the Web server sends that page to your computer.
➠ Your browser interprets the HTML code and displays the page in your browser window.
Online Basics
73
Previewing a Web Page Because pages can look different, you must preview your Web pages in as many different browsers as you can. Most Web designers make certain that their pages display properly in Microsoft Internet Explorer and Netscape Navigator®. You should also preview pages using browsers that you know your audience will use. Most people use the browsers Microsoft Internet Explorer, Netscape Navigator, or Mozilla™ Firefox™. Other available browsers include Opera™, Lynx, Safari™, and America Online®. Dreamweaver allows you to preview your pages in several different browsers.
ACTIVITY 3A Preview a Web Page 1 Start Dreamweaver. 2 On the menu bar, choose File>Open. 3 In the dialog box, browse to the DataFiles\Examples\MusicDept folder. Double-click the index.html file to open the home page.
Figure 3.6 The page viewed in the Microsoft Internet Explorer 6.0 Web browser.
4 On the menu bar, choose File>Preview in Browser. Choose a browser for viewing the page. There may be more than one browser depending on which browsers are installed on your computer. In Figure 3.6, the home page of the Music Department Web site is shown in Internet Explorer 6.0.
Web browser
Web page viewed in Web browser
5 Leave the browser window open. In Dreamweaver, choose File>Preview in Browser again. If possible, select a browser option different from the one you selected in Step 4, such as Netscape Navigator 6 (as shown in Figure 3.7 on page 75) or Mozilla Firefox. 74
Chapter 3
6 Compare how the two screens look in the different browsers. Preview the page in as many different browsers as you can. There is little, if any, difference if a page has been designed correctly.
Figure 3.7 The page viewed in the Netscape Navigator 6 Web browser.
7 Close each browser. 8 Exit Dreamweaver.
Locating Information Online How can search tools help users locate online information?
The vast number of pages on the Web can make it hard to find specific resources. Using search tools can help you locate online information.
Search Tools A search engine is an application that locates information about Web pages and then stores this information in searchable databases that you can access from your browser. You search for specific information by entering one or more words related to your topic into the search engine. The search engine then displays a list of Web pages that are relevant to these selected words. Popular search engines include Google™, AltaVista™, and Excite®. Search engines catalog individual Web pages. Sometimes, in addition to receiving a list of Web pages about your topic, you may also get a link to a Web directory. A Web directory catalogs Web sites (not pages) by topic or category. After you choose the category, the directory displays a list of sites related to that category. Since databases tend to contain different information, it can be a good idea to use at least two search tools when attempting to locate online information. Online Basics
75
Using Search Tools To use a search engine, you make a search query. Keyword and Boolean searches are two types of search queries.
Keyword Searches A search query is one or more keywords that you enter into the search engine. A keyword is an important word related to the specific topic you are trying to locate. For example, if you are looking for a Web site that contains information on HTTP, you would enter the keyword “HTTP.” When you enter a keyword into the search engine, the engine searches Web sites for possible matches. The search engine then returns the results or hits to you. You need to be careful when selecting a keyword. A keyword that is too general will return too many results. Boolean Searches When you want a more precise search than a keyword search, you may want to perform a Boolean search. A Boolean search specifies how the search engine should use keywords to locate specific pages. You perform a Boolean search by entering keywords that are separated by Boolean operators. The commonly used Boolean operators and their function are listed in Table 3.3. Table 3.3
Boolean Operators
Using Boolean operators will help you perform a more precise search. What are the three most commonly used Boolean operators?
Operator
Function
AND
The search engine locates only those pages containing both keywords. Many search engines use the plus sign (+) in place of AND.
OR
The search engine locates pages containing one or both of the keywords. An OR search generally produces more “hits” than an AND search.
NOT
The search engine locates pages that contain the first keyword but not the keyword after the NOT operator. Many search engines use the minus sign (-) in place of NOT.
ACTIVITY 3B Perform a Boolean Search 1 Open your Web browser. 2 With your teacher’s permission, key the following URL into the address box at the top of the browser window: www.google.com. Press Enter. The Google search engine appears. 3 Start with a simple keyword search. Key squash into the search box and press Enter. Write down the number of results (displayed on the blue bar near the top of the page). 4 Key the phrase squash+vegetable into the search box (see Figure 3.8). (Note: Most search engines require that there be no space between the symbol [+ or -] and the keyword). Press Enter. Write down the number of results you receive.
76
Chapter 3
Figure 3.8 Searching for results using an AND search. Use the Help feature if you encounter problems.
Key your keywords in the search box.
Click the search button after you enter your keyword.
5 Key squash OR vegetable and press Enter. Write down the number of results. 6 Key: squash-game. Again, write down the number of results. 7 Compare the number of results that you received for each of these four searches. Note which search produced the most results and which search produced the fewest results.
List What are two types of searches?
Section 3.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Most URLs consist of a protocol, an address, a directory path, and a retrieved file.
4. Apply Knowledge What domain name extension would be used for the official site of the U.S. Supreme Court?
• The exact appearance of a Web page depends on the browser that displays it. • If you enter keywords or phrases into a search engine, it will return a list of related Web pages.
2. Identify three different types of Web browsers. 3. Explain ways in which Web pages may vary when viewed in different browsers.
5. Compare and Contrast Give an example where it would be better to use the Boolean operator AND rather than OR when querying a search engine. Explain your answer.
Apply It! Perform a Keyword Search Use three search engines to conduct a keyword search for the population of the town where you live. Identify which search engine helped you to locate the information the quickest and write a summary of your findings.
Online Basics
77
SECTION 3.3 WEB SITE DEVELOPMENT TOOLS Focus on Reading Read to Find Out This section explains what you need to develop and publish a Web site. Read to find out how Web site development applications make it easy to create Web sites.
Main Ideas
Key Terms
Reading Strategy
The hardware and software needed to develop a Web site depends on the site’s size and complexity. You must have access to a Web server to publish a site. External links let users move between sites.
text editor Web site development application WYSIWYG Web hosting service external hyperlink
List the software, hardware, and connectivity tools needed to create a Web site. Use a chart like the one below (also available online). Web Site Development Tools
Software
Hardware
Connectivity
You need certain hardware and software tools to create a Web site. Hardware requirements often depend on your chosen software.
Software Needs What kinds of software tools are needed to create Web pages?
The software tools you need to create Web sites can be divided into two categories: 1. The applications required to create Web pages themselves. 2. The applications required to create individual Web page components.
Applications for Creating Web Pages You Should Know When using a text editor, you need to view your HTML document in a Web browser to see how your page will look.
Two types of applications are used to create Web pages: text editors (or HTML editors) and WYSIWYG editors. ◆ A text editor allows you to manually key HTML commands into a blank document. While text editors are inexpensive, you must know HTML to create a Web page. Examples of text editors include Microsoft Notepad and WordPad, Macromedia® HomeSite®, HotDog Professional™, Simpletext™, and BBEdit®. ◆ A Web site development application allows you to use a GUI to create a Web page. What you see on the screen is similar to the page’s final appearance. This feature is known as WYSIWYG, which stands for “what you see is what you get.” While they can be expensive and difficult to learn, applications such as Macromedia® Dreamweaver®, and Microsoft FrontPage® make it easy to create complex Web sites without the need to know HTML.
78
Chapter 3
WebDesignDW.glencoe.com
Web Page Component Applications Besides HTML code, Web pages often contain graphics, video, and audio. The Web designer’s toolbox should include applications for creating and modifying all of these components.
Text Applications You can enter text into a Web page by simply typing it in with your keyboard. You can also use a word processing program, such as Microsoft® Word or Corel® WordPerfect®, to create text for a site. You can then paste the document file into your Web page, or save it as a Web file and post it online. Graphics Applications Graphics are vital to most Web pages. Although you may often use premade graphics, you will also want to create your own original graphics or edit existing ones. To accomplish these tasks, you will need a graphics application. Graphics packages let you resize, crop, and change the color of an image. Popular graphics applications include Microsoft® Paint, Microsoft® Photo Editor, Macromedia® Fireworks®, Corel Paint Shop™ Pro®, Mac® iPhoto®, and Adobe® Photoshop®, which is shown in Figure 3.9. Video and Audio Applications You need special applications to manipulate, edit, and play video and audio files. Most recent versions of the Windows and Mac operating systems provide applications, such as Windows Media Player, that you can use to play video and audio files. You can download other players from the Internet. Video editing software includes Adobe® Premiere®, Quicktime®, iMovie®, and Apple® Final Cut Pro®. Audio applications, such as SoundEdit, allow you to edit audio files, increase speed and volume, and filter out background noise.
Figure 3.9 Adobe Photoshop is one popular graphics application. Why do Web designers use graphics applications?
Explain What is a text editor?
Online Basics
79
Table 3.4
Hardware and Connectivity Needs
When you use Dreamweaver or any other software, make sure that your computer meets that software’s minimum system requirements. Why is it important in Web design to have enough video RAM?
What are the basic hardware and connectivity needs of every user?
A computer, a monitor, and a mouse are the basic hardware that you need to create any Web site. Your other hardware needs depend on the types of software tools you use and the complexity of your site.
General System Requirements Table 3.4 shows the general system requirements that a computer needs to run the graphics software typically used to create Web sites.
Overview of General System Requirements Component
Minimum Requirements
Description
Processor
PC: Pentium III 600 MHz chip or faster Mac: Power PC G3 processor 500 MHz
Determines how quickly your computer system can carry out commands.
Enables your computer to perform high-level graphics tasks.
Hard Drive
PC: 275 MB of free space Mac: 275 MB available disk space
Provides extra storage space if RAM gets low.
Video Capabilities
PC: 32 MB of video RAM Mac: 32 MB of video RAM
Determines the speed at which your monitor displays images.
Input and Output Devices Most Web developers use the following input and output devices: ◆ A monitor with a resolution of at least 800 x 600 that is capable of displaying at least 256 colors ◆ A color printer to produce hard copies of Web pages ◆ A scanner and digital camera for graphics ◆ A camcorder, microphone, and speakers for multimedia
Connectivity Needs You Should Know Web hosting services sell server space, usually for a monthly fee.
When you publish a site, you must copy the site’s files from your local hard drive or network server to a Web server. Many people use a Web hosting service to gain access to a Web server. When choosing a Web host, be sure: ◆ It has high-speed lines to upload your Web files. ◆ You are given enough storage space to hold all your Web site files. ◆ There is technical support in case you run into problems. List What input and output devices are usually used when creating a Web site?
80
Chapter 3
Linking to Online Resources How do hyperlinks help users navigate the Web?
Because they allow users to quickly jump from page to page, hyperlinks make it easy to access the Web’s varied resources. In this activity, you will add external hyperlinks to your Hardware Devices site. An external hyperlink takes users to a page on a different Web site.
ACTIVITY 3C Insert External Hyperlinks 1 Open your Hardware Devices site home page in Design view. 2 Locate the text below the digital camera image. Position the insertion point at the end of the text. Press Shift + Enter. 3 Key: Learn more about digital cameras. Select the words digital cameras. Choose Insert>Hyperlink. The Hyperlink dialog box appears. If you do not see the words digital cameras in the Text box, then key them in manually. 4 In the Link box, key the URL: http://www.dpreview.com. 5 Click the Target drop-down arrow. Choose _blank. When a user clicks the link, the www.dpreview.com page will appear in a new browser window. Your dialog box should look like Figure 3.10. Click OK.
Figure 3.10 When users click the selected text, they will go to the link shown in the Link box.
Web page URL Text for link
6 Click at the end of the text under the CD-ROM image. Press Shift + Enter and key: Learn more about CD-ROMs. Select CD-ROMs. With the Insert toolbar in Common view, click Hyperlink. In the Link box, key: http://www.cdrom-guide.com. Under Target, choose _self. When a user clicks the link, the www.cdrom-guide.com page will appear in the same window as the link they clicked. Click OK. 7 Click at the end of the text under the scanner image. Press Shift + Enter and key: Learn more about scanners.. Select scanners and click Hyperlink. In the Link box, key: http://www.imaging-resource.com. Under Target, choose _self. Click OK. 8 Click Save. Choose File>Preview in Browser and select a browser from the available list.
Online Basics
81
9 Test your subpage and external hyperlinks by clicking on them. Note the links change color after they are clicked (see Figure 3.11). Close your browser and any open windows when finished. 10 If the links do not work, close your browser and repeat the actions described in Steps 3 through 5 for each link.
Figure 3.11 The text links appear in color and underlined.
Troubleshooting Since you chose _blank as the target for the digital cameras hyperlink, you should see the Web page in a new browser window. Make sure you close this additional window after viewing the Web site.
Always check to make sure that every external link you add to your Web site is active and current. Explain What is an external hyperlink?
Section 3.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Text editors allow you to enter and edit HTML code.
1. Define text editor, Web site development application, WYSIWYG, Web hosting service, external hyperlink.
4. Compare and Contrast Explain the differences between a text editor and a Web site development application.
2. Describe some of the hardware needs for creating a Web site.
5. Evaluate Resources If you created a Web site about Japan, what three external hyperlinks would you include on your home page?
• Web site development applications provide a WYSIWYG environment. • Web hosting services allow you to publish your site to their Web servers. • External links allow users to jump from one Web site to a different Web site.
3. List the steps you would follow in Dreamweaver to insert a hyperlink into a Web page.
Apply It! Identify Hardware With your teacher’s help, explore your computer’s System Properties to identify the hardware available on your computer. Make a list of your computer’s major hardware devices.
82
Chapter 3
Verifying Your Sources
T
he Internet is a rich resource of information. Unfortunately, you cannot trust everything you read online.
Misinformation on the Web You cannot always be sure that information posted on the Web is trustworthy. For example, the Securities and Exchange Commission has sued individual chatroom participants for lying about various companies in order to drive stock prices up or down. Investors who believe the misstatements often lose money.
Verify Information Online Follow these guidelines to evaluate online information: ◆ Remember facts do not always get checked online. This is especially true in informal settings such as chat rooms or “Web logs.” Check to see when the site was last updated and be prepared to check facts yourself. ◆ Look for reputable sources. Start with the Web sites of major news organizations, encyclopedias, government, and professional organizations.
Look for reputable online sources that check facts, identify authors and sources, and post unbiased information.
◆ Learn to evaluate. View online information with a critical eye, and ask questions. Is the author identified? Could the site be sponsored by someone who is biased? Can you find the same information elsewhere? Trust your instincts. If you feel uncomfortable with any information you find online, discard it and keep digging until you find reliable facts.
1. Evaluate Sources Select a historical event. Locate two online sources that discuss this event. Compare the two sources and evaluate their reliability. What are the positive and negative consequences of easily accessing this type of information on the Web?
2. Identify Bias Much of the information online has a specific bias. Search the Internet to find one example of bias-based information. Report your findings.
Online Basics
83
SECTION 3.4 SOCIAL, ETHICAL, AND LEGAL ISSUES Focus on Reading Read to Find Out This section focuses on social, ethical, and legal uses of material from the Internet. As you read, pay close attention to the key terms Acceptable Use Policy (AUP) and copyright.
Main Ideas
Key Terms
Reading Strategy
Ethical, social, and legal guidelines govern the use of online resources. Users must respect copyright law and trademark rules when using digital resources and cite their sources whenever possible.
Acceptable Use Policy (AUP) Internet Use Agreement Netiquette commercial software shareware freeware copyright trademark
Identify how the software listed can be used. Use a table like the one below (also available online). Commercial Software
Shareware
Freeware
The Internet has influenced the way we communicate, learn, do business, and lead our daily lives. While the Internet offers many benefits to society, it has also created many new ethical and legal issues.
The Internet and Society Activity 3.2 Use Online Resources Ethically Examine the ethics of using online information by visiting WebDesignDW.glencoe.com.
Why are Internet ethics important?
Through the Internet, you can stay in touch with friends and relatives and meet new friends who share your interests. While the Internet helps communications, spending a lot of time at computers can also isolate people. It is important to balance the time you spend online with other activities. The Internet is widely used in personal, school, and business settings. In each of these settings, there is a set of formal and informal rules that online users must follow.
Acceptable Use Policies Many organizations, such as schools and businesses, have an Acceptable Use Policy or AUP (also called an Internet Use Agreement) that regulates online use. Always read such an agreement carefully before signing it. Some common rules include: ◆ Always check with an authorized individual, such as your teacher, before downloading files. ◆ Do not abuse an organization’s e-mail system. Understand which Web sites you are allowed to access. Do not access forbidden sites. ◆ Do not use the Internet for personal reasons if the organization forbids this practice. 84
Chapter 3
WebDesignDW.glencoe.com
Netiquette While there is no fixed set of rules for interacting over the Internet, general guidelines, called Netiquette, have developed over the years. Netiquette encourages users to respect each other when interacting online. This involves treating other online users with courtesy and respecting their privacy. For more Netiquette guidelines, read Etiquette for Digital Communication in the Technology Handbook at the front of this book.
Protecting Your Privacy You cannot always be sure who you are dealing with when you are online. When online, remember that people may not be who they seem. Make sure to follow some guidelines to keep your personal identity private: ◆ Do not tell others your name. ◆ Do not tell others where you live. ◆ If an individual is making you uncomfortable for any reason, tell a parent or other trusted adult. Identify What are some common rules in Acceptable Use Policies?
Protected Information and the Web
Content Many TOUs grant permission to use graphics for personal use (e.g., in a personal Web site). Under this agreement, it is illegal to sell documents that contain these graphics. Always check site rules before downloading graphic files.
What is the purpose of a copyright?
Many Web sites allow you to copy or download text, graphics, and multimedia files or even software to your computer. While it may be easy to copy material from a Web site, it is not always legal. Many files are protected and can only be used under specific circumstances.
Legal Software Use
Table 3.5
Laws govern what you can legally download and how you can use these files. Many Web sites have Terms of Use (TOU) agreements that you must follow when downloading files. Always check these rules before you download and use files from a site. Most software can be categorized as commercial software, shareware, or freeware. These three types of software and their different types of permissions are described in Table 3.5.
Most software can be categorized into one of these three types of software. What is the difference between shareware and freeware?
Software
Usage Guidelines
Examples
Commercial
Copyrighted and intended to be sold for a profit. Cannot be copied or sold to others.
• Microsoft® Office • Macromedia® Dreamweaver® • Most video games
Shareware
Can be downloaded or copied if you pay a small fee to the copyright holder.
• WinZip® • Many online games
Freeware
Can be freely downloaded, copied, and used for any legal purpose.
Copyright and Fair Use Laws Copyrights exist to protect creators of original work. A copyright asserts that only the copyright’s owner has the right to sell his or her work or to allow someone else to sell it. You cannot claim a copyrighted work as your own or use it without permission in a Web site. Copyright laws extend to the Internet, as in the following guidelines: ◆ Intellectual Property Authors, software developers, and musicians all “own” their creative works, which are often referred to as intellectual property.
You Should Know Just because an item does not display a copyright notice does not mean that it is not copyrighted. A work is automatically copyrighted as soon as it is created.
ACTIVITY 3D Add a Copyright Notice 1 Make certain that your Hardware Devices site home page is open in Design view. 2 Press Ctrl + End to move to the bottom of the page. Press Enter. 3 From the Insert menu, choose HTML>Special Characters>Copyright. A copyright symbol is inserted into your page (see Figure 3.12).
Figure 3.12 The copyright symbol is selected after you insert it.
6 Make certain the line is still selected. In the Properties inspector, click the Size drop-down arrow and select 10. 7 If your copyright line is in italics, click Italic to turn off the italics. Your Web site should look similar to Figure 3.13. Save and close the Web site. Press Ctrl + Q to exit Dreamweaver.
Figure 3.13 The copyright notice appears at the bottom of the Web page.
The Hardware Devices Web page includes the basic elements that most Web pages contain—text, graphics, and hyperlinks. In future chapters, you will learn how to enhance a basic page such as this to produce professionallooking sites.
Reliability of Online Resources Anyone with the proper skills and equipment can publish a Web site. Many Web sites contain incorrect, misleading, and out-of-date information. To evaluate the quality of a Web site’s information, ask yourself the questions shown in Table 3.6.
Table 3.6 You should always evaluate the online sources that you use. Why is it important to identify a site’s purpose?
Question
Research
Who are the site’s authors?
Find out who wrote the information on a site. Then use a search engine to see what other works they have written and organizations they belong to.
What is the site’s purpose?
Knowing a site’s purpose can help you to detect bias in the site’s content. Is it maintained by a company that is trying to sell something? Is it sponsored by a particular organization?
Is the Web site current?
Check to see when the site was last updated. If the site contains information that changes over time, then it should be updated frequently.
Is the Web site accurate?
Web sites should cite sources to support their content. Verify a site’s accuracy by looking at other reliable resources, including print books or related Web sites. Online Basics
87
Figure 3.14
Digital Source Citations
Citing sources allows your readers to know that your information is reliable. Why do you think it is important to include the date you visited the site?
When you use information from a Web site, you must cite the source of the information. To use an author’s work without giving that person credit is known as plagiarism, which is illegal. The Modern Language Association (MLA) has guidelines indicating what information you should include when citing online sources. According to MLA style, you should include as many of the items shown in Figure 3.14 as you can.
Author’s name (last name first)
Complete title of the Web site (underlined)
Title of the article or Web page (in quotes)
Date of Internet publication or copyright date
Montoya, Chris. “Citing Sources.” Fairlawn Library Information. May 10, 2005. Fairlawn University. July 8, 2005 <www.flu.edu/library>. Name of the organization
Date you visited the site
Site’s URL (in angle brackets)
Check with your teacher to see if your school requires you to use specific guidelines for documenting your sites. Some schools require students to follow guidelines either by the Modern Language Association (MLA) or the American Psychological Association (APA). Define What does fair use mean?
Section 3.4 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Many organizations require individuals to sign an Acceptable Use Policy.
1. Define Acceptable Use Policy, Internet Use Agreement, Netiquette, commercial software, shareware, freeware, copyright, trademark.
4. Analyze Issues Describe at least two negative issues connected to Internet use.
• Software can be categorized as commercial software, shareware, or freeware. • Copyright law protects intellectual property. • Always cite the source of online information.
2. Explain the differences among commercial software, shareware, and freeware. 3. Describe an example of a fair use of a commercial Web site.
5. Evaluate Ethics A friend says it is not illegal to download online music. She argues that, if it were illegal, music would not be available for free online. Why do you agree or disagree with your friend?
Apply It! Cite Digital Sources Imagine you are doing a written report on Antarctica. Locate three Web sites that you would use to write this report. Write the citations for each of the sites. Include as much information as you can and cite your sources using established methods.
88
Chapter 3
CHAPTER 3
Reading Review
SECTION 3.1 The Internet Key Terms Internet service provider (ISP), 67 protocol, 68 Transmission Control Protocol/Internet Protocol (TCP/IP), 68 Hypertext Transfer Protocol (HTTP), 68 intranet, 70 extranet, 70
■ Tim Berners-Lee created the first GUI browser,
■ ■
■
leading to the development of the Web. The main Internet protocol, TCP/IP, provides a common language for all computers. The Web uses HTTP protocol. Other Internet protocols include FTP, Telnet, Gopher, and WAIS. E-mail, listservs, newsgroups or forums, chat rooms, Internet relay chat, and instant messaging are forms of Internet communication. Intranets and extranets are privately-owned networks.
text editor, 78 Web site development application, 78 WYSIWYG, 78 Web hosting service, 80 external hyperlink, 81
■ Text editors allow you to enter and edit HTML code. ■ Web site development applications provide a
WYSIWYG environment. ■ Word processors, graphics applications, and audio and video applications are used to create Web page elements. ■ Web hosting services allow you to publish your site to their Web servers. ■ External links allow users to jump from one Web site to a different Web site.
SECTION 3.4 Social, Ethical, and Legal Issues
SECTION 3.2 The Web Key Terms uniform resource locator (URL), 71 domain name, 72 domain name extension, 72
Main Ideas ■ Most URLs consist of a protocol, an address, a
directory path, and a retrieved file. ■ The exact appearance of a Web page depends on the browser that displays it. ■ Examples of Web browsers include Microsoft Internet Explorer, Netscape Navigator, America Online, Opera, Mozilla, Lynx, and Safari. ■ If you enter keywords or phrases into a search engine, it will return a list of related Web pages.
Key Terms Acceptable Use Policy, 84 Internet Use Agreement, 84 Netiquette, 85 commercial software, 85
Main Ideas ■ Businesses, schools, and organizations may require
individuals to sign an Acceptable Use Policy (or an Internet Use Agreement). ■ Software can be categorized as commercial software, shareware, or freeware. ■ Copyright law protects intellectual property from being used without author compensation. ■ Always cite the source of online information.
Online Basics
89
CHAPTER 3
Review and Assessment
AFTER YOU READ Reading Speed Turn back to Section 3.1. Make a note on a separate piece of paper of those sections or paragraphs that took you longer to read or that you read twice. Make brief notes about the content. As you study for a quiz or test, give the noted sections extra attention. If you still feel you do not understand the material, ask your teacher or a classmate for more explanation.
Reviewing Key Terms 1. Which of these is NOT a protocol used on the Internet: TCP/IP, FTP, HTML, Telnet? 2. What is the difference between the Internet, an intranet, and the World Wide Web? 3. What does the abbreviation “URL” stand for? 4. Rewrite the following sentence to make it true: In the URL www.uiowa.edu, the .edu portion of the domain name is the domain name index. 5. Explain how a search engine differs from a Web directory. 6. What two categories of application software are used in developing Web sites? 7. What is a Boolean search? 8. What does WYSIWYG stand for?
Understanding Main Ideas 9. Summarize how the TCP/IP protocol works on the Internet. 10. Describe situations in which each of the following might be useful: an FTP site, a listserv, a newsgroup. 11. Compare and contrast domain name addresses and IP addresses. 12. Summarize why it is important to test a Web page in different browsers. 13. Explain the function of the Boolean operators AND, OR, and NOT. 14. Identify at least three ways you can protect your privacy while you are online. 90
Chapter 3
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
15. Identify each component of the following URL and explain each one’s purpose: http://www.redcross.org
16. List the seven essential elements to be documented when you cite the use of a Web site. When applicable, note how that element should be formatted. Element
Formatting
(example)
(example)
1. Author’s name
1. Last name first
Critical Thinking 17. Describe intellectual property and its relationship to copyright laws and fair use laws. What is the difference between a copyright and a trademark? 18. Evaluate Information Why is it important to include the date on which you accessed a Web site in the site’s citation? 19. Draw Conclusions If the URL http:// www.noaa.gov/satellites takes you to the National Oceanic and Atmospheric Administration’s Satellite page, where do you suppose the URL http://www.noaa. gov/ takes you? Explain your answer. 20. Make Predictions Do you think the illegal downloading of music without paying for it will increase or decrease over the next few years? Explain your answer. 21. Analyze Identify the general system requirements that a computer needs to run graphics software. Describe why each requirement is important.
Review and Assessment
CHAPTER 3
22. Cause and Effect What difficulties might you have creating a Web site if you had a slow processor, low RAM, or limited hard drive space? Use a graphic organizer like the one shown below to explain your answer for each cause. Cause
Effect
(example) Slow Processor
➠
23. Analyze Information When might you want to use a text editor instead of a Web site development application? 24. Evaluate Information How can identifying the author and/or sponsor of a site help you determine whether or not information on that site is biased? 25. Draw Conclusions Why might some users prefer to use shareware instead of commercial software? Use the diagram below to explain your answer.
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
26.
+
+ +
The Internet, intranets, and extranets all use TCP/IP and require the same hardware, including communication lines, servers, and routers. All three networks can also be accessed using standard Web browsers. The differences between the three networks lie in how they are used, who owns them, and who is allowed to access them. While the Internet is accessible to everyone, intranets and extranets are owned by the organizations that create and maintain them. According to the paragraph, which of the following statements is true? Intranets are private, while extranets are public. Intranets require different servers than extranets. People can use the same browsers to access an extranet as they use to access the Internet.
WebDesignDW.glencoe.com Study with PowerTeach Go to the book Web site shown above. To review the main points in this chapter, select e-Review>PowerTeach Outlines>Chapter 3.
Result
Online Self Check Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 3.
27.
+
Result
28.
+
Result
WebDesignDW.glencoe.com
Read the paragraph below and then answer the question.
The Internet uses public communication lines, but intranets and extranets use private communication lines.
Commercial Software
Shareware
Reading & Writing
Online Basics
91
CHAPTER 3
Activities
1. MAKING CONNECTIONS Social Studies—Perform an Online Search Use the Internet to research the history of a telecommunications technology that is an important part of your life (the Internet, the Web, cell phones, personal computers, e-mail, etc.) ◆ Describe the history of the technology. ◆ Begin with how and why it was created. ◆ End with a description of the product and its importance today. ◆ Include at least six significant dates. You can create your history as a timeline or a short chronological essay. To locate information, use a keyword or Boolean search on at least two different search engines. Evaluate and cite your sources.
2. STANDARDS AT WORK Students practice responsible use of technology systems, information, and software. (NETS-S 2)
Understand Copyrights and Trademarks The software you use is protected by both trademarks and copyrights. A trademark protects the brand name of the product. For example, Macromedia is a trademarked name and if you use it for commercial reasons, you must get permission. Macromedia also has copyrights on its software and software code. When you purchase a program like Dreamweaver, you are getting permission to use the software, but you do not actually own it. Read the Terms of Use Web page from the sites of three large software companies such as Macromedia or Microsoft. ◆ Use a table to compare the Terms of Use listed on the three sites. In your table, list what is similar on all three sites and what is different. Are the terms for each site the same, or are they different? ◆ Select one term of use that is found on all three sites. Explain why you think this one term is important to all three companies.
92
Chapter 3
CHAPTER 3
Activities
3. TEAMWORK SKILLS Evaluate Internet Service Providers Working in a small group, research three Internet service providers (ISPs) to learn about the services that they offer to individuals and businesses and the prices they charge for these services. If possible: ◆ Research an ISP in your local community so that you can compare their services to larger regional or national services. ◆ Ask you teacher which ISP your school/district uses. Research that ISP to learn about its various services and prices. Create a chart based on the information that you learn. The chart should be similar to the one shown below.
ISP NAME
SERVICES FOR INDIVIDUALS
SERVICES FOR BUSINESS
PRICES FOR SERVICES
After you have completed the chart, analyze your information. Identify the ISP that your group believes offers the most value for individuals. Then, using the information that your group has gathered, compare the ISP you selected to what is offered to your school or district. Is the ISP you selected the same one used by your school, or is it different? If different, what services are the same for both ISPs, and what are different? Why do you think you chose one ISP, and your school chose a different ISP? Explain your reasoning.
4. CHALLENGE YOURSELF Internet Puzzle Use Boolean and keyword searches to find the answers to the following clues. Then, use the first letter of each answer to solve the riddle below. 1. This era of human history is usually divided into the Paleolithic, the Mesolithic, and the Neolithic periods. 2. This country in South America is bordered by Colombia, Peru, and the Pacific Ocean. 3. This is the Spanish word for the color red. 4. A peace treaty ending World War I was signed in this French castle. 5. The land between this river and the Tigris River is often referred to as “the cradle of civilization.” 6. The lead singer of this popular sixties rock group is Mick Jagger. RIDDLE: What is the name of a type of powerful computer? Online Basics
93
CHAPTER 3
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Search for Information Online Find information about a famous person. With your teacher’s permission, perform a Boolean search to identify the person who your school, town, or county is named after. Or, perform a search to identify a famous person who is from your town or local area. Perform another Boolean or keyword search to find an informative Web site about this person. Make a list of the URLs that you have located. For each URL, cite your digital source using established guidelines.
2. Create a Web Page with External Links
94
Use the information gathered in Exercise #1 to create a Web page about your famous person. Start Dreamweaver. On the Start page, choose HTML from the Create New column. Create a new site named Famous Person. In the Properties inspector, select Page Properties. In the dialog box, select an appropriate background color. Key the appropriate heading for your subject. The example here shows My School’s Name. Format the heading using the Heading 1 option from the Text Format list. Key an introduction and the name of the person you researched. Format the name using Heading 3. Key three to five facts about your person. Format these facts as an unordered list. Use the URLs you located in Step C of You Try It Skills Studio Exercise #1 to create external hyperlinks on your page. Link the name of your famous person to an external Web site that provides additional information about that person. Add a copyright notice to the bottom of the page. Proofread your work to find and correct any errors. View your page in at least two browsers to make sure it displays properly in both.
Chapter 3
CHAPTER 3
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Use Online Resources Research the history of the Internet and of the Web. Write a short report or create a presentation based on your findings. In your report or presentation: ◆ Summarize how the Internet and the Web have evolved. ◆ Then, identify one current issue related to the use of online resources (for example, the issue of online privacy). ◆ Evaluate how your chosen issue has affected society either positively or negatively. Provide two or three examples to support and illustrate your evaluation. ◆ Describe potential solutions to reduce the negative effects of the issue.
2. Evaluate Software Research the Web site development applications that are currently available. For example, use the Web or software catalogs to learn more about the following software: ◆ Macromedia Dreamweaver ◆ Microsoft FrontPage ◆ Adobe GoLive ◆ HoTMetaL Pro Create a table like the one below to compare and contrast these different applications. In your table, note the system requirements, features, and price for each specific application. Compare and contrast your findings. Finally, predict which individuals or organizations might choose to use each application to complete specific tasks.
WEB SITE DEVELOPMENT APPLICATION
SYSTEM REQUIREMENTS
FEATURES
PRICE
Online Basics
95
CHAPTER
4
HTML Basics
YOU WILL LEARN TO… Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create lists using HTML View an HTML document Section 4.3 Insert images using HTML Insert links using HTML Debug and test a Web page Section 4.4 Re-create an existing HTML document in Dreamweaver Test a Web page in Dreamweaver
WHY IT MATTERS ................................................. Many people drive their cars every day without knowing exactly how the car works. While you can drive a car without understanding its mechanics, it is useful to understand what is happening under the hood—especially if the car breaks down. Likewise, while HTML code is the basis of all Web pages, you can create a Web site without knowing any HTML at all. Still, knowing HTML is useful— especially if you need to correct or modify the code used to create your page. Think about a mechanical object that you use every day. Do you understand how it works? If so, summarize how it works and explain how this understanding helps you use the object. If you do not understand how the object works, then evaluate how developing this understanding could help you use it.
96
Chapter 4
CHAPTER
4
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 4.1 Write HTML Code ........................ 4.2 Create an Ordered List .............. 4.3 Insert an Image ......................... 4.4 Change Colors ............................ You Try It Activities HTML Activities 4A Create Folders to Organize a Site ........................................... 4B Create and Save an HTML Document ................................... 4C Add Color and Format Text ....... 4D Create an Unordered List ......... 4E View HTML in a Browser............ 4F Insert an Image ......................... 4G Insert Absolute Links ................ 4H Test an HTML Document ............ Dreamweaver Activities 4I Create and Format a Page ........ 4J Add Headings and Unordered Lists ......................... 4K Insert a Graphic and Links ....... 4L Test a Web Page .........................
101 108 114 122
102 104 106 107 108 110 112 113
117 118 120 122
Chapter Assessment Making Connections ......................... Standards at Work ............................ Teamwork Skills ................................ Challenge Yourself ............................
126 126 127 127
You Try It Skills Studio Create a Home Page Using HTML ..... 128 Create a Links Page Using HTML ...... 128 Web Design Projects Create a Home Page Using HTML ..... Add Pages in Dreamweaver ............. Evaluate Technology Resources ....... Create a Web Page Using HTML........ Create a Community Web Site ..........
129 129 130 130 131
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Create Memory Tools Successful readers use “mind tricks” to help them remember. An old but proven strategy is to make associations with new ideas you are learning. For example, the term WYSIWYG (wiz-zee-wig) stands for “What You See Is What You Get” and illustrates the concept of a computer application that lets you see on the monitor exactly what appears when the document is printed. As you read the chapter, look for opportunities to make up your own memory tools.
WebDesignDW.glencoe.com
HTML Basics
97
SECTION 4.1 HTML CODING Focus on Reading Read to Find Out The main purpose of this section is to explain Hypertext Markup Language (HTML), which is the code that is used to create Web pages. As you read, pay close attention to how HTML tags work.
Main Ideas
Key Terms
Reading Strategy
An HTML document is composed of instructions, or tags. These tags tell Web browsers how to display the content contained in a Web page. The World Wide Web Consortium establishes guidelines and standards for using HTML.
Hypertext Markup Language (HTML) HTML tag starting tag ending tag nested tag empty tag source code
List four types of tags and give examples of each. Use a table like the one below (also available online). Types of Tags
Example
Hypertext Markup Language, or HTML, is the code used to create Web pages. Knowing HTML will help you understand how Web site development applications like Dreamweaver work. And it will help you customize pages created in Dreamweaver.
HTML Tags How can I use HTML code to create a Web page?
You create Web page documents by inserting HTML tags into a text document. An HTML tag consists of text that appears between two angle brackets (< >). This text tells the Web browser how to display a page’s content. You can use a text editor to enter HTML code into a text document, or you can use a Web site development application like Dreamweaver to automatically create the HTML code for you. See Appendix B for a complete list of the HTML tags and their functions.
Tag Sets HTML tags often come in pairs that are called tag sets. Each pair includes a starting tag (also called an opening tag) and an ending tag (also called a closing tag). These tag sets tell a browser where formatting should start and end. A forward slash in the brackets indicates an ending tag. This example shows a tag set that makes text bold. <STRONG>very Starting tag
98
Chapter 4
Ending tag
WebDesignDW.glencoe.com
The HTML tags below format the sentence as a paragraph, display the word “very” in italics, and format the word “HTML” in bold:
It is <EM>very important to carefully proofread your <STRONG>HTML code.
If the above code were placed in an HTML document and displayed in a Web browser, it would appear as shown in Figure. 4.1. Notice that you do not see the HTML tags in the browser. The tags tell the browser how to display the information between the tags, but they themselves are not shown.
Figure 4.1 This example shows text that was formatted using several HTML tags. How would you alter the code to make the word “very” bold?
Nested Tags Nesting refers to the order in which HTML tags appear. A nested tag is a tag enclosed inside another set of tags. In the example above, the italic tag set (<EM>) and the boldface tag set (<STRONG>) are nested within the paragraph tag set (). When you nest tags, make sure you close the tag when you want that formatting to stop. In the example below, the Web browser will keep formatting text as bold <STRONG> until it comes to an end tag that tells it to stop . Tags should close in reverse order of how they were opened, so the last tag you open will be the first tag to be closed.
<STRONG>very
Empty Tags While most HTML tags are used in pairs, some are not. A tag that requires only an opening tag is called an empty tag (sometimes referred to as an orphan tag). Some common empty tags include: ◆ the tag (used to add a line break). ◆ the tag (used to insert a horizontal line). ◆ the tag (used to insert an image). For example, to add a line break, enter . Or insert a horizontal line with the tag. Both of these tags are empty and have no closing tag. Identify What are tag sets?
HTML Basics
99
HTML Guidelines and Standards Why is it important to follow W3C specifications?
Activity 4.1 Use HTML Tutorials Learn more about HTML guidelines by accessing online tutorials at WebDesignDW.glencoe.com.
The World Wide Web Consortium (W3C) releases specifications, called recommendations, on HTML and other languages used on the Internet. At the W3C Web site, you can read the complete specifications for the most recent version of HTML (at the time of writing, this version was HTML 4.01). The specifications developed by the W3C help ensure that Web designers create pages that can be displayed by any browser or browsing device that also follows these specifications. You should therefore follow these specifications when creating HTML code so that your Web pages can be viewed by as many people as possible.
HTML and Spacing Understanding basic guidelines for using HTML code will help you see the relationship between the code you write and what you see in the Web browser. For example, HTML documents display a single space between words. If you use the space bar, Tab key, or Enter key to add spaces between words, you will not necessarily see those spaces in your Web page in your browser. Look at the following lines of HTML code. <STRONG>HTML code <STRONG>HTML <STRONG>
code HTML code
Notice how the space between the words “HTML” and “code” is different in each line. However, when displayed in a browser, each line of text looks the same, as shown in Figure 4.2.
Figure 4.2 Extra spaces between elements in an HTML document will not display in a Web browser. How would the text in the third line of code display if you reduced space between the <STRONG> tag and HTML in the code?
HTML and Case Sensitivity HTML tags are not case sensitive. This means that browsers do not care whether a tag is in uppercase or lowercase letters (see below). A browser will read the tag <STRONG> and <strong> the same way. The W3C’s specifications for HTML 4.01 state that all tags should be uppercase. 100
Chapter 4
WebDesignDW.glencoe.com
Viewing Source Code You can see the HTML commands used to create any Web page by viewing its source code. A Web page’s source code is the text and HTML elements used to create that page. In most browsers, you can see the source code by selecting either Source or Page Source from the View menu. In Dreamweaver you can see the source code by selecting the Code view button in the Document toolbar. Dreamweaver also offers Split view, which allows you to see both the Web page and its source code on the same screen.
XHTML Extensible Hypertext Markup Language (XHTML) will soon replace HTML as the Web’s main markup language. Developed by the W3C, XHTML is a hybrid of HTML and Extensible Markup Language (XML). The advantage of XHTML is that pages written in the language can be read by many different platforms. While XHTML is very similar to HTML, it does follow some different specifications. ◆ XHTML documents must start with a Document Type Definition or DTD (you will learn more about DTDs in the next section). ◆ XHTML is case sensitive and all tags and attributes must be lowercase. Mixing uppercase and lowercase tags could lead to errors. ◆ In XHTML, all attributes must be in quotes and include values. ◆ In XHTML, ending tags are required with a few exceptions. Explain How can you see the HTML tags of any Web page?
Section 4.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• HTML tags tell the Web browser how to display a Web page’s content.
1. Define Hypertext Markup Language (HTML), HTML tag, starting tag, ending tag, nested tag, empty tag, source code.
4. Evaluate Why is a basic understanding of HTML an important skill for a Web designer?
2. Name four types of HTML tags and explain each one’s purpose.
5. Analyze Why must you be careful to include all end tags when using HTML? What would happen if you forget to include an end tag in your code?
• You can use tags such as <STRONG>, <EM>, and
to format text. • You can nest tags within one another. • While most tags are used in pairs, some tags are empty tags. • The World Wide Web Consortium (W3C) provides specifications for HTML.
3. Explain how to view the source code of a Web page in Dreamweaver.
Apply It! Write HTML Code Write the HTML code to display the following sentence in a Web browser. Be sure your code formats the sentence as shown: HTML code allows information to be displayed in a Web browser.
HTML Basics
101
SECTION 4.2 USING A TEXT EDITOR Focus on Reading Read to Find Out This section discusses how to use a text editor to create a Web site. Read to find out how Web designers use HTML tags to format text and create lists on Web pages.
Main Ideas
Key Terms
Reading Strategy
You can use a text editor to create text documents that can be displayed in a Web browser. These documents must contain HTML commands. Always organize your folders and files carefully when creating a Web site.
file name extension attribute ordered list unordered list
Compare and contrast ordered and unordered lists. Use a Venn diagram like the one below (also available online). Ordered List
Unordered List
In this section, you will use the text editor Microsoft Notepad to create an HTML document. (Notepad is part of the Microsoft Windows OS) Structure It is good practice to create a folder for your Web site before you define the site. You can then create subfolders for the site’s images and pages within this main folder.
Organizing Files and Folders Why is it important to organize a Web site’s files?
Every Web site is composed of folders and files. When you define a new Web site in Dreamweaver, the program can automatically create a folder for you if one does not exist. When you use a text editor, you must manually create all of the folders that will hold your Web site’s components. It is essential that you keep your Web site’s files organized. When you add graphics and create hyperlinks in an HTML document, you must include instructions that tell the Web browser which file to access and where to find it. Having well-organized files makes it easier to add this information to your HTML document.
ACTIVITY 4A Create Folders to Organize a Site 1 Identify the location where you are storing your Web sites. Ask your teacher for help if needed. 2 In your general folder, create a new root folder named MySkills1. 3 In the MySkills1 folder, create a folder named images. You will store the images for the MySkills1 Web site in this folder. 4 Locate the DataFiles\Ch04\Images folder. Copy the data file p_border.gif into the images folder you just created.
Describe What do you store in a Web site’s images folder? 102
Chapter 4
WebDesignDW.glencoe.com
Using Notepad What are the three main parts of an HTML document?
Using Notepad is like using a word processing application. However, unlike word processors, Notepad does not contain toolbars and other features.
Creating an HTML Document in Notepad An HTML document has three main parts: the Document Type Definition (DTD), the header, and the body. These three parts are shown in Figure 4.3. Document Type Definition (DTD)
Start HTML
Header
Figure 4.3 Most HTML documents have a basic structure similar to the one shown here. What is the function of the tag?
<TITLE>DOCUMENT TITLE
Body
CONTENT
End HTML
A DTD specifies what version of HTML is used in your page. The tag tells the browser to interpret every tag as HTML code until it reaches the tag. The tag set, or header, provides information to the browser about your page, such as its title and author. This information is used to catalog the page and does not appear in the browser. The page’s title is displayed in the browser’s title bar, and not on the Web page itself. The tag set encloses the code for the content you see displayed in the browser’s window. Most HTML documents only contain one header tag set, and one body tag set.
Saving an HTML Document in Notepad There are some guidelines you should follow when naming and saving your Web site’s files.
Naming Files Keep your file names descriptive but relatively short. Use the underscore character to indicate a blank space between words in a file name. For example, name a file contact_us.html, rather than contact us.html. It is also a good idea to use only lowercase letters when naming files. Choosing File Extensions A file name extension tells the computer what type of file it is reading. Notepad automatically saves all files as text files with the extension .txt. Since Web browsers cannot read this extension, you must change it to an .html extension when you save an HTML document.
You Should Know While you can also save an HTML file with an .htm extension, it is recommended that you use .html instead. This is because some older computers will not recognize .htm, while .html is recognized by almost every server operating system.
HTML Basics
103
ACTIVITY 4B Create and Save an HTML Document 1 From the Start menu, select All Programs (or Programs)> Accessories>Notepad. 2 In Notepad, key the text shown in Figure 4.4. Leave blank lines as indicated so you can add more HTML code later. 3 Choose File>Save. In the Save As dialog box, browse to the MySkills1 folder and open it.
Figure 4.4 These tags form the basic structure of an HTML document.
4 In the File name box, key: skills1.html. Click the Save as type dropdown arrow and select All Files (this allows you to save an .html file in Notepad). Your dialog box should look like Figure 4.5. Click the Save button to save your file.
The file will be stored in the MySkills1 folder.
Figure 4.5 Always verify that you are saving the file to the correct folder and as the correct type of file.
The file extension must be .html or .htm.
Identify What is the function of a DTD?
Adding Attributes Using HTML How can attributes enhance a Web page? Shortcut To enter a left angle bracket (<), press Shift + the comma key. For a right angle bracket (>), press Shift + the period key.
104
Chapter 4
Some HTML tags can contain properties, or attributes. An attribute is an instruction that further specifies a tag’s characteristics. Attributes allow you to assign colors, styles, and alignment to a page. You place attributes in opening tags. The attribute has a name, an equal sign (=), and a descriptor that must appear in quotes to conform to HTML specifications. The attribute must also be lowercase to meet specifications.
Font Color Attributes In HTML, you use the attribute color to change the text’s color. The descriptor then specifies which color to use. In the following example, the attribute color=“green” will make the word grass appear green in a Web browser. When viewed in a browser, the code will look like Figure 4.6.
They say the grass is greener over there.
Figure 4.6 The browser interprets the HTML code and places the word “grass” in green. What would happen if the tag were moved and placed after the word “greener”?
The easiest way to specify a color is to use one of 16 named colors, such as red, blue, white, or green. You can also use one of the 216 hexadecimal colors (see Appendix C for a complete list of named and hexadecimal colors). In this system, each color is represented by a six-character number/letter combination. In the current HTML standards (the standards followed in this chapter), the letters in a hexadecimal color are capitalized, while in XHTML coding, they are lowercased.
Background Color Attributes You can use one of the 16 named colors or a hexadecimal color to specify a page’s background color by adding attributes to the tag. The following tag uses the attribute bgcolor to make the background color green. Attribute name
Hexadecimal color
Heading Tags and Alignment Attributes Headings break text into short, readable sections. In this book, you will notice different sized headings. In HTML coding, you can define six heading levels by using the tag sets for the largest heading, for the next largest heading, and so on to . All text on a Web page automatically aligns to the left margin. To change the alignment of your text or headings, you can add the align attribute, as follows:
You Should Know The align attribute does not work with the tags or <STRONG>. This is because those tags change the style of the text, but not the alignment.
HTML Basics
105
ACTIVITY 4C Add Color and Format Text Using HTML 1 To open your skills1.html document, open Notepad and choose File>Open. Under Files of type, select All Files.
Troubleshooting When opening an HTML file in Notepad, make sure you select All Files. Otherwise, files with an .html or .htm file extension may not appear in the dialog box.
2 To add the background color yellow to the page, edit the opening tag so that it appears as follows: . 3 Move the insertion point to the line below the body tag. To create the blue heading for the page, key:
Web Design Skills
. 4 Press Enter twice. To create the first dark blue subheading, key:
Skills I Already Have
. 5 Press Enter twice. To create the second dark blue subheading, key:
Skills That I Will Learn
. 6 Select File>Save to save your document.
Define What is an attribute?
Creating Lists Using HTML What is the difference between an ordered and an unordered list?
Lists help make text easier to read and add visual interest to a page. Lists can also help readers identify key points on a page more quickly.
Types of Lists There are two types of lists (see Figure 4.7): ◆ An ordered list displays items that must appear in a particular sequence, such as the steps required to complete a task. Use the tags to create an ordered list. ◆ An unordered list contains items that can appear in any order. Use the tags
to create an unordered list. When you create either an ordered or an unordered list, each item in the list is contained within the tags .
Figure 4.7 Because numbers precede each item in an ordered list, these lists are often called numbered lists. A bulleted list is an example of which type of list?
106
Chapter 4
Ordered List
Unordered List
1. Open Notepad.
■
Starting tags
2. Enter HTML code.
■
Ending tags
3. Save the file.
■
Nested tags
ACTIVITY 4D Create an Unordered List Using HTML 1 Open your skills1.html document in Notepad. Position the insertion point at the end of the line that includes the text Skills I Already Have. Press Enter. Key:
. Press Enter. 2 Enter the code for the first unordered list (see Figure 4.8). Press Enter after keying each item. 3 Key
to indicate the end of the first unordered list. 4 Position the insertion point at the end of the line that includes the text Skills That I Will Learn. Press Enter. Key:
. Press Enter. Key the code for the second unordered list (see Figure 4.8). Press Enter after keying each item.
Troubleshooting As you enter code into Notepad, be sure to proofread your work carefully. Missing elements or misspelled HTML tags can cause your Web page to display incorrectly.
5 Key:
to indicate the end of the second unordered list. Select File>Save. Your document should look like Figure 4.8. 6 With your teacher’s permission, select File>Print. In the Print dialog box, click Print. Carefully proofread the printed document. Make needed corrections and save again. Ask your teacher how you should include your name in the document. Save and close your document.
Figure 4.8 Make sure that each item in the unordered list has an opening and ending tag.
First unordered list
Second unordered list
Identify What are the tags for the two types of lists?
HTML Basics
107
Viewing an HTML Page How can you view a Web page created in a text editor?
When you use a text editor, you cannot see how your page will appear in a Web browser while you are creating it. Instead, you must save the HTML document and then view it in a browser. If you need to make changes, reopen the page in Notepad, make corrections, resave it, and then reopen the file in the browser.
ACTIVITY 4E View HTML in a Browser 1 Start your Web browser. Select File>Open (or Open File). Browse to your MySkills1 folder. Select skills1.html and click Open. 2 Click OK. Your code is translated into a Web page (see Figure 4.9). Select View>Source to view your page’s source code. Close your browser.
Summarize Why do you have to view a page created by a text editor in a browser?
Figure 4.9 HTML document viewed in a Web browser.
Section 4.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• When creating a Web site, organize its files and folders so that you can easily locate various page components.
1. Define file name extension, attribute, ordered list, unordered list.
4. Analyze Why should you have a specific plan when organizing your Web site’s files and folders?
2. Discuss two guidelines for naming files.
5. Compare and Contrast When is it better to use an unordered list? An ordered list? Give examples and explain your choices.
• Attributes within HTML tags specify characteristics such as font colors. • To view the Web page you created in a text editor, you must open it in a Web browser.
108
Chapter 4
3. Explain why an HTML file must have an .html extension.
Apply It! Create an Ordered List Using Notepad, create an ordered list of your five favorite books with your most favorite book listed first. With your teacher’s permission, print your Notepad document and then print the page from a browser.
SECTION 4.3 ENHANCING AND TESTING YOUR HTML PAGE Focus on Reading Read to Find Out This section explains how to enhance a Web page by using HTML to insert graphics and links. Pay close attention to the HTML tags that are used to create these links.
Main Ideas
Key Terms
Reading Strategy
Use image tags to insert graphics using HTML. You can create links by using an anchor tag to specify the clickable area. A link can be absolute or relative. Web pages must be tested.
anchor tag text link graphic link relative link absolute link debugging testing
Compare and contrast absolute and relative links. Use a chart like the one below (also available online). Absolute Links
Relative Links
You create Web pages in stages. Adding new components one at a time allows you to correct errors as you go.
Adding Images Using HTML How does an image tag work?
You use the image tag to insert an image into a Web page. When a browser loads the page, the tag locates the image and displays it in the browser. An image tag contains five common attributes: ◆ src: specifies the source location of the image. ◆ alt: gives the browser an alternative text message to display if the image is missing.
You Should Know When creating an image tag, you should always use the src and alt attributes. The align, border, width, and height attributes are optional.
◆ align: wraps text around the image. ◆ border: places a border around an image. ◆ width and height: specifies the image’s width and height. src
alt
align
border
WebDesignDW.glencoe.com
width and height
HTML Basics
109
ACTIVITY 4F Insert an Image Using HTML 1 Open your skills1.html page in Notepad. 2 Position the insertion point at the end of the
heading and press Enter. The insertion point should be positioned as shown in Figure 4.10.
Figure 4.10 Position your insertion point as shown in the figure.
Insert image tag here
3 Key the following to insert the border graphic stored in your Web site’s images subfolder: . Save your document.
List What are the five common image tag attributes?
Inserting Links Using HTML What type of links can be inserted into a Web page?
Hyperlinks can be categorized as external, internal, or intrapage, depending on where they send the user. You use anchor tags to insert links into an HTML document.
Using Anchor Tags An anchor tag identifies what is clicked on and where the link takes the user. The tag set is used to create all links. This tag set uses the href attribute (short for Hypertext Reference) to tell the Web browser where it needs to link to. The attribute contains hyperlink information that directs a Web browser to a new file or Web site.
Text and Graphic Links Hyperlinks can also be categorized according to how users activate the link. For example, you can make any text or image into a hyperlink. In Figure 4.11 on the next page, both the text link and the graphic link will take you to the Century Public Library home page.
110
Chapter 4
Figure 4.11 HTML allows you to create links that have text or graphic anchors. Why would you use a graphic link instead of a text link?
Text link Graphic link
Text Links A text link is text a user clicks to activate a hyperlink. For example, the following code tells the browser to display the text “Century Public Library” as a hyperlink: Century Public Library
Graphic Links A graphic link is an image a user clicks to activate a link. The anchor tag for a graphic link identifies the image users must click to activate the link. For example, in the code below, users must click the book.gif graphic to activate the link to the Century Public Library. The anchor tag for this link contains a nested image tag:
Relative versus Absolute Links Text and graphic links can be categorized as either relative or absolute.
Relative Links The code used to create a relative link contains the name of the file being linked to. For example, in the relative link below, users must click the text More Design Tips to go to the Web page file design_tips.html. A relative link only works if the document being linked to is in the same Web site folder as the document containing the link. The link is relative because it links pages within the same Web site. As long as the Web site’s file structure does not change, the relative links will work. It is a good idea to use relative links when linking to files within a Web site. More Design Tips
WebDesignDW.glencoe.com
Activity 4.2 Identify Absolute and Relative Links Learn more about absolute and relative links by visiting WebDesignDW.glencoe.com.
HTML Basics
111
Absolute Links The code used to create an absolute link contains the complete URL or path of the file being linked to. For example, the links to the Century Public Library are absolute links because they contain the complete URL for the library’s Web site. An absolute link requires the full file path because it absolutely must follow this path to link to the file. External links (links to objects outside a Web site) are often absolute links.
ACTIVITY 4G Insert Absolute Links Using HTML 1 Open your skills1.html page in Notepad. 2 Place the insertion point at the beginning of the closing tag. Press Enter twice. Place the insertion point above the tag. 3 Key:
<STRONG>Here are some additional links on Web design and related topics:
Figure 4.12 The links appear at the bottom of the Web page.
5 Press Enter. Insert this link: Indiana University Webmaster. 6 Save your Web page. It should look similar to Figure 4.12.
Links inserted here
Describe What is the difference between absolute and relative links?
112
Chapter 4
Testing a Web Page Why is it important to test Web pages?
Debugging refers to locating and correcting any obvious errors in your code. You should try to debug your work regularly as you build your sites. A number of applications have been developed to debug HTML code. These applications are called HTML validators. With an HTML validator, you submit your HTML file and, if the code contains errors, the validator generates an error list. The World Wide Web Consortium Web site offers a validator for checking Web page code. With your teacher’s permission, you can use this validator to check your own HTML documents. Testing involves checking the page to make certain that it displays as designed. Test your site in both Internet Explorer and Netscape Navigator and in any other browser you think your audience may use. Always double check that links work properly. External links are particularly important to check because sometimes pages get removed from the Web or their URLs change.
ACTIVITY 4H Test an HTML Document 1 Open your skills1.html file in your browser. Your screen should look similar to Figure 4.13.
Figure 4.13 The finished Web Design Skills page as displayed in Microsoft Internet Explorer.
HTML Basics
113
2 Check the following items: ◆ Does the text contain any spelling errors? ◆ Do the headings display properly? ◆ Does the image appear in the correct location? ◆ Do bullets appear in front of each item in the unordered lists? ◆ Does each link work properly?
3 If you need to make corrections, first close your browser, then open the page’s file in Notepad. Analyze the source code to locate the errors. Fix any errors that you identify. Save the file. 4 Test the page again in a Web browser. Open your page in other browsers if possible. Check the items in Step 2. Make any corrections. 5 Save the file, and test the page again. 6 Be sure to view the page in as many browsers as possible. Also try to view the page on different operating systems.
You have used a text editor to create a simple Web page. When you know HTML code, using a text editor can be an inexpensive way to develop a basic Web site. Summarize What does it mean to debug code?
Section 4.3 Assessment Reading Summary • The tag inserts
a graphic into a page. Always include the src and alt attributes.
5. Evaluate Links When should you use an absolute link? A relative link? Give examples and explain your choices.
Apply It! Insert an Image Write the HTML code to insert an image named frame.gif into a Web page. The image file is stored in the site’s images folder. Center the image and include an alternate text message to display.
Web Languages
W
eb designers who wish to do more than simply display text and graphics need tools beyond HTML. Newer Web languages are enabling designers to create Web pages that can perform complicated and meaningful tasks.
Extensible Markup Language (XML) Whereas HTML tags only format documents, XML uses tags that let the computer identify what the information is. In this way, XML documents function more like databases than like traditional documents. For example, if you are searching HTML pages for someone named “Bill,” you might also find pages on congressional bills, electricity bills, duck bills, etc. Searching XML documents for tags that contain the word Bill would give you better results.
XML tags can be used to make text readable across many applications and platforms.
XML is changing the way business is done on the Web. Multiple computers are more easily able to connect and work from different locations. Because XML-tagged documents can identify each piece of information, Internet searches are also smarter.
JavaScript (Java) JavaScript is a computer programming code that is read by a built-in interpreter inside an Internet browser. This means it can be used to manipulate and interact with elements on a Web page. While JavaScript is currently used for simple tasks, such as checking form data for validity, or serving as the connector between different technologies, its crossplatform design is changing the world of technology. Integrated cell phones, PDAs, and portable computer systems will be better able to communicate over separate, and different, operating systems.
1. Research Languages Research new or emerging languages used for Web site development. Compare and contrast at least two of these new languages with HTML.
2. Evaluate Why do you think new markup and scripting languages and methods are always being developed? Why is HTML alone not enough to develop the kinds of Web sites people now demand? HTML Basics
115
SECTION 4.4 DREAMWEAVER VERSUS NOTEPAD Focus on Reading Read to Find Out The main purpose of this section is to show the advantages of using a Web site development application instead of a text editor. As you read about adding features in Dreamweaver, remember how you added these same features using Notepad. Read to find out how Dreamweaver makes many of these tasks easier and more efficient.
Main Ideas
Key Terms
Reading Strategy
A Web site development application allows you to create Web sites by clicking buttons instead of typing HTML commands into a text document.
color palette border
Identify the steps involved in testing a Web page. Use an organizer like the one below (also available online).
➠
➠
In the previous section, you used Notepad to create a single Web page named Web Design Skills. In this section, you will re-create this page using Dreamweaver. While both versions are composed of HTML commands, you will see that creating the page in Dreamweaver is much different from creating it in Notepad.
Adding Color and Formatting Text in Dreamweaver How is applying formatting different in Dreamweaver than in Notepad?
A major advantage of using Dreamweaver is that you can see approximately how your final page will appear while you are working on it. This allows you to make adjustments, such as changing font size or background color as you go.
Selecting a Background Color in Dreamweaver Dreamweaver provides different ways to select background colors for Web pages. To select a color, you can: ◆ enter hexadecimal numbers into the Background color box in the Page Properties dialog box. ◆ choose a color from a color palette, which is a menu of colors available in the Dreamweaver program. In the next activity, you will create a Web site and set the background color of a page in that site. This will provide the basic framework in which to build your Web site. 116
Chapter 4
WebDesignDW.glencoe.com
ACTIVITY 4I Create and Format a Page in Dreamweaver 1 Start Dreamweaver. On the Start page, in the Create New column, click Dreamweaver Site. Name the new site MySkills2. Follow the steps to define a new Web site (see You Try It activity 2A for a review of these steps). 2 In the Create New column, click HTML. Make certain you are viewing the new file in Design view. Choose File>Save As (or press Ctrl + Shift + S). In the Save As dialog box, save your HTML file as skills2.html. 3 On the Properties inspector, click the Page Properties button. In the Page Properties dialog box, click the Page font drop-down arrow and select Georgia, Times New Roman, Times, serif. 4 Click inside the Background color box. Key #FFFFCC or select light yellow from the palette (see Figure 4.14).
Figure 4.14 Key your background color into the Background color box.
5 Under the Category column, click Title/Encoding. In the Title box, key My Web Design Skills. The dialog box should look like Figure 4.15. Click OK. Click the Save button.
Figure 4.15 The options in the Page Properties dialog box change when a different category is selected.
HTML Basics
117
Creating Headings and Lists in Dreamweaver In this activity, you will add both headings and unordered lists to your Web page. To create an unordered list, select the text and click the Unordered List button on the Properties inspector. To create an ordered list, click the Ordered List button instead.
ACTIVITY 4J Add Headings and Unordered Lists in Dreamweaver 1 Make certain that your skills2.html page is open in Design view. With the insertion point at the top of the page, key: Web Design Skills. 2 Select the heading Web Design Skills. In the Properties inspector, click the Format drop-down arrow and choose Heading 1. 3 In the Properties inspector, click the Align Center button to center the heading. 4 On the Properties inspector, click in the Text color box and key: #6666FF. Your screen should look like Figure 4.16. Press Enter.
Text color
5 In the Document window, position the insertion point at the end of the heading and press Enter. Key the subheading: Skills I Already Have.
Figure 4.16 Key a hexadecimal value into the Text color box to change a font’s color in Dreamweaver.
6 Select the subheading and click the Align Left button on the Properties inspector. The subheading moves to the left margin. 7 With the subheading still selected, click the Format drop-down arrow and choose Heading 2. 8 In the Text color box, replace the hexadecimal value of #6666FF with #000099. Make sure the subheading is still selected and press Enter. 9 Position the insertion point at the end of the subheading and press Enter. On the Properties inspector, click the Unordered List button. 10 Key the first bulleted item in the list below. Press Enter to create the next bulleted item. Continue until you have entered all the items. I can operate my computer’s hardware. I can use Dreamweaver to create simple Web sites. I can insert previously made graphics into my Web pages. I can insert links into my Web pages.
118
Chapter 4
11 Press Enter twice to move the insertion point down two lines. This will also end the unordered list. Key: Skills That I Will Learn. 12 Select the second subheading and format it Heading 2. In the empty Text Color box, key the hexadecimal value of #000099. Make sure the second subheading is still selected and press Enter. 13 Position the insertion point after the subheading and press Enter. 14 On the Properties inspector, click the Unordered List button. 15 Key the first item in the list below. Press Enter to create the next bulleted item. Continue until you have entered all the items. I will learn to use Notepad to create HTML documents. I will learn to create Web pages that are well designed. I will learn to use color and images appropriately. I will learn to create and modify graphics. 16 Proofread your text. Your Web page should resemble Figure 4.17. 17 Save your Web page.
Figure 4.17 You use the Unordered List button to create a bulleted list in Dreamweaver.
Summarize How can you select background colors in Dreamweaver? HTML Basics
119
Adding Graphics and Links How does a border enhance a Web site?
In the following activity, you will add a border to your page. A border is a visual break on the page. It adds visual interest and helps separate items on a page.
ACTIVITY 4K Insert a Graphic and Links in Dreamweaver 1 Open the general folder that contains your MySkills2 folder. Open your MySkills2 folder. Inside this folder, create a new folder named images. Troubleshooting If you have trouble opening the graphics file, check with your teacher to make sure a graphics editor has been selected.
2 Open the DataFiles\Ch04\Images folder. Select the file p_border.gif. Copy this file to the images folder in your MySkills2 folder. 3 In Dreamweaver, make certain that your skills2.html page is open in Design view. Position the insertion point at the end of the Web Design Skills heading. Press Enter. 4 On the Insert toolbar, click the Images button (make sure the toolbar is in Common view). In the Select Image Source dialog box, click the Look in drop-down arrow and browse to your MySkills2 folder. Open the images folder and select the p_border.gif file. Click OK. The border image is inserted into your Web page. 5 Position the insertion point at the end of the last bulleted item on your page. Press Enter two times. This will move the cursor down two lines and end the bulleted list. 6 On the Properties inspector, click the Bold button. Click the Size drop-down arrow and select 16. Key the following: Here are some additional links on Web design and related topics: 7 Press Enter. Click the Bold button to deselect it. Make sure the Size is still set to 16. 8 With the Insert toolbar in Common view, click the Hyperlink button. In the Hyperlink dialog box, in the Text box, key: World Wide Web Consortium. In the Link box, key http://www.w3.org. Your dialog box should look like Figure 4.18. Click OK.
Figure 4.18 In the Hyperlink dialog box, enter both the text for the text link and the link’s URL.
120
Chapter 4
9 Position the insertion point after the link. Press Enter. 10 Click the Hyperlink button. In the Text box, key: Indiana University Webmaster. In the Link box, key: http://webmaster.indiana.edu. Click OK. Click once after the hyperlink to deselect it. If necessary, select the text and change its text size to 16. Your page should look similar to Figure 4.19.
Figure 4.19 Final page created using Dreamweaver.
11 To view the source code for your Web page, switch from Design view to Code view. Dreamweaver automatically enters the HTML code for you, as shown in Figure 4.20. Switch back to Design view. Save your work.
Figure 4.20 Use Code view to view the source code for your Web page.
Define What is a border?
HTML Basics
121
Testing a Web Page Why is it important to test a Web page?
Whether you use Notepad or Dreamweaver to create your HTML document, you must test your page. Visitors will not trust a page that contains errors or broken links. Carefully proofread and spell check your Web page. Always examine your page in more than one browser to make sure each line works properly and check all of your hyperlinks.
ACTIVITY 4L Test a Web Page in Dreamweaver 1 Open your skills2.html page in Design view. Position the insertion point before the Web Design Skills heading. 2 From the Text menu, select Check Spelling. The Check Spelling dialog box opens if spell check detects an error. Key the correct spelling in the Change to box. You can also select the correctly spelled word from the Suggestions list, if available. Select Change when finished. 3 With your teacher’s permission, select File>Print. Proofread and correct your page. Save your corrections. 4 Choose File>Preview in Browser. View your page in the Web browsers available on your computer. Test your hyperlinks to be sure they take you to the correct Web pages. Make certain the page components, such as headings, bullets, and hyperlinks, display properly. Close your browser(s) when finished. Save your Web page. Exit Dreamweaver.
Identify What menu do you use to check spelling in Dreamweaver?
Section 4.4 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• A Web page that was created using Notepad can also be created using Dreamweaver.
1. Define color palette, border.
4. Analyze What are the advantages of using hexadecimal numbers for colors rather than using the Dreamweaver color palette?
• Because Dreamweaver provides a WYSIWYG editor, you do not need to enter HTML tags. • Careful proofreading and testing are a vital part of creating a Web page.
122
Chapter 4
2. Describe each alignment button available in Dreamweaver. 3. Explain how you would create an unordered list in Dreamweaver.
5. Compare and Contrast How was creating hyperlinks in Dreamweaver different from creating them in Notepad?
Apply It! Change Colors In Dreamweaver, open your MySkills2 site. Find three colors in the hexadecimal chart in Appendix C. Enter each color in the background color field of the Page Properties dialog box. Which background color looks best? Why? Do not save your changes.
CHAPTER 4
Reading Review
SECTION 4.1 HTML Coding Key Terms Hypertext Markup Language (HTML), 98 HTML tag, 98 starting tag, 98
SECTION 4.3 Enhancing and Testing Your Page Key Terms anchor tag, 110 text link, 111 graphic link, 111 relative link, 111
absolute link, 112 debugging, 113 testing, 113
Main Ideas ■ HTML tags tell the Web browser how to display a ■ ■ ■
■
Web page’s content. You can use tags such as <STRONG>, <EM>, and
to format text. You can nest tags within one another. While most tags, such as
and , are used in pairs, some tags, such as and , are empty tags. The World Wide Web Consortium provides specifications for various Web-based technologies, including HTML.
Main Ideas ■ The tag inserts a graphic into a page. The
Open the index.html page in your Web browser. Test all links. Make changes as needed and retest your page if necessary.
128
Chapter 4
CHAPTER 4
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Create a Home Page Using HTML You have been assigned to develop a Web site for a cross-cultural travel club. You decide that the club’s home page will have a light yellow background with a large red heading that reads: Cross-Cultural Travel Club. You plan to add a travel-related image to the page. The page will also contain a short sentence describing the club’s purpose and an unordered list highlighting the following upcoming events: ◆ Meeting: Wednesday, October 5 from 3:30 to 5:00 p.m., Xavier Jiminez as guest speaker ◆ Meeting: Wednesday, October 19 from 3:30 to 5:00 p.m., Barbara Lin to show slides of her trip to Taiwan Create the page using HTML (you can use Dreamweaver as your text editor). Make sure you format the sentences as seen above. Test the page in a browser and make any changes to improve the look of the page. Also print the final HTML code for your page.
2. Add Pages in Dreamweaver Use Dreamweaver to add a Meetings page to your cross-cultural travel club Web site. The Meetings page should have a light green background. On the Meetings page: ◆ Add a large heading in red: CROSS-CULTURAL TRAVEL CLUB CALENDAR. ◆ Find an appropriate graphic for this page and insert it below the main heading. ◆ Add the subheading: Meeting: Wednesday, October 5 from 3:30 to 5:00 p.m. Xavier Jiminez will talk about a conversation he had with his grandmother who is from Guatemala. He will describe the village where she was born, the life of the people there, and her experiences after moving to a large city in the United States. ◆ Add the subheading: Meeting: Wednesday, October 19 from 3:30 to 5:00 p.m. Barbara Lin will present a slide show on Taiwan. She will talk about her experiences on this trip and her visit with her parents’ relatives. She will show slides of the major cities as well as the countryside. Add a link from each event on the Cross-Cultural Travel Club home page to the Meetings page. On the Meetings page, add a link to the government sites for Guatemala and Taiwan. Test the site in a browser and make any necessary changes.
HTML Basics
129
Critical Thinking: Evaluate Technology Resources A friend is starting a graphic design business. She asks you to recommend a computer that she can use for her business. In particular, she needs a computer that: ◆ is portable, so she can take it on client visits. ◆ has a lot of memory to support graphics software and other programs. ◆ has a hard drive with a large capacity. ◆ can function without wires. ◆ is made by a well-known, reliable manufacturer. 1. Use the Web or catalogs to research products that meet your friend’s requirements. 2. Prepare a table like the one below to organize your research. List the information for three computers, each from a different manufacturer. MANFACTURER
MODEL #
PRICE
FEATURES
OPTIONAL FEATURES
3. Recommend one computer to your friend and give reasons for your choice.
Use Technology Tools: Create a Web Page Using HTML Use HTML to create a Web page called Reference Web Sites for Online Research. Include the following elements on your page: ◆ A page title ◆ A graphic ◆ An unordered list of three Web sites that you frequently use to research school projects online When planning and creating your Web page, follow these steps: 1. Choose colors for your page, including the background color and the font colors. Choose appropriate font sizes. Select a graphic element such as a border that will work on your page. 2. Plan the content for your page. Write a short description of each research site you have chosen. Note why you think each site is a reliable resource. 3. Write the HTML code for the page. Include a link to each research site. 4. View your completed page in a browser. Check spelling and proofread your page. Test your links. Revise the HTML code to correct errors as needed. 5. Have a peer review your finished Web page, and revise your page as needed. 130
Chapter 4
Create a Community Web Site The Internet can be a powerful tool for social change. In 1997, Jody Williams won a Nobel Prize for her work to outlaw land mines. Using e-mails and the World Wide Web, she organized citizen’s groups around the world and helped forge a coalition among the world’s nations. Select a community or national issue that is important to you. Create a one page Web site that tells other teens about this issue, and lets them know what actions they can take to become more involved. When creating your Web site, follow these steps: 1. Plan the site’s content. Research the issue using reliable resources. Try to locate different perspectives on the issue and identify possible solutions. 2. Summarize your research. Describe the issue and how it affects your community, the nation, or the world. 3. Include a list of steps that your audience can take to address the issue. You will include this information on your Web site, so be brief. 4. Write down the URLs of links where people can learn more about the issue. 5. Use Dreamweaver to create a one-page Web site about your issue. On this site, include:
◆ the summary of your research. ◆ the list of steps needed to address the issue. ◆ links to sites related to the issue. 6. Select appropriate background and font colors for your site. Add a graphic such as a border to the site. 7. Test your site in a browser. Be sure to test all the hyperlinks. Spell check and proofread the site and make changes as needed. 8. Optional (with your teacher’s permission)—publish the finished Web site on your school or class Web site. 9. For your portfolio, include a screen shot and an electronic copy of your finished product.
HTML Basics
131
UNIT
2
Designing Web Sites
Go to this book’s Web site at WebDesignDW.glencoe.com. Click Unit Activities and select Unit 2 Internet Research Tips. Practice skills and strategies that will help you quickly find what you are looking for on the Internet.
132
Think About It Know Your Strengths! Building a Web site requires many different talents and strengths. You will find that some aspects of Web design are easy for you while others may be hard. Knowing what you enjoy doing can help focus your learning of new and difficult tasks.
Evaluate Yourself Activity Write down the top two tasks you have enjoyed most during your study of Web design so far. Then, write down your two least favorite tasks. What characteristics do the tasks you enjoy have in common? How are these different from your least favorite tasks?
133
CHAPTER
5
Planning a Web Site
YOU WILL LEARN TO… Section 5.1 Determine the purpose of your Web site Define the target audience for your Web site Write a mission statement Section 5.2 Describe three types of navigation schemes State the advantages and disadvantages of each scheme Choose the appropriate navigation scheme for a particular site Section 5.3 Discuss the advantages of storyboarding a site Draw the navigation structure of a site Create sketches of a site’s pages
WHY IT MATTERS ................................................. Benjamin Franklin wrote, “By failing to prepare, you are preparing to fail.” Planning—thinking about your goals and the steps you need to take to reach these goals—is always the first step in any successful project. Failing to plan can lead to wasted time, wasted resources, and wasted energy. Developing a Web site is a lot like planning a road trip. Where do you want to “go” first? What is your final destination? How many stops along the way can you afford? President Dwight Eisenhower once said, “Plans are nothing, but planning is everything.” What do you think he meant by that? In what way is the process of planning a Web site more important than the actual plan for the Web site?
134
Chapter 5
CHAPTER
5
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 5.1 Write a Mission Statement ....... 139 5.2 Create a Hierarchical Chart ..... 145 5.3 Create a File Name List ............. 151 You Try It Activities 5A Create a Mission Statement ..... 5B View a Web Site in Map View .... 5C Chart Navigation Structure ...... 5D Specify File Names..................... 5E Sketch a Web Page ....................
139 143 147 149 150
You Try It Skills Studio Create a Mission Statement............. 158 Plan a Web Site .................................. 158 Web Design Projects Create a Storyboard ......................... 159 Create Sketches ................................ 159
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Chapter Assessment Making Connections ......................... Standards at Work ............................ Teamwork Skills ................................ Challenge Yourself ............................
156 156 157 157
Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Reading for a Purpose Just as an author’s purpose helps him or her determine what content to put in and what to leave out, your purpose for reading helps you decide what is most important to remember. Write down and complete this sentence for each section before you read: My purpose for reading this section is to _________. (Hint: You may want to use each section’s Focus on Reading and the colored headings to help you finish the sentence.)
WebDesignDW.glencoe.com
Planning a Web Site
135
SECTION 5.1 CREATING A MISSION STATEMENT Focus on Reading Read to Find Out The main purpose of this section is to explain how to write a mission statement. As you read, ask yourself how a mission statement can help you create a Web site that fits your goals.
Main Ideas
Key Terms
Reading Strategy
Before you create a Web site, you should identify the purpose and audience of the site. Once these are known, you will be able to write a mission statement for your site.
mission statement target audience
Identify the steps in planning a Web site. Use a flowchart like the one below (also available online).
Determine Purpose and Goals
➠
➠
How you design your Web site depends upon your purpose and your audience. To clarify the reason you are creating a Web site, you should create a mission statement, a brief statement that describes the purpose and audience of your Web site.
Determining Purpose and Goals What are some possible goals of a Web site?
Content When planning your site, think about how your long-term goals may vary from your immediate goals.
Before you create a Web site, consider the site’s purpose and goals. The purpose of your Web site is what you want your site to do. The goals of your Web site outline the way you will fulfill your purpose. It is important to first determine the type of site you plan to create. Your site may inform, entertain, serve as a Web portal (such as a search site or a directory of links), address a particular group of people, provide a personality profile (such as a personal page or résumé), or fulfill another specific purpose. Identifying a site’s purpose will help you determine goals that you can work toward. To determine the purpose of your site, ask yourself: ◆ What are my immediate goals for the Web site? ◆ What are my long-term goals for the Web site? ◆ What is my budget? ◆ What is my time line? After you define the overall goal of your site, consider whether the goal is achievable. For example, you decide to create a site about pets. You could narrow your goal by providing information about the care of pet lizards. Explain Why is it important to identify a site’s purpose?
136
Chapter 5
WebDesignDW.glencoe.com
Determining the Audience What is the best way to determine a Web site’s audience?
After you have outlined the goals for your site, determine who will be your target audience. Your target audience includes all of the people that you want to visit your Web site. You need to consider your target audience early in the planning process because the content and design should appeal to them. To help analyze your audience, answer the questions presented in Table 5.1.
Table 5.1
Identifying a Target Audience Question
Purpose
Who is my target audience?
• Be as specific as possible when defining your audience. • Consider your target age group, so you can determine the information you will include on your Web site.
Who am I?
• Determine how you want to present yourself to your target audience. Choosing how you want to communicate can prevent inappropriate content or design decisions.
What does my target audience already know about my topic?
• If the audience knows nothing about a topic, then you need to provide introductory information. • If most of your audience knows a lot about your topic, then consider what specific information you can provide that they will find useful and interesting.
What does my target audience want to learn from my site?
• Consider what your target audience wants or needs to know about your topic. • If possible, try to talk to potential visitors and include information that meets their needs.
How will my target audience access my site?
• Think about how a typical person within your audience will access your site. Does your intended audience use high-bandwidth networks, dial-up connections, or a combination of both? • Consider how you can create a site that everyone in your audience can access and use easily.
Identifying your target audience can help you determine your site’s content. Why is it important to consider how people will access your site?
Summarize Why is it important to identify a site’s target audience?
Planning a Web Site
137
Writing a Mission Statement Figure 5.1
What is the purpose of a mission statement?
A mission statement helps you remember the purpose of the site as you develop it. How might the mission statement differ if the Music Department were developing a site to invite other schools to participate in contests?
Once you have determined your Web site’s purpose and target audience, you are ready to write your mission statement. Creating a mission statement helps you determine what content is essential to your Web site. Refer to your mission statement frequently as you continue the planning and development process. This will encourage you to stay “on target.” For example, the Music Department Web site provides information about the Department’s performances. Assume that this Web site has not yet been developed and it is our job to build it. To create a mission statement, ask yourself a series of questions like those listed in Figure 5.1. Problem
What is the site’s purpose?
Solution
➠
• To provide general information about the Music Department
• To provide specific information about performances and programs
What are the site’s immediate goals?
What are the site’s long-term goals?
➠ ➠
• To supply general music program information
• To provide performance information
• To expand awareness of the Music Department
• To encourage people to participate in programs
Who is the target audience?
➠
• Students, parents, school employees, and community members
• Most people will access the site from home.
Mission Statement The Music Department Web site will promote the awareness of the Century High School Music Department by providing performance and program information.
138
Chapter 5
In this unit, you will work on a Language Club Web site. In the following activity, you will develop the mission statement for this site.
ACTIVITY 5A Create a Mission Statement 1 At the top of a new document, write: Language Club Mission Statement. Use the information in Table 5.2 to write a mission statement below the title. The statement should be relatively short (less than 50 words).
Table 5.2
Language Club Purpose and Audience
The Language Club Web site is being developed for high school students.
Question
Answer
Who is the audience?
High school students, members, and nonmembers of the club.
What does the audience already know about this topic?
The level of knowledge varies. Some individuals are new to the subject.
What does the audience want to find out from the site?
Meeting times, locations, and topics. Upcoming events and fundraisers.
How will the audience access the site?
The site will be accessed from the school’s high-speed Internet connection, or from home, where most students have a dial-up connection.
2 Proofread the mission statement. Name the document Language Club Mission. Ask your teacher where and how to save your work.
Describe How does a mission statement help you create your Web site?
Section 5.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Before building a Web site, you must spend some time planning it.
1. Define mission statement, target audience.
4. Analyze How might the immediate and long-term goals of the Language Club site be different?
• It is important to determine the purpose of your Web site before building it. • You must identify the characteristics of your site’s audience. • A mission statement describes the purpose and audience of the Web site.
2. Explain why it is often necessary to refine a Web site’s topic when planning a site. 3. List four things you should know about the audience to write a mission statement.
5. Compare and Contrast How would a clothing Web site for very young children differ from a clothing site for teenagers?
Apply It! Write a Mission Statement Write a mission statement for a Web site you would like to develop for one of your hobbies. Describe the purpose of your Web site and your target audience.
Planning a Web Site
139
SECTION 5.2 NAVIGATION SCHEMES Focus on Reading Read to Find Out This section describes the different navigation schemes used by Web sites. As you read, note how different navigation schemes serve different purposes.
Main Ideas
Key Terms
Reading Strategy
Navigation schemes define the structure for Web sites. The navigation scheme should enhance the purpose of the site and help visitors find the information they seek.
Compare and contrast the hierarchical and linear navigation schemes. Use a Venn diagram like the one below (also available online).
Hierarchical
Linear
In the early days of Web design, designers often created the individual Web pages that they needed, then linked them together. As sites became larger and more complex, they often became disorganized and difficult to navigate. Web designers soon realized that they needed to plan the structure and the relationships among a site’s pages before building the site. Activity 5.1 Explore Navigation Schemes Learn more about different navigation schemes by visiting the book’s Web site at WebDesignDW.glencoe.com.
You Should Know Developing a site’s navigation scheme is part of interaction design.
Types of Navigation Schemes What should I consider when choosing a navigation scheme for my site?
A navigation scheme is the plan that determines how Web pages will relate to each other. A Web site’s structure should support the site’s mission statement and appeal to its target audience. When choosing a navigation scheme, think about how visitors will interact with your site. Will your visitors go directly to specific topics or will they access the pages sequentially? Viewing your site from the audience’s perspective can help you develop a site visitors will enjoy. There are three main types of navigation schemes. ◆ The hierarchical navigation scheme is used by the majority of Web sites. ◆ The linear navigation scheme is often used with a hierarchical scheme. ◆ The random-access navigation scheme is rarely used.
140
Chapter 5
WebDesignDW.glencoe.com
Hierarchical Navigation Scheme In a hierarchical navigation scheme, pages are arranged in levels from top to bottom. A site can contain multiple page levels depending on its content. Pages at lower levels typically contain specific information about the Web site’s topic. Figure 5.2 illustrates how the Web pages in a hierarchical site can be organized. ◆ At the top level is the Web site’s home page. The home page is often referred to as a top-level page because it is at the highest level in the structure. ◆ The home page contains links to the second-level pages below it. Pages that are all on the same level are often referred to as same-level pages. ◆ The second-level pages contain links to third-level pages. As shown in Figure 5.2, you can access any of the second-level pages from the home page. However, you can only access third-level pages from a second-level page.
Relationships in the Hierarchical Scheme A page that is connected to a page one level below has a parent-child relationship with that page. In this relationship, the page that is on the level above is the parent, and the page that is on the level below is the child. A parent may have many children, but in a hierarchical scheme, each child may have only one parent. Two or more child pages with the same parent have a peer-to-peer relationship, also called a “sibling” relationship. These relationships are shown in Figure 5.2. This page is the parent of the three pages below it.
SecondLevel Page A
Third-Level Page
These three pages are children of second-level page A.
Third-Level Page
The home page is the parent of the four pages below it.
Home Page
SecondLevel Page B
Third-Level Page
Figure 5.2 Web pages in a hierarchical scheme are arranged in levels. Which page is always at the top level in a hierarchical navigation scheme?
SecondLevel Page C
Third-Level Page
SecondLevel Page D
All pages at this level are children of the home page.
Third-Level Page
These pages have a peerto-peer relationship.
Planning a Web Site
141
Advantages of a Hierarchical Site The hierarchical navigation scheme has specific advantages. ◆ Visitors can get a site overview quickly by examining the home page (index.html). ◆ Visitors can then go directly to the pages that interest them and skip pages that do not interest them. ◆ The freedom to “click around” prevents visitors from becoming overwhelmed by information they do not want. ◆ Visitors can keep track of where they are on the site.
Linear Navigation Scheme In a linear navigation scheme, every page exists at the same level. Each Web page in this scheme is accessed from the previous page and then is linked to the next page. A visitor navigates a linear site by moving through a line of pages, one after another—the same way you read a book.
Figure 5.3 The linear navigational scheme directs visitors to view the site page by page. What page do visitors view first when they use a linear site?
Advantages of a Linear Site As with hierarchical schemes, sites that use a linear scheme usually have a single home page that the visitor must access first (see Figure 5.3). However, unlike the hierarchical scheme, the visitor must then access each page in a specific order. A linear scheme is useful in sites that step visitors through a process, such as making cinnamon rolls. To make the rolls, visitors must start with the first step and continue on until the last step is reached.
Home Page
Combination Schemes Many Web sites use both hierarchical and linear navigation schemes. For example, a Web site containing photographs from a vacation might let the visitor go directly to a specific photo (hierarchical), or it may let the visitor see the photos in the order in which they were taken (linear).
Random-Access Navigation Scheme In a random-access navigation scheme, the pages are not organized in any particular order, but are linked randomly to each other. This scheme makes it difficult for visitors to locate what they need quickly, or at all. The random-access scheme can be used for an experimental site that is intended to give users access to random sites. However, this type of navigation scheme is almost never used by professional Web designers. List What are the three different types of navigation schemes? 142
Chapter 5
Viewing a Web Site’s Navigation Scheme How do you view a navigation scheme in Dreamweaver?
The Music Department’s Web site uses a hierarchical structure. In the following activity, you will use Dreamweaver’s Map view to examine the site’s navigation structure.
ACTIVITY 5B View a Web Site in Map View 1 Start Dreamweaver. Open your Music Department Web site (if necessary, open and define the site located in the DataFiles\Examples\MusicDept folder). 2 In the Files panel, right-click the index.html file. In the options menu that opens, select Set as Home Page. Click the view drop-down arrow and select Map view (see Figure 5.4).
Figure 5.4 Select Map view to display the site’s map in the Files panel. Map view Expand/Collapse
3 In the Files panel, click the Expand/Collapse button to display the site map at full size in the Document window (see Figure 5.5).
Figure 5.5 Click the Expand/Collapse button to view the site’s navigation scheme in the Document window.
Planning a Web Site
143
4 Locate the performances.html page in the site map. You will either see a plus (+) or a minus (−) sign to the left of the file icon. Clicking the plus sign will display pages linked to the selected page (see Figure 5.6). Practice opening and closing the page list of each file.
Figure 5.6 Click the plus sign to see which pages are linked to the selected page.
Pages linked to performances page
5 In the toolbar, click the Site Map button. Click Map and Files to display the Web site’s file structure in the Files panel. Your screen should look like Figure 5.7.
Figure 5.7 Select Map and Files to view both the site map and the site’s file structure.
Site Map button
You Should Know Text that is displayed in red in the Site Map indicates a broken link (a link that does not work).
6 Press F8 to view only the site’s file structure. Press Alt + F8 to display the site map and the file structure again. 7 On the toolbar, click the Expand/Collapse button to collapse the expanded Map view.
144
Chapter 5
8 In the Files panel, click the view drop-down arrow and select Local view. Your screen should look similar to Figure 5.8. Close the Web site and exit Dreamweaver.
Figure 5.8 The Music Department home page in Local view.
Describe What kind of navigation scheme does the Music Department Web site use?
Section 5.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• A navigation scheme specifies the organization of a site and how its pages relate to one another.
3. Draw Conclusions Can a Web page be both a parent page and a child page? Explain your answer.
• Examples of navigation schemes include hierarchical, linear, and random-access. • A Web site’s home page is a top-level page in a hierarchical site.
2. List two factors to consider when choosing a navigation scheme.
4. Compare and Contrast Explain the similarities and differences between a hierarchical and a linear navigation scheme.
Apply It! Create a Hierarchical Chart Assume you have seen seven movies in the past month. Four were action-adventures and three were comedies. Create a chart that places the movies you have seen into a hierarchical structure. Include the titles of all seven movies in your chart.
Planning a Web Site
145
SECTION 5.3 STORYBOARDING YOUR SITE Focus on Reading Read to Find Out This section illustrates how to plan a site’s navigational structure. As you read, pay attention to the difference between a page title and a file name.
Main Ideas
Key Terms
Reading Strategy
When you storyboard your site, you draw a chart illustrating the site’s navigation structure and create sketches of what content the main pages will include. These graphics provide a basic overview of the site you will create.
storyboard page title file name
Identify the two processes involved in storyboarding. Under each process, list one fact about the process. Use a diagram like the one below (also available online). Storyboarding
Storyboarding How can storyboarding help you to avoid mistakes when creating a site?
Activity 5.2 Storyboarding a Web Site Learn more about various storyboarding methods by visiting WebDesignDW.glencoe.com.
Many Web design professionals use storyboarding when they design a Web site. A storyboard is a visual representation of the Web site. Storyboarding involves illustrating your organizational ideas by roughly sketching the relationships among elements on each page, as well as the relationships among the Web site’s pages. Storyboarding has a number of advantages. ◆ It helps you visualize the basic structure of the Web site. ◆ It graphically illustrates the links between individual Web pages. ◆ It provides an overall look at the contents of each Web page. ◆ It helps you to see whether your ideas will work well before you begin creating the actual pages. Not everyone approaches storyboarding in the same way. Some use formal drawing tools to create their storyboards. Others use presentation software to create a working model of the site. Many Web designers, however, find it most helpful to sketch their concepts with paper and pencil. Two tasks need to be accomplished during the storyboarding process. One is to identify the navigation structure of the site using one of the navigational schemes discussed in Section 5.2. The other is to create a brief summary of each page’s contents. List What are three different ways to approach storyboarding?
146
Chapter 5
WebDesignDW.glencoe.com
Table 5.3
Language Club Web Site Pages Page Title
Brief Description
The Language Club
Welcomes the visitor and serves as a jumping-off point to other pages.
About Us
Describes the purpose of the club.
Events
Lists events sponsored by the club such as fundraisers, meetings, and cultural events. Includes a maximum of five events, with a separate subpage for each event.
Contact Us
Includes membership information and contact information for club officers.
Using tables and charts is a good way to gather the information needed to plan a Web site. Which pages will likely be parent pages?
Drawing a Site’s Navigation Structure Why is it helpful to chart a Web site’s structure?
To develop the navigation structure of the Language Club Web site, start with a list of its major pages (see Table 5.3). At this point in the process, you are merely trying to get a basic idea of the pages the Web site will contain. As you continue, you may find it necessary to add additional pages, or combine two pages into one.
Charting the Language Club Web Site The Language Club Web site will have a hierarchical structure. In the following activity, you will chart this hierarchical structure and assign pages to levels.
ACTIVITY 5C Chart Navigation Structure 1 Open a blank word processing document, or take out a piece of paper At the top of the page, write or key Language Club Site Navigation Structure. This is the title of your chart. 2 Using the information provided in Table 5.3, create a chart that shows the navigation structure of the proposed Language Club site. It should use a hierarchical structure with the home page at the top. Figure 5.9 shows part of this chart. Be sure to include each page’s title in the corresponding box and to draw lines showing the relationships among the pages.
Language ClubHome
3 Add five lower level pages (subpages) under the Events page. Write appropriate page titles for these subpages (see page 148 for naming guidelines). 4 Proofread your chart. Name your document Language Chart and save it according to your teacher’s instructions.
Figure 5.9
Language ClubAbout Us
A hierarchical structure makes it easy for visitors to locate information available at the site.
Planning a Web Site
147
Page Titles versus File Names You have now determined the major pages for the Language Club site. At this point, it is a good idea to think of appropriate names for your files. In your navigation chart, you specified the title of each page. However, the file in which each page is stored must also be specified.
Choosing a Page Title A page title is not the same thing as a file name. A Web page’s page title (sometimes called a page name) appears in the title bar when the page is displayed in a browser. Follow these guidelines when choosing a page title. Jargon A Web page’s title appears in the Web browser when users view the page. A Web page’s file name, on the other hand, is the name of the HTML document that makes up the Web page.
◆ Choose logical names that visitors will understand. A title such as Change Password suggests that users should go to this page to change their password. ◆ Page titles should be short and descriptive. ◆ Page titles should be consistent with your naming scheme. On a Web site about Shakespeare’s plays, where one page is titled Hamlet, another page should be titled Macbeth (not Tragedy2 or ScottishPlay).
Choosing a File Name A file name is the name of the HTML document that makes up the Web page itself. Follow these guidelines when choosing a file name. ◆ Select names that make sense and are consistent and easy to remember. For example, imagine that you are creating a library’s site that will eventually contain thousands of pages. It would be difficult to find the file that corresponds to the book Emma if that book’s Web file were named x52h61aw.html. A file named emma.html would make it much easier to locate that book’s file. ◆ Use Save As instead of Save when you first save your Web page, and enter a good file name into the File name box. ◆ Each file name must have either the standard .html extension or the less common .htm extension so Web browsers will recognize that the file as an HTML page. ◆ Keep file names short and omit blanks. Use the underscore character (_) as a substitute for a blank space. ◆ Use lowercase letters instead of uppercase letters. Page titles and file names are often not the same. For example, in the Language Club Web site, the home page will have the page title Language Club-Home and the file name index.html. Table 5.4 contains a list of the file names for the individual pages in this Web site.
Table 5.4 Specify the file names for your Web pages so that you can keep track of file names used in the site. How is a page title different from a file name? 148
Chapter 5
Language Club Page Titles and File Names Page Title File Name Language Club-Home index.html Language Club-About Us about_us.html Language Club-Events events.html Language Club-Contact Us contact_us.html
ACTIVITY 5D Specify File Names 1 Open or take out the Language Club navigation chart that you created in You Try It activity 5C. Using the information in Table 5.4 on page 148, write the file name for each page under that page’s title, as shown in Figure 5.10. If the page is not included in Table 5.4, create your own file name (be sure to follow the guidelines for naming files!).
Figure 5.10
Language ClubHome
You can keep track of file names by recording them in your navigation chart.
(index.html)
Language ClubAbout Us (about_us.html) 2 Proofread the file names, verifying that each name is used only once and that there are no spaces in the file names. 3 If you are using a word processing application, with your teacher’s permission, print a copy of the chart. Save the revised version of your document.
Describe What is a file name?
Creating Sketches of Individual Pages Why should I sketch my Web pages before creating a site?
After you chart the overall scheme for your site, you should create a basic sketch of each Web page. This sketch identifies the text and graphics you plan to use on a page, and roughly shows where you plan to place these elements. Sketches serve several purposes. ◆ They help make certain that all the goals of the Web site are met. ◆ They provide guidelines for developing Web page content. ◆ They are useful when you create the page template. At this point, you need not worry about the exact text or graphics that will appear on each page—just focus on the page’s overall purpose. In You Try It activity 5E, you will create a sketch for the About Us page in the Language Club Web site.
Shortcut To view individual page titles in Dreamweaver’s Map view, press Ctrl + Shift + T. Press this combination of keys again to display the page’s file name.
Planning a Web Site
149
ACTIVITY 5E Sketch a Web Page 1 Create a sketch for the About Us page. Identify the content you want to include. For this page, you want to state the purpose of the club, and a list of the individuals who run the club. 2 Sketch the content for this page. Estimate where you would place the elements you want to include. Also estimate the space needed for the different elements. 3 Review your work to make sure the sketch contains the needed elements. Your sketch should look similar to Figure 5.11. If you are using application software to create sketches, save the document as Language Sketches.
Figure 5.11 A sketch like this shows how elements will appear on the page.
About Us Text Text Office
Name
President
Xxx Xxxxxx
Statement of club’s purpose
4 Create a second sketch for the same Web page. Keep the same content, but create a different arrangement for your items. Save your document as before. 5 Compare your sketches with those of other students. Explain why you decided to place items where you did. Evaluate which sketches you prefer and explain why.
List What items should you include on a Web page sketch?
Web Site Planning Checklist How can a checklist help me plan a Web site?
You have a lot to think about before you start creating your Web pages. That is why you should always use a checklist to help you keep track of your planning tasks. Determining a Web site’s purpose and audience is always the first step to creating a successful site, as shown in Figure 5.12 on page 151. 150
Chapter 5
Figure 5.12
Web Site Planning Checklist STEP COMPLETED
✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑
A planning checklist helps you manage the details of creating Web sites. Why do you think planning should be completed before the storyboarding begins?
STEP The site’s purpose is clearly stated. Both immediate and long-term goals are specified. The audience for the site is specified. A clear and specific mission statement is written. An appropriate navigation scheme is chosen. An appropriate page title and file name are chosen for each page. A chart is created showing the navigation scheme, including each page’s title and file name. The major content and graphics are chosen for each page. Sketches of each page are drawn. Sketches focus on each page’s overall purpose.
We have completed the steps for planning the Language Club Web site. The planning process will help you determine goals that you can work toward. Planning also helps you identify any potential problems before you actually begin to build your site. It is much easier to correct problems at this stage than later on, when you may have to alter an existing Web page or change the structure of a Web site. Describe Why is it important to follow all the planning steps when creating a Web site?
Section 5.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Storyboarding involves drawing a site’s navigation structure and creating sketches of the major pages.
1. Define storyboard, page title, file name.
4. Analyze What might be an advantage of using a linear navigation scheme for a Web site? What might be an advantage of using a hierarchical scheme?
• A sketch of a Web page outlines the major content and graphics that will be included on that page. • A page title is not the same as a file name. • A checklist can help you determine whether you have completed every step in the planning process.
2. Discuss three advantages of storyboarding a Web site. 3. List the items that should be included in a Web page sketch. Explain the importance of each item.
5. Draw Conclusions What problems could be avoided by completing a Web site planning checklist before creating a site?
Apply It! Create a File Name List Create a table that lists appropriate file names for the following pages that are part of the Music Department Web site: Home, Band, Choir, Performances, and Contact Us.
Planning a Web Site
151
Developing Web Content
T
he World Wide Web would be meaningless without the words, pictures, video, and other content you find on a Web site. After all, people do not go online simply to use a browser. They go online to find information, to be entertained, or to do business.
Writers and Editors Most Web sites use text in some manner. Often, professional writers and editors create the online text. Web-based writers need to be able to write content that is easy to read on a monitor and appropriate for a site’s target audience. They often work with subject matter experts, instructional designers, and programmers. This teamwork allows writers to see how their content fits into the overall design of the Web site.
Graphic Designers Web sites are often designed by teams of people, many Graphic designers give Web sites their of whom focus on the site’s content rather than on its appeal by creating icons, backgrounds, technical elements. illustrations, and other graphic elements. Graphic artists may work with photographs or use sophisticated programs to create original art. These designers use a wide range of tools, such as Adobe® Photoshop®, CorelDRAW®, and many others.
Instructional Designers Instructional designers create effective computer-based teaching materials for computerbased training (CBT) and distance-learning programs. These professionals may be teachers, trainers, or curriculum specialists. They create the curriculum and teaching strategies for an online or CBT course. This can include developing the content and creating teaching tools, such as tests, presentations, and record-keeping tools.
1. Create a Résumé Search a Web site for job openings related to providing content. Create a résumé you would use to apply for one of those positions. In your résumé, note the education, training, and experience that you would need for this job. 152
Chapter 5
2. Compare Content Write a brief essay that compares and contrasts the content requirements of different types of Web sites. In your essay, include examples from at least four different sites.
SECTION 5.3 Storyboarding Your Site Key Terms storyboard, 146 page title, 148
file name, 148
Main Ideas
Main Ideas
■ Before building a Web site, you must spend some
■ Storyboarding involves drawing a site’s navigation
time planning it. ■ It is important to determine the purpose of your Web site before building it. ■ You must identify the characteristics of your site’s audience, such as how much the audience already knows about the site’s topic and what the audience wants to learn from the site. ■ A mission statement describes the purpose and audience of the Web site.
■ ■ ■ ■
■
SECTION 5.2 Navigation Schemes
structure and creating sketches of the major pages. A storyboard graphically illustrates the links between individual Web pages. A sketch of a Web page outlines the major content and graphics that will be included on that page. A page title is not the same as a file name. A page title appears in the title bar when the page is displayed in a browser. A file name is the name of the HTML document that makes up the Web page. A Web site planning checklist can help you determine whether you have completed every step in the planning process.
■ A navigation scheme specifies the organization of a ■ ■ ■ ■
site and how its pages relate to one another. Examples of navigation schemes include hierarchical, linear, and random-access. A Web site’s home page is a top-level page in a hierarchical site. A page that is connected to a page one level below it has a parent-child relationship with that page. Children of the same parent have a peer-to-peer relationship.
ThirdLevel Page
ThirdLevel Page
ThirdLevel Page
Planning a Web Site
ThirdLevel Page
153
CHAPTER 5
Review and Assessment
AFTER YOU READ Review the Purpose Go back to the Reading for a Purpose sentences you completed before you read each section. Did you succeed in your stated purpose? Use your Key Term Journal, class notes, and your memory to write down a brief explanation for each purpose sentence. This exercise will help you determine what you need to review.
Reviewing Key Terms 1. What is a mission statement? 2. Define target audience. 3. Which of the following is NOT a type of navigation scheme: hierarchical, oval, linear, random-access. 4. What is a top-level page? 5. Rewrite this statement to make it true: Each child page can only have a single parent whereas a parent page can only have up to three child pages. 6. In Web design, what is the formal name of a sibling relationship where two or more child pages have the same parent page? 7. What are the two main items that are created when storyboarding a site?
Understanding Main Ideas 8. Summarize the differences and similarities between the immediate and the long-term goals of a Web site you might develop. 9. Discuss why it is important to be familiar with what your audience already knows about a particular topic when you are developing a mission statement. 10. Describe how a linear navigation scheme is different from and similar to a hierarchical navigational scheme. 11. Discuss the purpose of creating sketches of Web pages. 12. Summarize the advantages of using a Web site planning checklist. 154
Chapter 5
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
13. Explain the difference between a page title and a file name. Page Title
File Name
14. Evaluate why most Web designers use a hierarchical navigation scheme when creating Web sites. Advantages of a Hierarchical Scheme
Critical Thinking 15. Evaluate Navigation Schemes The Department of Education has created a Web site using a hierarchical scheme. The director wants to include a slideshow to be viewed in sequence within the Events section of the Web site. What type of navigation scheme would you use for this slideshow? Explain your answer. 16. Draw Conclusions In the Language Club Web site, what would happen if the Events page were removed, and all of the pages under it linked directly to the home page? How would this affect how visitors accessed these pages? Do you think this would be a good change? Explain your answer. 17. Analyze Navigational Schemes Why is a drawing of a hierarchical navigation scheme sometimes called a tree diagram? How can the image of a tree help you understand how a hierarchical site’s pages are related?
CHAPTER 5
Review and Assessment
18. Analyze Target Audiences Some Web sites try to appeal to a broad range of visitors. For example, the NASA site’s audience could include people who know a lot about the space program and those who do not. How might a Web site address the needs of a broad audience? Use a Web diagram like the one below to organize your answers and specific suggestions. Use Table 5.1 on page 137 to identify ways to reach a target audience.
Target Audience
Reading & Writing Read the paragraph below and then answer the question.
The two most popular Web site navigation schemes are the hierarchical and linear schemes. In a hierarchical scheme, pages are arranged in levels from top to bottom. The home page is at the top and contains links to the secondlevel pages below it. The second-level pages contain links to third-level pages, and so on. In a linear scheme, every page is at the same level. The home page is first and then each page must be accessed in a specific order, one after another. According to the paragraph, which of the following statements is true?
19. Create Navigation Schemes In the Language Club Web site, explain how you might make the About Us page a parent page. Use a drawing like the one below to illustrate your response.
Home
In a linear scheme, pages are linked randomly to each other. In a linear scheme, all pages on the site can be accessed directly from the home page. In a hierarchical scheme, you can access any secondlevel page from the home page. In a hierarchical scheme, all pages on the site can be accessed directly from the home page.
About Us
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items.
WebDesignDW.glencoe.com
On your own paper, copy and complete the chart shown below.
Go to the book’s Web site shown above. Select e-Review>PowerTeach Outlines>Chapter 5 to review the main points in this chapter.
20.
Study with PowerTeach
Result
Online Self Check
21.
+
22.
+
WebDesignDW.glencoe.com
+
Result
Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 5.
Result
Planning a Web Site
155
CHAPTER 5
Activities
1. MAKING CONNECTIONS Social Studies—Create a Time Line From the printing press in the fifteenth century to today’s cell phones and handheld devices, innovations in technology have revolutionized how we communicate. 1. Use the Internet or other resources to research the history of different forms of communication such as the printing press, radio, and television.
3. Place your five dates into a time line. In your time line, include dates for when the printing press and the Internet were invented. 4. Finally, create a storyboard that places the dates from your time line into a linear navigational scheme like the one shown below.
2. Identify five important dates in the history of communications.
Home Page
Date #2
Date #3
Date #4
Date #5
2. STANDARDS AT WORK Students use technology to locate, evaluate, and collect information from a variety of sources. (NETS-S 5)
Analyze Web Sites Locate two Web sites in one of the following categories: corporate presence, portal, informational, or educational. Try to find two Web sites that are very different from each other. For each site, answer the following questions: 1. What is the purpose of the Web site? 2. What is the goal of the Web site? 3. Who is the Web site’s target audience? 4. What is the target audience seeking from the site? 5. Is the content of the site easy to scan? 6. What type of navigation scheme does the site use?
Use your answers to develop a chart that compares and contrasts the two Web sites. If possible, use either a word processing application or a spreadsheet to create your chart. Your chart should look similar to the matrix shown above. 156
Chapter 5
WEB SITE #2
CHAPTER 5
Activities
3. TEAMWORK SKILLS Create a Storyboard You have been asked to create a Web site for Services for Seniors, a local group serving senior citizens in your community. This group provides seniors with information about health care, adult education programs, and other services. 1. Work as a team to research similar sites. Conduct interviews with the site’s potential audience (your grandparents, other family members, friends, etc.). 2. Based on your research, prepare a mission statement and site goals. 3. Brainstorm a list of pages to include in the site such as housing, medical information, legal issues, and education. 4. Create an index card for each page showing the page titles and file names. Organize the index cards on a piece of paper and draw lines to indicate the navigation scheme that you will use. This will serve as your storyboard for the site. 5. Explain to the class the reasoning behind your navigation scheme.
4. CHALLENGE YOURSELF Plan a Web Site Assume you have been hired to create a Web site for your local aquarium. The aquarium is a major attraction in your town, and it wants a site that will highlight its many activities and exhibitions. Based on planning you have done with the client, you determine that: ◆ the site will have 20 pages arranged in four levels. ◆ it will use a hierarchical navigation scheme. ◆ the following topics need to be covered: general information, types of exhibitions, special attractions, and gift shop merchandise. Create a storyboard for the aquarium Web site that fits the noted requirements. The first and second level are supplied in the graphic organizer below. Brainstorm the remaining third-level pages that need to be included in the site. Determine how you want visitors to navigate the site. When you have completed your storyboard, create a sketch for the Web site’s home page. Home Page
General Information
Types of Exhibitions
Special Attractions
Gift Shop Merchandise
Planning a Web Site
157
Projects
CHAPTER 5
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Create a Mission Statement Create a mission statement for a group or club to which you belong. At the top of a page, write or key the name of the group, organization, or club you will be using for this exercise. Add the words Mission Statement after the group’s name. Answer the questions shown below to identify your target audience. IDENTIFYING YOUR TARGET AUDIENCE • Who is the audience? • What does the audience already know about this topic? • What does the audience want to learn from the site? • How will the audience access the site?
Use your answers and your knowledge of what belongs in a mission statement to write or key a mission statement for the group’s Web site. Proofread your mission statement. If you are using word processing software, use the spell check feature. Save your document for future use.
2. Plan a Web Site Create a storyboard for your chosen organization’s Web site. Brainstorm a list of pages to include in your site. Write down your ideas. Create a chart showing the site’s hierarchical structure. Include each page’s title and draw lines showing parent-child and peer-to-peer relationships. Under each page title, add the file name. Proofread your chart. Save your document for later use. Create a sketch of the home page and one other page planned for your site. Estimate where you would place the content you want to include. Review your work to make sure the sketches contain the necessary elements. Save your sketches for later use.
158
Chapter 5
CHAPTER 5
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Create a Storyboard Imagine that a local band has hired you to create its Web site. The band wants its site to include a home page and pages that provide concert schedules, band member biographies and hobbies, and photographs and descriptions of the band’s national tour. One member of the band is an avid outdoor photographer and plans to post photographs of the locations in which the band has performed. She would like to include historical and geographical information about the locations as well. Create a storyboard for the band’s Web site. Your storyboard should include: ◆ A home page ◆ Pages for two locations in which the band has performed. The location pages should include photographs and location descriptions. Keep in mind that the number of photographs will grow over time, so you will want to design these pages as a photo gallery. Add a general set-up page for the photo gallery to introduce the feature, and then add a child page for each location, each of which should be connected to the introductory parent page. ◆ A band member hobbies page, with links to items that promote the band’s various interests.
2. Create Sketches Use the information from Web Design Project #1 and the information below to create sketches of the general photo gallery page and the first two locations pages. Parent Page: Introduction to Photo Gallery a. What is a photo gallery? b. How do I navigate through a photo gallery? c. Where will these photographs go? Child Page 1: San Francisco, California a. Location: California map b. Points of interest ◆ San Francisco Cable Cars, the only moving national historic landmark. ◆ The Golden Gate Bridge, a famous landmark Child Page 2: Grand Canyon a. Location: Park map of Grand Canyon b. Points of Interest: The South Rim
Planning a Web Site
159
CHAPTER
6
Developing Content and Layout
YOU WILL LEARN TO… Section 6.1 Generate and organize content ideas Write and organize Web text Section 6.2 Identify page dimension guidelines Determine content placement Evaluate page layouts Section 6.3 Create a custom page template Insert a logo Create a table Section 6.4 Create navigation buttons Add footer information Add text links Create an e-mail window
160
Chapter 6
photo TK
WHY IT MATTERS ................................................. People today are surrounded by information. We see billboards on our streets, listen to radios in our cars, and watch TV or access the World Wide Web at home. Various media are always competing to capture an audience’s attention. In this chapter, you will learn how to create content for a Web page that will catch—and hold—your viewers’ interest. Think about all the different ways you get information throughout the day. Write down everything you can think of and compare your results with the rest of the class. Which medium (magazine, Web site, etc.) best captures your attention, and which do you find easiest to ignore? Write a short paragraph identifying the features of the medium that best captures your attention and explain why.
CHAPTER
6
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 6.1 Determine Content .................... 6.2 Compare Web Designs .............. 6.3 Create a Table ............................ 6.4 Create a Footer ..........................
165 170 176 182
You Try It Skills Studio Create Web Content .......................... 188 Create a Template ............................. 188 Web Design Projects Develop Content for a Template ...... 189 Create a Personal Web Site .............. 189
IN THE WORKBOOK
You Try It Activities 6A Create Content for a Web Page ............................................ 6B View a Page at Various Resolutions ................................ 6C Create a Page Template ............ 6D Add a Logo .................................. 6E Create a Table ............................ 6F Add Navigation Buttons ............. 6G Add Footer Information ............. 6H Add Text Links ............................ 6I Add a Link to an E-mail Window .......................................
181
Chapter Assessment Making Connections ......................... Standards at Work ............................ Teamwork Skills ................................ Challenge Yourself ............................
186 186 187 187
165 169 172 174 175 178 179 180
Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Stay Engaged You are an active reader when you stay engaged in the material. One way to stay engaged is to turn each of the colored section heads into questions, then read the section to find the answers. When you can think of a good question and find complete answers, you will be engaged in learning.
WebDesignDW.glencoe.com
Developing Content and Layout
161
SECTION 6.1 CREATING WEB SITE CONTENT Focus on Reading Read to Find Out The main purpose of this section is to learn how to write material for Web pages. Read to find out how Web developers use the inverted pyramid to emphasize a site’s most important material.
Main Ideas
Key Terms
Reading Strategy
Many specific strategies can help you write interesting content for the Web. You must write your Web content clearly and concisely.
content inverted pyramid
Identify the steps you use to generate and organize ideas for the content of your Web pages. Use a flow diagram like the one below (also available online).
Brainstorm Ideas
➠
➠
➠
As you learned in Chapter 1, the Web design process can be divided into three categories. ◆ Interaction design ◆ Information design ◆ Presentation design In Chapter 5, you completed some interaction design by creating a navigation chart for the Language Club Web site. We will now look more closely at information design.
Writing for the Web Content When planning content, remember to keep your text as brief and informative as possible.
How do visitors read online text?
Information design involves determining a Web page’s content, or the text and graphics included on the page. A successful Web page uses words and images to capture the viewers’ attention and provide information. When creating content, you should think as much about what the page will look like as what it will say. ◆ Text should be short and easy to read. It must also stand out from the graphics, animation, navigation buttons, and other elements on the page. ◆ Graphics should be both visually appealing and informative. For example, you could include a photograph of an airplane on a Web page about travel. Including a map of a country discussed on the page, however, would provide visual interest and help viewers understand where that country is located.
162
Chapter 6
WebDesignDW.glencoe.com
Table 6.1
Guidelines for Online Text Element
Guideline
Formatting
Paragraphs
• Introduce only one idea per paragraph. • Limit paragraphs to about 75 words or fewer. • Keep sentences short and use simple sentence structures.
• Use bulleted lists to help summarize key points. • Use numbered lists only when presenting a series of steps.
Headings
• Use headings and subheadings to break up text. • Make sure headings and subheadings highlight key points so readers can locate information quickly.
• Format main headings larger than subheadings. • Use different colors and typefaces for headings and subheadings.
Including key words and headings helps users locate information quickly on a page. How do bulleted lists help readers process information on a Web page?
Online Text Users do not generally read through Web pages as they would a novel or other printed item. Instead, they scan a page, read some snippets of text that interest them, click a link to check out a photograph, and click again to move to another page or site. To capture the user’s attention, you need to include key words or phrases. If you bury your information, users will probably move on to another page or site. Table 6.1 summarizes guidelines for writing effective online text. Figure 6.1 shows a screen that follows the guidelines for writing online text. Notice how information is displayed in short sections, and headings help the reader identify the main topics.
Figure 6.1 Text should be broken into small pieces on a Web page. Why are the headings and subheadings different sizes?
Heading Subheading
Bulleted list
Developing Content and Layout
163
Organizing Web Text Many professional Web designers agree that Web text should be organized like an inverted pyramid. An inverted pyramid structure places the most important information at the beginning of a story, where it will best catch an online reader’s attention. Like a good newspaper story, good online content answers the questions Who? What? Where? When? Why? and How? as briefly as possible in order of importance. Key points, then, should appear at the beginning of the story. The remainder of the article fills in the details, with the least important information at the end, as shown in Figure 6.2.
Figure 6.2 An inverted pyramid structure places the most important information first. Why should important information appear first on a Web page?
Using the Mission Statement Most Important Information
Next Most Important Information
As you develop content, remember to refer back to your mission statement so you do not forget your site’s purpose and audience. Use both the mission statement and your storyboarding items to keep yourself “on target.”
Revising Your Text Less Important Information Least Important Information
You have not completed the writing process until you have revised your text. On Web pages, conciseness—saying exactly what you mean in as few words as possible—is key. Take time to review your text to include strong verbs and nouns, eliminate the passive voice and wordiness, and check your spelling and grammar. Identify What are the guidelines for writing effective online text?
Developing Content for a Web Page What is the purpose of brainstorming?
Now that you have learned some guidelines for writing online text, you are ready to look at some practical ideas to get you started writing. Activity 6.1 Evaluate Writing Styles Learn more about writing for the Web at WebDesignDW.glencoe.com.
164
Chapter 6
Generating and Organizing Ideas Brainstorming is a technique that can help you generate ideas. Write down every topic you want to include in your Web page, then write a keyword next to each one. Each keyword should be a word or phrase that identifies the topic’s core content. For example, if you were developing a Web page about Germany, you could use keywords like primary language, geographic location, attractions, and foods. After you create your list, review your keywords and determine which ones you want to use in headings. Identifying your headings will help you group your information on the page. WebDesignDW.glencoe.com
Developing a Web Page In the next activity, you will develop content for a Foods of the World fundraiser page on the Language Club Web site. When writing, be sure to follow the guidelines for creating online content.
ACTIVITY 6A Create Content for a Web Page 1 Start a word processing application or take out a sheet of paper. Place the title Foods of the World Fundraiser at the top of your page. The purpose of the event is to raise money for the Language Club’s annual trip. The audience for your Web page is parents and faculty. Write a brief paragraph (no more than 200 words) with more details about the purpose and audience of the Foods of the World Fundraiser page. 2 Brainstorm ideas for your content. Make a list of the text and graphics you want to include on your page. 3 Write keywords next to your list of ideas. Determine which keywords to use in headings. 4 Use the inverted pyramid structure to organize your ideas. Place the topic you want to emphasize at the top of your page. Then list the rest of your topics in order of decreasing importance. The least important topic should be at the bottom of your page. 5 In a word processing application or on a sheet of paper, create the content of the Fundraiser page. Refer back to your notes as you write. 6 Proofread and spell check the document. Correct the errors. 7 If using a word processing application, save your work as fundraiser.doc. You will use this document in a later activity.
Explain Why is it important to identify keywords when creating a Web page?
Section 6.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Users typically scan text for keywords.
1. Define content, inverted pyramid.
4. Draw Conclusions Why might a reader not want to read a Web page that contains too much content?
• Group online text into short chunks with concise heads. • Use bulleted lists to make text easy to read. • Use an inverted pyramid to organize Web text.
2. Summarize how reading a Web page is different from reading a printed page. 3. Identify the initial factors you need to consider when planning a Web page’s content.
5. Analyze What factors determine which keywords you will use as headings in a Web site?
Apply It! Determine Content Write a mission statement for a Web site about classes at your school. Determine the content you would include on one page of this site.
Developing Content and Layout
165
Using the Web for Learning
P
eople have been studying at home for decades by using mail, educational television, audiotapes, and videotapes. The term “distance learning,” however, has only recently become commonplace, thanks to the growth of the Internet.
Uses for Distance Learning Reputable online educational institutions offer single courses, college degrees, and technical certifications to people who cannot easily attend classes. This online option is especially helpful for people who live in rural areas or are homebound due to health or transportation problems. Many companies use computer-based training (CBT) and Web-based training (WBT) to teach employees. This option allows busy professionals to study at their own pace.
Many companies use distance learning to train their employees.
Distance-Learning Technologies There are several common technologies used for distance learning. ◆
The Internet allows students to register for a class, to view prerecorded or live lectures, interact with teachers and students, complete assignments, and take tests.
◆
Videoconferences use microphones, video cameras, and software, so that students and teachers can see and hear each other in real-time.
◆
E-mail is one way students can receive and deliver homework assignments.
◆
Web-based chat rooms allow students and teachers to engage in real-time instant message sharing.
◆
Disks like compact disks (CD-ROMs) or digital video disks (DVDs) can offer customized study for each student, feedback on student performance, and online tests.
1. Research Technology Research how people 2. Compare and Contrast Use the Internet to find around the world benefit from distance-learning two schools that offer classes through distance technologies. What cultures and circumstances do learning. Compare the courses, costs, and types of they live in? Prepare a report about your findings. technologies used by each school.
166
Chapter 6
SECTION 6.2 PLACING ITEMS ON A PAGE Focus on Reading Read to Find Out This section presents basic Web design guidelines that you should follow so that your Web pages are eye-catching and easy to understand. Read to find out how to design Web pages that will be clear and attractive for all of a site’s users.
Main Ideas
Key Terms
Reading Strategy
The best Web pages have clear, attractive layouts, which you can achieve by understanding simple Web design guidelines.
white space proximity pixel safe area screen resolution
Identify and summarize three guidelines for Web page layout. Use a table like the one below (also available online). Layout/Design Guidelines
How It Helps
Visitors find it easier to use Web sites that contain short segments of text. Similarly, visitors are attracted to pages that look uncluttered and are consistent from one page to the next.
Page Layout Guidelines What are the advantages of eliminating clutter on a Web page?
Some common design principles can guide you in laying out Web pages. Following these principles will help you create a site that is userfriendly.
Eliminate Clutter Do not place too much content on a page. Too much content can confuse a visitor and cause him or her to surf to a different site.
Activity 6.2 Evaluate Page Layouts Learn more about layout guidelines at WebDesignDW.glencoe.com.
◆ Remove Unnecessary Content Only include information that you really need. If you still have too much information, expand your page into a Web site. Divide information into logical sections and place each section on a separate subpage linked to your home page. ◆ Update Information Instead of including everything at once, update and modify information on a regular basis. ◆ Choose Function over Form Keep only elements that you need and discard elements that just add visual interest. ◆ Avoid Overkill Avoid using too many different elements such as links, colors, or scrolling text. Avoid blinking text and unnecessary animation.
WebDesignDW.glencoe.com
Developing Content and Layout
167
Use White Space
Figure 6.3 This page’s layout makes information easy to find. Why should the title be the largest item on the page?
White space is an area without content—an area where the eye can take a break as it scans the page. Use white space to create visual breaks between and around images and body text. Using white space in this manner helps frame and draw attention to your content.
Emphasize Content Size elements on your page in proportion to their importance.
Title is largest item on page
◆ A bigger design indicates more important information. ◆ A smaller design indicates that an item is less important.
Popular links are easily accessible
Top links mean users do not have to scroll
Most users look first at the largest or boldest element on the page, so make your important content larger than your less important content. Format main headings larger than subheadings or place them in a unique color or typeface.
Group Related Items The proximity (closeness) of elements on a page can cause readers to make assumptions about how elements relate to each other. If items are grouped closely together, people will assume that these items are related. Try not to create false impressions by placing items that are not related close to each other.
Align Text Consistently When laying out your page, line up items with each other. Text can be aligned to the left, to the right, or in the center. Try not to mix alignments on a page. Having to switch from right-aligned to left-aligned text can confuse your reader. Since English speakers read from left to right, paragraphs of text should be left-aligned, which is the default alignment in HTML.
Keep Download Time Short Content When designing your Web site, make sure you consider download time. If a page takes too long to download, the user might move on to another site.
168
Chapter 6
Every text or graphic item that you add to a page increases that page’s download time. This makes it even more important to avoid cramming too much content into a single page. You only have a few seconds to catch a viewer’s attention, so make sure your page downloads as quickly as possible. Figure 6.3 shows how a well-designed page follows the guidelines discussed in this section. Explain How can you emphasize important content?
Web Page Dimensions How can monitors affect how people view my Web pages?
When creating Web pages, you want to make sure that people see your important content first. To do this, you need to know how your audience’s monitors will affect how your site is viewed. A monitor’s viewing area is measured in pixels. A pixel (short for picture element) is a single point in a graphic image.
Page Dimension Guidelines Computer monitors typically have a screen area of 800 pixels wide by 600 pixels high (referred to as 800 x 600) or higher. This area is called the safe area because it displays on every Web browser/system combination. Place your most important and eye-catching information in this area because it is the space that viewers will see first.
Screen Resolution Users can also make content appear smaller or larger by changing their screen resolution, which is the amount of pixels that a monitor can display. Lower resolutions make the screen’s content appear larger, so less content is visible onscreen. Higher resolutions make the screen’s content appear smaller, so more content appears onscreen.
ACTIVITY 6B View a Page at Various Resolutions 1 Start Dreamweaver. Open your Music Department home page (index.html) in Design view (if necessary, browse to the DataFiles\ Examples\MusicDept folder in the student data files to access this site). 2 Click the Restore Down button on the document’s window. In the document’s status bar, click the Window Size drop-down arrow (see Figure 6.4). Select 760 x 420 (800 x 600, Maximized). 3 Select View>Visual Aids>Hide All to hide table borders and other Dreamweaver elements. Your screen should look similar to Figure 6.4.
Figure 6.4 The Music Department home page as it would appear on a monitor with a screen resolution of 800 x 600.
Window Size drop-down arrow
Troubleshooting If you have trouble with Step 2, be sure that you have clicked the Restore Down button rather than the Minimize button.
Developing Content and Layout
169
4 Click the Window Size drop-down arrow. Select the highest screen resolution available. For this activity, we selected 955 x 600 (1024 x 768, Maximized), as shown in Figure 6.5. If necessary, press F4 to hide the Files panel and Properties inspector.
Figure 6.5 The home page at a screen resolution of 955 x 600 (1024 x 768, Maximized).
Maximize button Design You should always preview your pages in the lowest and highest resolutions available on your computer system to see how your page looks at each extreme.
5 Select View>Visual Aids>Hide All. Click the Maximize button in the window. Press F4. Close the site when finished.
Define What does safe area mean?
Section 6.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Do not place too much content on a Web page.
1. Define white space, proximity, pixel, safe area, screen resolution.
4. Analyze Why might some viewers use a resolution of 800 x 600, while others use 1024 x 768?
• Place important content in a screen’s safe area. • View your Web pages in various browsers and at various screen resolutions. • Onscreen content appears larger at lower resolutions and smaller at higher resolutions.
170
Chapter 6
2. Identify where important content should be placed on a Web page. 3. Explain why it is important to include white space on a page.
5. Cause and Effect Why might too much clutter cause a visitor to leave the Web site quickly?
Apply It! Compare Web Designs Find two Web sites. Compare the two layouts and determine which one you believe is more effective. Explain your reasoning.
SECTION 6.3 CREATING A PAGE TEMPLATE Focus on Reading Read to Find Out The main purpose of this section is to explain how to create a custom template. Read to find out how to create custom templates when premade templates do not meet your needs.
Main Ideas
Key Terms
Reading Strategy
Creating a custom template provides consistency among the pages on a site and simplifies producing individual pages. The template can contain the elements that will appear on every page.
template logo title graphic table column row cell
Describe the following parts of a table: column, row, cell, header row, and header column. Use a table similar to the one below (also available online). Part
Description
A template is a reusable pattern that you can use to lay out elements on a Web page. Templates make it easy to create a new Web page or site.
Designing a Template What common elements are found in most templates?
Most Web pages contain the elements shown in Figure 6.6. Some Web development applications provide premade templates with placeholders for these basic elements. Dreamweaver provides premade page designs (accessible from the Start page) but these are not templates. A template is a predesigned pattern for a Web page. Page designs are designs for part of a Web page, that you put together to create a custom template. Using a custom template helps you meet the specific needs of your site.
Logo
Graphic
The Language Club
Figure 6.6 Each page in the Language Club site will follow a similar format. What is a template?
Title graphic
Home Navigation links
About Us Events
Body
Contact Us
E-mail Webmaster Copyright info
WebDesignDW.glencoe.com
Footer
Developing Content and Layout
171
In the following activity, you will begin creating the Language Club site’s basic template. You will also insert the site’s background graphic. This graphic will give the pages a standard appearance throughout the Web site.
ACTIVITY 6C Create a Page Template 1 Start Dreamweaver. On the Start page, in the Create New column, select Dreamweaver Site. In the Site Definition dialog box, name your site Language Club. Click the Next button. Select No, I do not want to use a server technology. Click Next. 2 Under How do you want to work with your files during development?, choose Edit local copies on my machine, then upload to server when ready (recommended). When you see Where on your computer do you want to store your files?, ask your teacher for the location. Either browse to the location on the hard drive by clicking on the folder icon or key the path directly. Click the Next button. 3 Click the How do you connect to your remote server? drop-down arrow and select None. Click Next. A summary of your settings will appear. Click Done. The site has been defined. On the Start page, under Create New, select HTML. (If necessary, select Design view.) 4 Right-click in the Document window and select Page Properties. 5 In the Page Properties dialog box, under Category, make sure Appearance is selected. Change the Page font as shown in Figure 6.7. Key the hexadecimal values for Text color and Background color into the boxes as shown. Change Left margin and Top margin to 0.
Figure 6.7 In the Appearance section of the Page Properties dialog box, you can modify font, color, and margin settings.
6 Next to Background image, click the Browse button. In the Select Image Source dialog box, click the Look in: drop-down arrow and browse to the DataFiles\Ch06\Images folder. Double-click the background_stripes.gif file. 7 If you see a dialog box with To make a document-relative path, your document should be saved first, click OK. In the second dialog box, click Yes to have Dreamweaver copy the image file to the site folder. 172
Chapter 6
8 In the Copy File As dialog box, click the Create New Folder icon. Name the new folder images. Double-click the images folder and then click the Save button to save the image file in this folder. Under Category, click Title/Encoding. In the Title box, key: Language Main. Click OK to close the Page Properties dialog box. 9 Choose File>Save as Template. In the dialog box, key: Language_Main in the Save as box (see Figure 6.8).
Figure 6.8 The name of your template will be Language_Main.
10 Click Save. Your screen should look like Figure 6.9. In the Document window, notice the file tab displays Language_Main.dwt. The file extension .dwt stands for Dreamweaver Template.
Figure 6.9 The finished template.
Explain Why would you want to create a custom template? Developing Content and Layout
173
The Language Club Logo What is the function of a logo on a Web page? Caution Include alternative text with graphics. Accessibility guidelines require all graphics to have alternative text.
A logo is a symbol used to represent a business or an organization. On many Web sites, clicking the logo will return users to the site’s home page. A title graphic, also called a page header, is an image that appears at the top of every page on a Web site. In the following activity, you will add the Language Club logo to the site’s template. You will also add alternative text to the graphic. Alternative text is text that appears on the screen if the image is not available.
ACTIVITY 6D Add a Logo 1 If necessary, open your Language_Main.dwt file. Open the Insert toolbar. On the Insert toolbar, click the Images button. 2 In the Select Image Source dialog box, browse to the DataFile\Ch06\ Images folder. Double-click the lc_logo.jpg file. If necessary, in the dialog box, click Yes. Double-click the images folder and then click the Save button to save the image file to this folder. 3 Select the logo graphic. If necessary, press Ctrl + F3 to open your Properties inspector. In the Alt box, key: The Language Club. In the Link box, key: index.html. 4 Your template should look like Figure 6.10. Save your template file. In the dialog box that says This template doesn’t have any editable regions. Are you sure you want to continue?, click OK.
Figure 6.10 You have created a template in which the logo on each page is linked to the site’s home page.
Alt Link
Explain In many Web sites, what happens when the user clicks the site’s logo? 174
Chapter 6
Tables
Figure 6.11
How are tables a useful organization tool?
Many designers use tables to organize and lay out text and graphics on a Web page. A table consists of vertical columns and horizontal rows. Each individual square within a table is called a cell (see Figure 6.11). Columns
CLUB MEETINGS
DATE
TIME
French Club
Mondays
6:00 p.m.–9:00 p.m.
German Club
Wednesdays
6:00 p.m.–8:00 p.m.
Spanish Club
Saturdays
12 :00 p.m.–2:00 p.m.
A table consists of vertical columns and horizontal rows. How could you quickly determine the number of cells in this table?
Header row
Rows
Cell
ACTIVITY 6E Create a Table 1 Open your Language_Main.dwt file in Design view. Click after the logo. Press Shift + Enter to move the insertion point below the graphic. 2 On the Insert toolbar, click the Table button. 3 In the Table dialog box, key the settings shown in Figure 6.12. Click OK.
Figure 6.12 You can enter the table settings you want in the Table dialog box.
4 Move the mouse pointer over the downward-pointing arrow in the table’s first column. Click and choose Select Column. In the Properties inspector, click the Merges selected cells using spans button. The three cells merge into one cell. 5 In the Properties inspector, click the Horz drop-down arrow. Choose Left. Click the Vert drop-down arrow and choose Top. This changes the horizontal and vertical alignment of objects in the cell. 6 In the Properties inspector, in the W box, key 180 to modify the column’s width. Press Enter. Click inside the top cell in the right-hand column. In the Properties inspector, in the H box, key 25 to modify the cell’s height. Press Enter. Developing Content and Layout
175
7 Click in the table’s top-right cell. On the Insert toolbar, click the Templates drop-down arrow and choose Editable Region. In the New Editable Region dialog box, in the Name box, key: header. Click OK. 8 Click in the middle cell of the right-hand column. Click Templates and choose Editable Region. In the Name box, key: content. Click OK. 9 Your template should now look like Figure 6.13. Save your work.
Figure 6.13 The editable header region allows you to customize each page’s header.
Compare What is the difference between a column and a row?
Section 6.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Templates help designers organize common Web page elements.
1. Define template, logo, title graphic, table, column, row, cell.
• Designers can create custom templates to meet the needs of a specific site.
2. Explain how a custom template differs from a premade template.
4. Compare and Contrast Describe two situations in which it would be better to enter text in a table rather than in paragraph form.
• Logos and title graphics help give each Web page in a site a consistent visual appearance. • Tables help organize a page’s content into rows and columns.
176
Chapter 6
3. List three properties of a table data cell that can be set in the Properties inspector. Explain the function of these three properties.
5. Draw Conclusions What would a user see on the screen if the graphic were not available and no alternative text had been included?
Apply It! Create a Table Review the notes you took in one of your classes. Organize some of the information you learned into a table. If possible, use a technology tool to create your table.
SECTION 6.4 ENHANCING THE TEMPLATE Focus on Reading Read to Find Out In this section, you will learn how to add elements to a template. Read to find out how to create navigation buttons and text links.
Main Ideas
Key Terms
Reading Strategy
You can insert navigation buttons into a template so that when you create each page, the links will already be established. Page footers typically include text links, an e-mail link to the Webmaster, and copyright information.
navigation button hover button interactive button active button link bar footer
Compare and contrast navigation buttons and text links. Use a Venn diagram like the one below (also available online). Buttons
Text Links
The Language Club template is almost complete. In this section, you will add navigation buttons and insert the template’s footer information.
Navigation Buttons What is the purpose of navigation buttons?
A navigation button is a button that users click to locate additional information and to navigate to other Web pages. There are different types of navigation buttons. ◆ A hover button, also called a rollover button, is a navigation button that changes appearance when touched or clicked by a mouse pointer. A hover button is a type of interactive button (sometimes called a dynamic button). An interactive button lets users know that an action has taken place, which increases the site’s user-friendliness.
You Should Know You can add premade button graphics to your Web pages and Dreamweaver will add the hover (or rollover) scripting automatically.
◆ A clicked button is referred to as an active button, because it is in the process of doing something, such as transferring the user to another Web page. Navigation buttons in the Language Club Web site will be vertically aligned at the left side of the template. A related group of horizontally or vertically aligned links is called a link bar (also referred to as a navigation bar). Placing a link bar in a Web page template helps users in several ways. ◆ The bar is easy to locate because it is always in the same position. ◆ Links are easy to find because they are always in the same order.
WebDesignDW.glencoe.com
Developing Content and Layout
177
ACTIVITY 6F Add Navigation Buttons 1 Open your Language_Main.dwt file in Design view. Click in the table’s left-hand column. 2 On the Insert toolbar, click the Images drop-down arrow. Choose Rollover Image. In the Insert Rollover Images dialog box, in the Image name box, key: Home.
Table 6.2 Change the information in the Insert Rollover Image dialog box to create each new button. Double check the URL for each image. They must be entered exactly as shown.
3 Next to the Original image box, click Browse. Browse to the DataFiles\Ch06\Images folder. Double-click nav_home_blue.gif. When asked if you would like to save the file, click Yes. Save the file in your images folder. 4 Next to the Rollover image box, click Browse. Browse to the DataFiles\Ch06\Images folder. Select the nav_home_red.gif file and save it in your images folder. 5 In the Alternate text box, key: Home. In the When clicked, Go to URL box, key: index.html. Click OK. 6 Repeat Steps 2 through 5 to create the About Us, Events, and Contact Us navigation buttons. Use Table 6.2 to create the buttons.
Navigation Buttons Image Name
Original Image
Rollover Image
Alternate Text
When Clicked, Go to URL
About Us
nav_about_blue.gif.
nav_about_red.gif
About Us
about_us.html
Events
nav_events_blue.gif
nav_events_red.gif
Events
events.html
Contact Us
nav_contact_blue.gif
nav_contact_red.gif
Contact Us
contact_us.html
7 Your link bar should look like Figure 6.14. Save your work. Preview your page in a browser. (Click OK if This template doesn’t have any editable regions. Are you sure you want to move? appears.) Move your mouse pointer over the buttons to see each one turn from blue to red.
Figure 6.14 The template contains a link bar with four rollover buttons.
Link bar
8 Close your browser. Click the Images drop-down arrow. Choose Image. Close the Select Image Source dialog box. Close the Language_Main.dwt file.
Describe What is the purpose of a navigation button?
178
Chapter 6
Footer Information Why is footer information important on a Web site?
A Web page’s footer usually contains copyright information, dates, contact information, and text links. The footer for the Language Club Web pages will have the following: ◆ Text links
You Should Know In Dreamweaver, if a footer is part of a template, then it can only be edited in the template file.
◆ E-mail address for the Webmaster ◆ Copyright information You will center each of these items horizontally on a separate line at the bottom of the template.
ACTIVITY 6G Add Footer Information 1 Open your Language_Main.dwt file in Design view. Click in the bottom cell of the right-hand column. 2 In the Properties inspector, click the Size drop-down arrow and select 12. 3 Key the text below, including the vertical line between each link. (To create the vertical line, press Shift + \). Place a space between each item you key: Home | About Us | Events | Contact Us 4 In the Properties inspector, click the Horz drop-down arrow and select Center. Any text or objects placed in this cell will be centered.
Shortcut To center text, you can also choose the Center Align button in the Properties inspector.
5 Press Shift + Enter and then key: Questions or comments about the Web site?. 6 Press Shift + Enter and key: Copyright 2008 – Language Club. 7 Your screen should look like Figure 6.15. Proofread your work and make any needed corrections. Save your work.
Figure 6.15 The template’s footer with footer information added.
Developing Content and Layout
179
Text Links You should always include text links in your footer. Like interactive buttons, text links often change colors to show whether the link has been clicked. Even if you use Dreamweaver’s default settings, you should always set your hyperlink colors to make sure that they work well with your site and do not blend into the background. Also confirm that the colors assigned to nonvisited, visited, and active links are consistent throughout your site.
ACTIVITY 6H Add Text Links 1 If necessary, open the Language_Main.dwt file in Design view. 2 In the page’s footer, select the word Home. In the Properties inspector, in the Link box, key: index.html. Press Enter. The text changes color to indicate it is a link. 3 Repeat Step 2 for the remaining About Us, Events, and Contact Us links. Use the information shown in Table 6.3.
Table 6.3 Each text link connects to a specific URL. Key the link exactly as shown.
Text
Link
About Us
about_us.html
Events
events.html
Contact Us
contact_us.html
4 Right-click a blank area of the page and select Page Properties. In the Page Properties dialog box, under Categories, select Links.
Figure 6.16 Use the Page Properties dialog box to set the color of links on your Web page.
180
Text Links
Chapter 6
5 Use the values shown in Figure 6.16 to key in the hexadecimal colors for Link color, Rollover links, Visited links, and Active links. Note that it is standard to have links be blue, rollover links red, visited links purple, and active links red. Click OK and save your work.
Links to E-mail Windows The last step in creating the Language Club template is to create a link to an e-mail window (also referred to as an e-mail hyperlink). When visitors click the Webmaster link at the bottom of the page, an e-mail window will pop up that contains the Webmaster’s e-mail address. This feature allows visitors to send messages to the Webmaster.
ACTIVITY 6I Add a Link to an E-mail Window 1 If necessary, open the Language_Main.dwt file in Design view. Position the insertion point after Questions or comments about this Web site? Press the spacebar once. 2 Choose Insert>Email Link. In the Email Link dialog box, in the Text box, key: E-mail the Webmaster. 3 In the E-Mail box, key your e-mail address (or another address, as instructed by your teacher). Click OK.
Figure 6.17
4 Your screen should look similar to Figure 6.17. Look at the Link text box in the Properties inspector. Notice that the text “mailto:” is automatically inserted at the beginning of the e-mail address you keyed.
A link to the Webmaster is inserted into the template’s footer.
E-mail to Webmaster link
Mailto automatically inserted
5 Spell check and proofread your template. Since you will build your Web pages on this template, you want to make certain everything is correct. If you make any changes, be sure to resave the page. Developing Content and Layout
181
6 Preview your template in several different browsers, and at several resolutions. Your screen should look similar to Figure 6.18. Close your browser(s). Make any needed corrections and resave your work. Close the Web site and exit Dreamweaver.
Figure 6.18 The finished template as viewed in a browser.
You have now created a template that will be the basis for each Language Club Web page. In the next chapter, you will use this template to create pages for the Web site. Describe What information does a Web page’s footer usually contain?
Section 6.4 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• A hover button changes appearance when touched by a mouse pointer.
1. Define navigation link, hover button, interactive button, active button, link bar, footer.
• A related group of horizontally or vertically aligned links is called a link bar.
2. Identify at least two ways that you can control a navigation button’s appearance.
4. Analyze What are the primary advantages of interactive buttons on Web pages? What are the advantages of text links?
• Including a link to an e-mail window helps users contact the site’s Webmaster or owner.
182
Chapter 6
3. Explain the purpose of an e-mail window.
5. Synthesize Besides using interactive buttons, how else can a Web designer make a site more user-friendly?
Apply It! Create a Footer Open the MySkills page you created in Chapter 4. Add a footer to the page that contains an e-mail contact and a copyright notice.
CHAPTER 6
Reading Review
SECTION 6.1 Creating Web Site Content
SECTION 6.3 Creating a Page Template
Key Terms
Key Terms
content, 162 inverted pyramid, 164
template, 171 logo, 174 title graphic, 174 table, 175
Main Ideas ■ Users typically scan text for keywords. ■ Group online text into short chunks with concise ■ ■
■ ■
heads. Use bulleted lists to make text easy to read. Format main headings larger than subheadings and use different colors and typefaces to help main headings stand out. Use an inverted pyramid to organize Web text. Brainstorming is a useful technique for generating and organizing online content.
SECTION 6.2 Placing Items on a Page Key Terms white space, 168 proximity, 168 pixel, 169
safe area, 169 screen resolution, 169
Main Ideas ■ Do not place too much content on a Web page.
■ ■ ■
■
Include white space to keep the page from looking too cluttered. Place important content in a screen’s safe area. Make sure you consider a page’s download time when adding text and graphics. View your Web pages in various browsers and at various screen resolutions to see how they will appear to different users. On-screen content appears larger at lower resolutions, and smaller at higher resolutions.
column, 175 row, 175 cell, 175
Main Ideas ■ Templates help designers organize common
Web page elements such as logos, title graphics, navigation links, and footers. ■ Designers can create custom templates to meet the needs of a specific site. ■ Logos and title graphics help give each Web page in a site a consistent visual appearance. ■ Tables help organize a page’s content into rows and columns.
Main Ideas ■ A hover button changes appearance when touched ■ ■ ■ ■
by a mouse pointer. A related group of horizontally or vertically aligned links is called a link bar. Including both text links and graphic navigation links makes a site more user-friendly. Visited text links are typically a different color from nonvisited and active links. Including a link to an e-mail window helps users contact the site’s Webmaster or owner.
Developing Content and Layout
183
CHAPTER 6
Review and Assessment
AFTER YOU READ Create a Study Guide Go back to the questions you created from the colored headings in the text. Use these questions to create a study guide for reviewing the chapter content. If your teacher agrees, you might want to form a small group to share your questions as a review activity.
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
15. Identify how you can use headings to create a well-organized Web site.
Reviewing Key Terms 1. What elements make up a Web page’s content? 2. What should you use to create visual space between images and body text? 3. What is a pixel? 4. Which of the following items should be placed in a page’s safe area: footer, logo, text link? 5. What is the standard screen resolution that most Web designers target? 6. Why is it helpful to use a template when creating a Web page? 7. True or false: A table consists of vertical rows and horizontal columns. 8. Rewrite this statement to make it true: A navigation button is a symbol used to identify a business or an organization.
Understanding Main Ideas 9. Describe how the size of an element affects a user’s perception of content. 10. Discuss how you can use an inverted pyramid to organize your ideas. 11. Explain why it is necessary to keep important elements within certain areas of the Web page. 12. Discuss why Web designers use tables in the design of a Web page. 13. Explain how table rows, columns, and cells are related to one another. 14. Discuss ways in which link bars make Web pages more user-friendly. 184
Chapter 6
Headings
16. List four properties that you can modify for a table within the Properties inspector, and what the modification would change. Property
Result of Modification
Property #1
Critical Thinking 17. Describe three situations in which an interactive button’s appearance might change. 18. Identify two situations in which you might want to include links to an e-mail window. Then give two reasons a site might use text links and graphic navigation links. Explain your answer. 19. Compare and Contrast Do you prefer reading a magazine in print or online form? Why do you prefer one over the other? Analyze how online magazines present their articles compared to the print editions. How do these magazines adapt their content to suit online readers? What online magazine do you read? Use that online magazine to illustrate your answers.
CHAPTER 6
Review and Assessment
20. Analyze Content Imagine designing a Web site for your favorite movie. Following the rule of function over form, identify the elements that you would include on your home page and those you would resist including. Explain your answers. 21. Evaluate Layout You are a professional Web designer. Evaluate how you might use premade templates, custom templates (that you have created), or custom-designed sites in your business. Use a matrix like the one below to organize your ideas. Premade Templates
Custom Templates
Custom-Designed Sites
Charts & Graphs Read the paragraph and chart below and then answer the question.
The chart below shows the results of a survey in which students from 72 schools, grades K–12, described how they participated in distance learning. Participation in Distance Learning 50% 40% Classes Shared with Other Schools
30%
Research Projects Science Fair Projects
20%
E-mail Communication
22. Analyze Design Describe ways in which a well-designed Web page provides visual cues to help users navigate the site. Explain how these visual cues help make a site more user-friendly. 23. Evaluate a Web Site Choose a Web site and analyze the site’s home page. Then, describe the visual cues that help users navigate that site. Is the site userfriendly? Are the visual cues working? Use examples to support your ideas.
10% 0%
According to the chart, which of the following statements is true? Over 50% of the students shared classes with other schools. Only 5% of the students used distance learning for research projects. At least 18% of the students used e-mail. Fewer than 5% of the students participated in science fair projects.
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items.
WebDesignDW.glencoe.com
On your own paper, copy and complete the chart shown below.
Study with PowerTeach
24. 25. 26.
Result
+
Result
+
WebDesignDW.glencoe.com
Go to the book Web site shown above. To review the main points in this chapter select e-Review>PowerTeach Outlines>Chapter 6.
Online Self Check Result
Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 6. Developing Content and Layout
185
CHAPTER 6
Activities
1. MAKING CONNECTIONS Language Arts—Write Web Text Rewrite the following text for use on a Web page. Use headings and bulleted lists to break the text into smaller sections. Then, create a basic Web page using your revised text. Cape Cod, Massachusetts, is a popular vacation destination. In the summer, you can swim in the ocean, go on a whale-watching expedition, or walk the beach on Cape Cod Bay. In the fall, you can take nature walks at the National Seashore, attend cranberry harvest festivals, or visit Plymouth Plantation to learn how the pilgrims lived. Many people also visit Cape Cod in the winter to enjoy the snow and to attend the holiday festivals. If you are planning a visit to Cape Cod in the spring, plan to spend time visiting the many museums, parks, and other historical monuments.
2. STANDARDS AT WORK Students use telecommunications to collaborate, publish, and interact with peers, experts, and other audiences. (NETS-S 4)
Evaluate Layout You have been hired by a Web design company to evaluate Web sites of the company’s designers. Go to the home page of a Web site you visit often. Assume this site was designed by one of the company’s designers. Evaluate the page’s layout and prepare an evaluation that you could send to the Web designer. 1. Create an evaluation. In your evaluation, consider whether important content is emphasized. Where does your eye go first? Are related items grouped together? Use a table like the one shown below to evaluate the page’s layout. PAGE TRAIT
EVALUATION
Important Content White Space Proximity Alignment
2. Write an e-mail that summarizes your evaluation. Be sure to include the link to the page you reviewed. With your teacher’s permission, exchange e-mails with another student or exchange printouts of your evaluations. Review each other’s evaluations. Reply to the other student’s evaluation explaining why you agree or disagree. 186
Chapter 6
CHAPTER 6
Activities
3. TEAMWORK SKILLS Evaluate Content Select one Web page you have created and have it reviewed by your peers. Following your teacher’s instructions, form a team with three other students. Make sure that no one in the team has seen each other’s pages. Look at the first Web page for ten seconds. As a group, discuss the following: 1. Look at the whole Web page. What is the Web page about? 2. Is information easy to see and understand? Why or why not? 3. Compare the use of text and graphics to convey information. Did the author choose form over function? Explain your answers to your team. 4. What theme or scheme do you see? (What are the coordinating colors, text enhancements, graphic enhancements, people enhancements?) 5. Describe how the site is user-friendly. 6. How can the page be improved? The team must agree on how the page should be revised. Repeat this for each member’s Web page. Make any needed changes to your page, and share the pages again as a group. Point out how you improved your page and see if your team members agree.
4. CHALLENGE YOURSELF Create a Template Use Dreamweaver to design a template based on the diagram below. This template can be used to create a photo gallery. Include placeholder text as appropriate. The text can describe the expected content for the page. Save the template and give it an appropriate name. Logo and title graphic
Short paragraph introducing photos
Table with six cells Navigation buttons Text links
After you have created the template, create a second photo gallery template. Use the same information from the diagram, but redesign the template so that it is different from the first. On your own paper, sketch a diagram of the new template. Then, use Dreamweaver to create it. Developing Content and Layout
187
CHAPTER 6
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Create Web Content Family friends have just opened an Italian restaurant. They want you to design a Web site that contains their menu, phone number, and e-mail so that customers can make reservations or call in take-out orders. Make a list of keywords that apply to the restaurant. Use the information from their advertisement (shown right) to write the content for the site’s Featuring the best pasta in town, outstanding home page. pizza, and terrific panini sandwiches! Write the content for the restaurant’s menu page.
2. Create a Template
At Giovanni’s, we offer the finest food at reasonable prices! Our chef brings his authentic family recipes direct from Italy.
Create a template for the restaurant site in You Try It Come dine with us at 1234 Riverview Avenue. Skills Studio #1. Call in advance for reservations or takeout orders. Sketch a layout for the home We also deliver. page that uses a two-column table. The template must also Reach us by phone 323-555-5555 or e-mail at include a logo, a title, a footer, [email protected] and navigation buttons. Place the navigation buttons in the table’s left column and the page’s content in the right column. Create a template in Dreamweaver for the site’s home page based on your sketch. Add the home page content you wrote in You Try It Skills Studio #1. Add navigation buttons for other pages in the site. ◆ Menu page ◆ Restaurant Events page ◆ Employee of the Month page
Add text links and E-mail the Webmaster in the footer. Add a link from E-mail the Webmaster to an e-mail window. Save your work.
188
Chapter 6
CHAPTER 6
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Develop Content for a Template In Chapter 5, you created a storyboard and thumbnails for a Web site about a local band. Use the storyboard and thumbnails to plan the content for the home page and create the Web site. First, write the content for the home page. Then, create a template for the site. The template should include a title bar, navigation buttons, and a footer. Plan a table for the template that places navigation links and content in appropriate places. Enter the content information for the home page. As you create the page, evaluate whether or not you should break the information into pieces and place it on multiple Web pages. Determine which information would belong on which page in your site. Then, create the additional pages in the Web site, but do not add content to them. Link all pages using the navigation structure shown in your storyboard.
2. Create a Personal Web Site Plan and create a personal Web site template. First, sketch a storyboard for your template. The template should include a title area, a navigation menu, a graphic placeholder, a text placeholder, and a footer. Your personal Web site will include at least three other pages. As you design your template, think about what pages you will have in your site. Ideas for pages include a portfolio page showing work you are proud of, an interests page describing your hobbies, pages for one or more of the classes you are taking, a creativity page for ideas you want to explore further or use later, or a résumé page. Based on your sketch, use Dreamweaver to create the template for your site. Be sure to include a link bar and text links. Use appropriate colors on your template page. Save your work.
My Web Site My Hobbies My Classes
All About Me
Image
My Portfolio P Text ext Links Copyright Information E-mail the Webmaster
Developing Content and Layout
189
CHAPTER
7
Selecting Design and Color
YOU WILL LEARN TO… Section 7.1 Identify presentation design principles Use a custom template Add pages to a navigation structure Section 7.2 Use color scheme guidelines Add colors to a Web site Identify Web-safe colors Section 7.3 Adjust text properties Summarize formatting guidelines Format text in Dreamweaver
WHY IT MATTERS ................................................. Imagine traveling to another state and finding that the road signs look different from place to place. To avoid confusion, roads and highways in the United States have standardized designs. For instance, an octagon shape is always a stop sign. Consistency in Web design is just as essential. In this chapter, you will learn the skills and concepts to design consistent Web sites. Think about a tool that you use every day (a pen, television set, computer, etc.). Write a short paragraph identifying the features or controls that make this tool easy to use. What would happen if you used a similar tool that did not have these features? How easy or hard would it be to relearn how to use this tool if it were redesigned?
190
Chapter 7
CHAPTER
7
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 7.1 Compare and Contrast Graphics ..................................... 197 7.2 Explore Background Colors ...... 201 7.3 Evaluate Fonts ............................ 209 You Try It Activities 7A Use a Template to Create New Pages .................................. 7B Organize the Site’s File Structure .................................... 7C Insert Page Headers .................. 7D Add Content and Color to the Home Page.................................. 7E Format Text ................................
193 195 196 199 208
You Try It Skills Studio Format Text in Tables ........................ 216 Add a Contact Us Page ...................... 216 Web Design Projects Add Text to a Web Page ..................... Refine Your Personal Web Site ........ Write for a Web Audience ................. Create a Web Site About Your Community ......................................... Create a Food Festival Web Page .....
217 217 218 218 219
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Chapter Assessment Making Connections ......................... Standards at Work ............................ Teamwork Skills ................................ Challenge Yourself ............................
214 214 215 215
Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Get Creative An excellent way to stay engaged in your reading is to make associations while you read. For example, drawing an image of a piece of computer hardware and labeling it helps you remember it. Thinking of an easy-to-remember rhyme or setting a series of short steps to music is another way to help your brain make associations for easier recall. Your memory trick does not have to be beautiful or impressive—it only has to mean something to you.
WebDesignDW.glencoe.com
Selecting Design and Color
191
SECTION 7.1 PRINCIPLES OF PRESENTATION DESIGN Focus on Reading Read to Find Out The main purpose of this section is to explain the core principles of good Web design. Pay close attention to the key terms consistency and repetition. Read to find out how Web designers use the principles of consistency and repetition to develop well-designed sites.
Main Ideas
Key Terms
Reading Strategy
Well-designed Web pages follow the principles of consistency and repetition. Using consistent visual elements and placing key items in the same place from page to page help make a site user-friendly.
consistency repetition page header
Identify five presentation design principles. Use a web diagram similar to the one below (also available online).
Presentation Principles
A user-friendly Web site is a site that visitors feel comfortable navigating. Two features that make Web sites user-friendly are consistency and repetition. These are important elements of presentation design.
Consistency and Repetition Activity 7.1 Explore Presentation Design Find out more about presentation design by visiting WebDesignDW.glencoe.com.
How do Web designers use consistency and repetition to develop well-designed Web sites?
To make a visitor to your site feel at ease and comfortable, you will want to establish a consistent design theme throughout your Web site. Consistency is a similarity among the parts of a whole. From its home page to its subpages, your Web site should have the same look throughout, from the graphics to the layout to the writing style. For example, every page should have the same logo, header graphics, navigation, and footer information. A consistent design: ◆ helps users become familiar with the site quickly. ◆ puts users at ease. ◆ makes it easier for users to find information quickly. Another characteristic that users expect in Web sites is repetition. Repetition is the duplication of specific elements on all (or most) of a site’s pages. Repeating elements on your Web pages allows users to become familiar and comfortable with your site quickly. Elements that every Web page should have are shown in Figure 7.1 on page 193.
192
Chapter 7
WebDesignDW.glencoe.com
Figure 7.1
Title of the page and where it is in the site
A logo or name of the site
Repeating elements helps users learn where items are located quickly. Why is it important that users are comfortable with a Web site?
Web Page Elements Navigation options
A link back to the home page
Following the principles of consistency and repetition on your Web pages will make users more comfortable with your site. This, in turn, will encourage users to visit the site more often. Summarize What four elements should be the same on every page in a Web site?
Jargon The term experience design refers to creating an environment that customers can relate to on an emotional level.
Using a Template How can using a template help me create a well-designed Web site?
Using a template is a good way to create a user-friendly Web site. Templates help you build consistency and repetition into your Web site and give the site a unified design from page to page.
Assigning Page Titles and File Names In the following activity, you will use the page template you developed in Chapter 6 to create a home page and three subpages for the Language Club Web site. You will then assign page titles and file names to each of these pages.
Shortcut To display the files for a Web site, press F8.
ACTIVITY 7A Use a Template to Create New Pages 1 Start Dreamweaver or, if necessary, close any open sites to see the Dreamweaver Start page. 2 In the Start page, under Create New, click the More folder. 3 In the New Document dialog box, click the Templates tab. Under Templates for, select your Language Club site. Under Site, select Language_Main. Click Create to open the template. 4 At the top of the page, in the Title box, select Language Main (see Figure 7.2). Key: Language Club – Home Page. Press Enter.
Figure 7.2 Enter the title of the home page in the Title box.
5 Choose File>Save As. Name the file index.html. Click Save. Selecting Design and Color
193
6 Choose File>New (or press Ctrl + N) to display the New from Template dialog box. Follow steps 3 through 5 to create three additional Web pages. Use the page titles and file names shown in Table 7.1 to create these new pages.
Table 7.1
Page Titles and File Names
Assign each page the page title and file name shown here.
Page Title
File Name
Language Club – About Us
about_us.html
Language Club – Events
events.html
Language Club – Contact Us
contact_us.html
7 When complete, your file list should resemble the list shown in Figure 7.3. Save your work.
Figure 7.3 Four pages have been created using the Language_Main template.
Troubleshooting Your file names must match Table 7.1 exactly in order for the links created in Chapter 6 to work properly. Double check the names before saving the file.
Pages and Navigation Structure Now that you have set up the pages for the Language Club site, you will need to create a folder in which to put the subpages. One way is to make an individual folder for each section. For example, the About Us section would appear in the browser as: http://www.myschool.com/ about_us/about_us.html. Another way is to create a single “pages” folder and place all the subpages into it. The About Us section would then appear as http://www.myschool.com/pages/about_us.html. In the following activity, you will create a pages folder to store your Language Club Web site pages. 194
Chapter 7
ACTIVITY 7B Organize the Site’s File Structure 1 In the Files panel, right-click your Language Club Web site’s index_html file. In the options menu, select Set as Home Page. Right-click Site – Language Club and choose New Folder from the menu (see Figure 7.4). Name the new folder: pages.
Figure 7.4 Files panel menu with New Folder option selected.
You Should Know To create a third-level page, follow the steps to create a new page based on the template. On the page you would like to link to it, create a button or hyperlink to the new page.
2 Select the about_us page, then hold the Ctrl key down and select the contact_us and events pages. Drag the files into the pages folder. In the Update Links dialog box, click Update. 3 Your Files panel should look like Figure 7.5. In the Files panel, select Map view and click Expand/Collapse to view the site’s navigation map. Click Expand/Collapse again and return to Local view.
Figure 7.5 The three subpages added to the pages folder.
4 Preview your site in a browser. If you have any broken links, ask your teacher how to fix them.
Selecting Design and Color
195
Page Headers In Chapter 6, you created sections in the Language Club template for both page headers and footers. Page headers, also known as page banners, are typically graphics that appear at the top of a page. These graphics identify: ◆ the site. ◆ the section you are currently in. ◆ the site’s primary navigation (possibly). In the next activity, you will add a page header to each section of the Language Club site.
ACTIVITY 7C Insert Page Headers 1 In the Files panel, double-click index.html to open it. 2 Double-click the header editable region. Press Delete to remove any text that may be in the section. 3 Choose Insert>Image (or press Ctrl + Alt + I). In the Look in box, browse to the DataFiles\Ch07\Images folder. 4 Double-click the file hdr_welcome.gif. If necessary, click Yes. Save the file in your Web site’s images folder. 5 The header graphic is inserted into the home page, as shown in Figure 7.6.
Figure 7.6 The page header inserted into the home page.
Design Headers should be similar in appearance on both home and subpages to add consistency to a site.
Page header
6 Make sure the image is still selected. In the Properties inspector, in the Alt box, key: Language Club Web Site. Press Enter. 7 Choose File>Save to save the page. 196
Chapter 7
8 Repeat steps 1 through 7 for the subpages about_us.html, events.html, and contact_us.html. For each page, insert the header graphic and alternative text shown in Table 7.2. Make sure you save each page’s graphic file in your Web site’s images folder. Be careful to insert the correct graphic file into each page.
Table 7.2
Page Header Information File Name
Graphic
Alternative Text
about_us.html
hdr_aboutus.gif
About Us
events.html
hdr_events.gif
Events
contact_us.html
hdr_contactus.gif
Contact Us
Insert the graphic and alternative text for the remaining three pages.
9 When finished, select File>Close All. Save your changes if prompted to do so.
You have now completed the basic framework of the Language Club site. You can use the skills learned in this section to create a simple site or a site with multiple pages. In the next sections, you will develop the site by adding content and text formatting. Describe What is the purpose of a page header?
Section 7.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Two characteristics of most well-designed Web pages are consistency and repetition.
1. Define consistency, repetition, page header. 2. Explain why consistency and repetition are important design principles.
4. Analyze How does a template help to make a site consistent? How may templates both help and hurt the development of a site?
3. List three items that are typically repeated on a Web site’s main pages. Why are these three items typically repeated?
5. Synthesize Discuss several ways in which you rely on consistency and repetition in your daily life. Provide examples.
• Elements such as page headers, logos, and link bars should be repeated on the site’s main pages in order to make a site easier to navigate. • A page header (banner) helps users identify where they are in a Web site. • A template helps Web designers make a Web site consistent.
Apply It! Compare and Contrast Graphics Each Language Club Web page has a graphic that identifies the entire site and a graphic that identifies each individual page. How are these two graphics different from one another? How are they alike?
Selecting Design and Color
197
SECTION 7.2 CHOOSING COLORS Focus on Reading Read to Find Out Ask yourself why choosing appropriate colors is an important part of designing a Web site. How does choosing colors relate to the two design goals of consistency and repetition? Read to find out why selecting a color scheme plays a crucial role in Web site development.
Main Ideas
Key Terms
Reading Strategy
A Web site’s color scheme should both appeal to visitors and create a sense of continuity throughout the pages. Using hexadecimal values for colors ensures that the colors will appear the same to all users.
color scheme Web-safe color
Identify four color scheme guidelines. Use a web diagram similar to the one below (also available online).
Color Scheme Guidelines
Color adds impact and visual interest to Web pages. As the designer, you decide what colors to use and how to apply them to each page. You should, however, keep certain guidelines in mind when choosing colors.
Color Scheme Guidelines Activity 7.2 Select Color Schemes Find out more about using color in your Web pages by visiting WebDesignDW.glencoe.com.
What do I need to consider when choosing a color scheme?
A color scheme, also known as a color palette, is the selection of colors you use throughout your Web site. As you choose a color scheme, limit the number of colors to no more than three. Select colors that complement the site’s theme and purpose. Color scheme guidelines are shown in Figure 7.7.
Figure 7.7 Selecting a color scheme is an important part of designing a Web site. Why should you try to choose contrasting colors when selecting a color scheme?
Color Scheme
Bold colors
Limiting colors
Excessive color and use of color on color
➠ ➠ ➠ ➠
Reinforces consistency and repetition
Highlight important information
Creates unified look and feel
Makes it difficult to read content
Evaluate Why is it important to choose a color scheme that supports a Web site’s theme? 198
Chapter 7
WebDesignDW.glencoe.com
Web-Safe Colors How can using Web-safe colors help me create a user-friendly site?
In the mid 1990s, many computer systems were capable of displaying only 256 colors. Of these, only 216 displayed the same on the Macintosh and Windows operating system. At the time, many designers adopted this limited color palette, known as Web-safe colors, to provide reliable color within their pages. Today, many computer systems can display thousands or millions of colors. Choosing Web-safe colors has thus lost some of its importance, although most Web designers still reference the palette when choosing colors. Most graphics and development applications, including Dreamweaver, also make use of Web-safe colors. To identify a Web-safe color, examine the hexadecimal value pairs. If the hexadecimal value contains 00, 33, 66, 99, CC or FF in any combination, it falls within the Web-safe color palette (see Appendix C for an overview of the palette). As you choose colors for your site in the following activity, watch the Text Color box in the Properties inspector to see the color’s corresponding hexadecimal number.
You Should Know Dreamweaver’s Command>Set Color Scheme option provides examples of how various link colors interact with background colors.
ACTIVITY 7D Add Content and Color to the Home Page 1 In the Language Club Web site, expand the Templates folder and double-click Language_Main.dwt to open the template. 2 Click in the word content in the content editable region. In the Properties inspector, click the Bg drop-down arrow and select white. The hexadecimal value #FFFFFF displays in the box. In the Properties inspector, click the Vert drop-down arrow and select Top. Your screen should look similar to Figure 7.8.
Figure 7.8 The content region with a white background and vertical alignment set to Top.
Content region with new background color
Vertical alignment Background color
Selecting Design and Color
199
3 With the insertion point still in the content region, choose Modify>Table>Split Cell. In the Split Cell dialog box, under Split cell into, select Columns. Set the Number of columns to 2. Click OK. 4 Click inside the new table cell and choose Insert>Template Objects>Editable Region. In the dialog box, in the Name box, key: bodytext. Click OK. 5 Save your template file. When asked to update all the files dependent on this template, click Update. Click Close. Close the template file. 6 Open index.html and double-click on the content editable region. Press Delete to remove any text. 7 Choose Insert>Image. Browse to the DataFiles\Ch07\Images folder and double-click photo_members.jpg. Save the file in the images folder. 8 In the Properties inspector, click Align Center. In the Alt box, key: Club Members. Your screen should look like Figure 7.9.
Figure 7.9 Photo center aligned using the Align Center option in the Properties inspector.
Align Center
9 Place the insertion point to the left of the photo. Press Shift + Enter to insert space above the photo. 10 Position the insertion point in the space above the photo and key: Hello! Hola! Bonjour! 11 Double-click the bodytext editable region. Press Delete to remove any text. Key: Here is a group photo of our club members at this year’s kick-off meeting. It is never too late to join in and explore new languages and cultures from around the world! 200
Chapter 7
Figure 7.10 Your Language Club home page now includes a photo and text.
12 Your page should look similar to Figure 7.10. Select Text>Check Spelling to check for errors (or press Shift + F7). If you receive spelling errors for “Hola” and “Bonjour” choose Ignore. Save your file.
Design As you design, think about users who are color blind. Avoid using red or green to emphasize important information.
In this section, you learned that there is more to selecting color than just being creative. Selecting color requires you to consider many different aspects of the site including the purpose of the site, the site’s intended audience, and the reason color is needed. Keeping these items in mind will help you to use color like a professional. Analyze Why did Web designers originally decide to use Web-safe colors when creating sites?
Section 7.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• A Web site’s color scheme is a set of selected colors that should create a sense of continuity.
1. Define color scheme, Web-safe color.
4. Evaluate Describe a color scheme from a Web site that you believe is well designed. Defend your opinion with examples from the Web site.
• You can use different colors to emphasize important content. • Using Web-safe colors will ensure that the colors will look the same in a variety of browsers.
2. List the steps you follow to change an editable region’s background color. 3. Summarize four guidelines that you should follow when selecting colors and describe why these guidelines are important.
5. Analyze Select three news sites and determine what dominant colors appear on each. Why do you think these colors were selected?
Apply It! Explore Background Colors Experiment with three different background colors for the Language Club home page. What effect do these changes have on the look of the page? (Do not save your changes.)
Selecting Design and Color
201
SECTION 7.3 FONTS AND TYPOGRAPHY Focus on Reading Read to Find Out Think about how the fonts or text styles you use in a Web site can influence your audience. Read to find out how you can use different styles and formatting to make your Web site’s message clear.
Main Ideas
Key Terms
Reading Strategy
Text can be formatted with font type, size, and color, as well as by line alignment and spacing. Format your site so your pages are readable, consistent, and attractive.
typography formatting font pixel alignment serif sans serif
Compare and contrast serif and sans serif fonts. Use a Venn diagram like the one below (also available online).
Serif
Sans Serif
Typography is the style, arrangement, and appearance of text. On the Web, the use of fonts and good typography can influence how clearly you communicate with your audience. In this section, we will discuss how to choose fonts and formatting so your message is clear. Content Many word processors have textediting features that are not available in Dreamweaver. It is often easier to create a document in a word processor before inserting it into a Web page.
Formatting Text in a Web Site How does formatting influence how a user views your Web site?
When creating Web pages, you need to consider what font sizes, colors, styles, typefaces, and alignments you want to use. Determining these text properties is referred to as formatting.
Font Types A font is a set of characters with a specific shape and style. Times New Roman, Courier, and Arial are examples of frequently used fonts. Dreamweaver features a predefined list of fonts commonly installed on most computer systems (see Figure 7.11). Less common fonts might not be available on all computers. Using these predefined fonts will allow you to maintain some control over the appearance of text in your pages.
Figure 7.11 Dreamweaver’s list of standard fonts. What are some of the fonts available on your computer system?
202
Chapter 7
WebDesignDW.glencoe.com
Font Size To specify font size in Dreamweaver, you can either enter your own numerical value in the Size box on the Properties inspector, or you can select a size from the Size drop-down menu shown in Figure 7.12. The default, and most common, unit of measurement for fonts on the Web is the pixel. The larger the pixel value, the larger the text on your pages will be. When selecting font sizes, bear in mind that various operating systems, platforms, and browsers may all display the same font size differently.
Figure 7.12 Use the Size menu to select a font’s size. Why would you want fonts to be different sizes on a page?
Font Style You can apply bold, italic, or underlined styles to the text on Web pages. Of these three styles, you will use bold and italic most often. The use of underlined text in a Web page generally indicates a hyperlink. Avoid using underlined text so you do not mislead visitors. In Figure 7.13, you will notice that Dreamweaver has left out the underline style to discourage you from using it on your pages. If necessary, you can access this style from the Text>Style menu. Bold
Figure 7.13 Style buttons are found on the Properties inspector. Why do Web designers avoid underlining text on Web pages?
Italic
Selecting Design and Color
203
Text Alignment Alignment is the position of text on a page. Figure 7.14 shows the four text alignment styles. Most text on the Web is left-aligned. The three other alignment styles are rarely used, since they tend to distract visitors and make it more difficult to read text.
Figure 7.14 Text can be left-aligned, centered, right-aligned, or justified. Which alignment is most often used in Web design?
Left-aligned text is positioned flush with the left edge of the page. Text is usually left-aligned automatically when you enter it on a page.
Centered text is positioned in the middle of the page.
Right-aligned text is positioned flush with the page’s right edge.
Justified text is positioned so that all lines have the same left and right margins.
Font Color Using color on text can help highlight important words on pages. Use color sparingly to increase the impact. Many Web designers use a single color for most text, and then use one or two additional colors to attract attention to key content. Use the Text Color menu on the Properties inspector to select and apply color to text, as shown in Figure 7.15.
Figure 7.15 Use the Text Color menu to make your fonts different colors. Why might you make a font a different color on a page?
204
Chapter 7
Formatting Style Menu The Format drop-down menu on the Properties inspector contains a number of different heading and paragraph options to choose from. The heading settings range from Heading 1 to Heading 6. The higher the number, the smaller your text will be. Heading 1 displays text in a large size, while Heading 6 displays text in a much smaller size. The six different headings and examples of how they display text are shown in Figure 7.16.
Figure 7.16 Use the Format menu to select predefined heading styles. What is the advantage of using these heading styles?
When you apply a heading style to text, the browser then displays that text as bold. You should therefore use headings to help important text stand out on your Web page. Use the heading settings to format items such as: ◆ Titles ◆ Subtitles ◆ Sections within documents Use the higher level headings (Headings 1 and 2) to make titles and subtitles stand out on your page. Use the lower level headings (Heading 3 and up) to format sections and subsections within documents. Using the predefined styles in the Format menu allows you to format text quickly. If you want more control over the scale of your text, use the Size option in the Properties inspector instead. Identify Why is the underline style not featured on the Dreamweaver Properties menu? Selecting Design and Color
205
Formatting Guidelines How can I format text to make my Web site more user-friendly?
Text on your Web pages should be readable, formatted consistently, and attractive in presentation.
Readability Of the three factors mentioned above, the most important is readability. If your text is difficult to read, users will not be able to understand the information you want to communicate. Ensure that your text is as readable as possible by applying some of the following formatting guidelines.
Use Sans Serif Fonts Two of the most commonly used font categories are serif and sans-serif. ◆ Serif fonts have additional lines or curves on certain letters and numbers. ◆ Sans serif fonts are “clean” with no additional lines. Examples of both fonts are shown in Figure 7.17. The titles and headings used in this book are sans serif fonts, while the body text is a serif font. Most Web designers use sans serif fonts such as Arial since people generally find it easier to read sans serif fonts on the screen.
Figure 7.17 Most people find sans serif fonts easier to read on the screen than serif fonts. How is a serif font different from a sans serif font?
Figure 7.18 Make sure there is enough contrast between your text color and your background color. Which example do you find easier to read?
Serif Fonts
Sans Serif Fonts
Times New Roman
Arial
Courier New
Futura
Garamond
Verdana
Choose High-Contrast Fonts and Backgrounds Both the color of text and a page’s background can affect readability. Choose colors that strongly contrast with one another. Black text on a white background is generally the best combination. However, this combination may not always fit your site’s design. Think light and dark as you select colors and be sure to look at the page in your browser to preview the results. You may even want to invite other people to view your page to determine its effectiveness.
POOR CONTRAST
SHARP CONTRAST
Text is easier to read when it is used with an appropriate background. The color and size of the text as well as the color and pattern of the background influence readability. Is this text easy to read?
Text is easier to read when it is used with an appropriate background. The color and size of the text as well as the color and pattern of the background influence readability. Is this text easy to read?
206
Chapter 7
Consistency As with the colors and graphics in your Web site, keep the formatting of text consistent throughout as well. This aids users in finding information on new pages and puts them at ease by using a format they are already familiar with. Table 7.3 contains some guidelines for making text consistent.
Table 7.3
Font Consistency Guidelines Guideline
Purpose
Use styles and colors sparingly
Too much formatting can overwhelm users. Also try to avoid formatting text in all uppercase.
Align text consistently
Uneven alignment can be confusing. Titles, subheadings, and the main body text should appear the same across all your pages.
Limit the number of fonts
Using too many fonts can distract users. Try to use no more than three different fonts.
Formatting fonts consistently can help make a site more readable. Why is it important that a site be readable?
Appearance As with your color scheme, the fonts you use should visually support the message of your site and page.
Use Formatting to Emphasize Text The formatting you use should also reflect the item’s importance. Use a larger font size, a different color, or other formatting options to highlight important elements. Generally, the more important the page element, the larger its size should be. Items such as titles are often larger than body text, as shown in Figure 7.19.
Figure 7.19 The size of text reflects the item’s importance. What is the most important element on this page?
Title: 36px
Author: 18px
Body: 16px
Copyright: 12px
Selecting Design and Color
207
Use Standard Fonts As mentioned earlier, Dreamweaver includes a predefined list of fonts commonly installed on most users’ computers. Use these fonts (shown in Table 7.4) to avoid difficulties such as text reflowing or reformatting differently when viewed in a user’s browser. Table 7.4 Different computers have different fonts installed on their hard drives. Which of the fonts below are serif fonts?
Mac OS and Windows Font Substitutions Mac OS System Font
Windows System Font
Courier
Courier New
Helvetica
Arial
Times
Times New Roman
Use Standard Font Sizes The type of browser, operating system, and computer can all influence how a font looks. This is also true for the size of the font. Think about what type of computer systems your target audience will have and select standard fonts that will work on their systems. Summarize What three factors must you consider when deciding how to format text on your Web pages?
Formatting Text in Dreamweaver What menus should I use to format text in Dreamweaver?
In this activity, you will format text using size, color, alignment, style, and font type.
ACTIVITY 7E Format Text 1 Open the Language Club Web site’s index.html page. 2 Select the Hello! Hola! Bonjour! text above the photo. In the Properties inspector, click the Font drop-down arrow and select Arial, Helvetica, sans-serif. 3 In the Size box, key: 20. Click the Bold style option. 4 In the Text Color box, key #3300FF to change the Hello! Hola! Bonjour! text’s color to blue. 5 Select the text in the bodytext editable region. Change the Font to Verdana, Arial, Helvetica, sans-serif. 6 Change the font Size to 18 pixels. 7 If necessary, click Align Center to center the text. 8 Press F4 to hide the panels. Your home page should look similar to Figure 7.20 on page 209. Press F4 again to open the panels. 9 Save your file. Select File>Close All (or press Ctrl + Shift + W) to close all of the files in the Web site. Exit Dreamweaver. 208
Chapter 7
Figure 7.20 The Language Club’s home page with modified style and alignment of elements.
In this unit, you learned the basic principles of information and presentation design, including how to add a color scheme and format text in Dreamweaver, and the importance of consistency and repetition. As you continue to create Web sites, keep these principles in mind to create sites that are both attractive and user-friendly. Identify Which menu do you use to select a font size?
Section 7.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Text properties include font type, style, alignment, and color.
1. Define typography, formatting, font, pixel, alignment, serif, sans serif.
4. Evaluate Select a Web site and describe how the text is formatted. What is emphasized by the formatting used?
• A font is a set of characters that have a specific shape and style.
2. Discuss two reasons why the on-screen size of a font can vary from one computer system to another.
• Centered, right-aligned, and justified text are rarely used on Web pages.
3. Identify the three most common ways for specifying a font size in a Web site.
• Text should be readable, consistently formatted, and attractive.
5. Draw Conclusions Imagine that the colors of a company’s logo clash with the background color of its Web pages. How should this conflict be handled?
Apply It! Evaluate Fonts Apply three different types of fonts to the photo caption on the Language Club home page. Evaluate each font for readability and appearance. (Close the site without saving your changes.)
Selecting Design and Color
209
Respecting Intellectual Property
M
any people do not understand that online resources are protected by copyright and trademark laws.
Understanding Intellectual Property The term intellectual property refers to an idea that is a product of a person’s intellect and creativity, such as: ◆
Text (books, plays, and articles)
◆
Songs
◆
Photographs and illustrations
◆
Software programs
Copyright laws guarantee a work’s creator the right to determine where and how the work is used. Similarly, trademark laws protect “marks,” such as company and product names and logos. If you download a copyrighted work or use a trademark without permission, you may be breaking the law.
Using Resources Ethically Avoid violating someone’s copyright or trademark by following these guidelines: ◆
Never copy text or graphics from a Web site without getting permission. If you use the material, cite the source.
◆
Only download music from legal services that compensate the songs’ creators.
◆
Never copy software programs to give away or sell. Distributing copied software is piracy, and is illegal.
◆
The Department of Justice’s Cybercrime Web site is full of Never use a company’s name or information about intellectual property. trademark to misrepresent the source of a product or site’s content.
1. Compare and Contrast Use a Venn diagram to examine the similarities and differences between copyright and trademarks. 210
Chapter 7
2. Research Use the Cybercrime Web site or other sources to identify real-world examples of copyright and trademark violations and their consequences.
Main Ideas ■ Two characteristics of most well-designed Web sites ■
■
■ ■ ■
are consistency and repetition. Using consistent visual elements and placing key items in the same place from page to page make a site user-friendly. Elements such as page headers, logos, and link bars should be repeated on the site’s main pages in order to make a site easier to navigate. A universal color scheme contributes to consistency across the site. A page header (banner) helps users identify where they are in a Web site. A template helps Web designers make a Web site consistent.
Main Ideas ■ Text properties include font type, size, style, ■ ■
■ ■ ■ ■
SECTION 7.2 Choosing Colors color scheme, 198
Web-safe color, 199
Main Ideas ■ A Web site’s color scheme is a set of selected colors ■
■ ■ ■
■ ■
Key Terms
that should create a sense of continuity. The color scheme of a Web site should be used consistently in elements such as title graphics, navigation buttons, and backgrounds. The color scheme should be compatible with the Web site’s purpose. You can use different colors to emphasize important content. Using Web-safe colors will ensure that the colors will look the same in a variety of browsers.
alignment, 204 serif, 206 sans serif, 206
alignment, and color. A font is a set of characters that have a specific shape and style. Do not underline text for emphasis on a Web page. Users might think that underlined words are hyperlinks. The most common type of text alignment on Web pages is left-aligned because it is easiest to read. Centered, right-aligned, and justified text are rarely used on Web pages. Limit the number of fonts you use on a Web page to no more than three. Best practice is to use standard fonts that are found on most computer systems. Most people find it easier to read sans serif font online. Text should be readable, consistently formatted, and attractive.
Left-aligned text is positioned flush with the left edge of the page. Text is usually left-aligned automatically when you enter it on a page.
Centered text is positioned in the middle of the page.
Right-aligned text is positioned flush with the page’s right edge.
Selecting Design and Color
Justified text is positioned so that all lines have the same left and right margins.
211
CHAPTER 7
Review and Assessment
AFTER YOU READ Using Creative Study Tools Choose a topic from the chapter and create some artwork or compose a brief song based on the content to help you remember it. Exchange your study tool with a friend. Does your friend’s study tool mean as much to you as the one you developed yourself? Evaluate how this study tool helps you remember the topic.
Reviewing Key Terms 1. Give three examples of ways in which repetition is commonly used in Web sites. 2. What is the difference between consistency and repetition in Web site design? 3. What is a page header? Describe how it is used in a Web site. 4. How many Web-safe colors were available and used in the past? 5. Why is it important to consider typography when designing a Web site? 6. What is a pixel? 7. Give examples of three standard fonts. 8. What is an example of a serif font?
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
14. Discuss the factors that influence the type of font a Web designer uses on a particular page. Factor
Choice of Font
(Example) Body Text
Factor
Factor
➠ ➠ ➠
(Example) Sans serif font
Font
Font
15. Identify the four types of alignment. Highlight the alignment that is used most often in Web design. Alignment
Alignment
Alignment
Alignment
Most Common Alignment
Understanding Main Ideas
Critical Thinking
9. Discuss ways in which the Language Club Web site exhibits the characteristics of consistency and repetition. 10. Identify the factors that you should consider when choosing a color scheme. 11. Explain the meaning of the term standard font. Discuss the main reason you should use standard fonts on a Web site. 12. List five ways in which text can be formatted. 13. Describe the difference between serif and sans serif fonts. Which type of font is considered most readable in printed text? Which type of font is considered most readable on a computer screen?
16. Make Predictions This chapter discusses why you should design your site to be readable. Do you think readability guidelines will change as people increasingly use online materials? Explain your answer. 17. Analyze Copy and complete the graphic organizer shown below on your own paper. Discuss two ways that the hardware and software used by Web site visitors can affect the decisions made by the Web designer.
212
Chapter 7
Hardware
Software
1. (example) Default fonts
1. Software element
2. Hardware element
2. Software element
Review and Assessment
CHAPTER 7
18. Draw Conclusions Which font would you use in a site about a children’s theater? Which font would you use in a site about mountain climbing in the Swiss Alps? Explain your answers. 19. Synthesize Select another communication device with which you are familiar, such as television or mobile phone. Are principles such as consistency and repetition applied in this method? How are the ways in which they are applied similar to Web design principles? How are they different? Copy the Venn diagram shown below and use it to illustrate your answer. Television
Mobile Phone
Reading & Writing Read the paragraph below and then answer the question.
Well-designed Web pages follow the principles of consistency and repetition. Consistency means maintaining a similarity among the parts of a whole. From its home page to its subpages, your Web site should have the same look throughout, from the graphics to the layout to the writing style. Repetition is the duplication of specific elements on all (or most) of a site’s pages. Repeating elements on your Web pages allows users to become familiar and comfortable with your site quickly. According to the paragraph, which of the following statements is true?
20. Analyze Which formatting features would you use to create titles? Which would you use to emphasize important passages of text? 21. Compare and Contrast Identify five valid reasons a Web site might use many colors and unusual fonts. Then give five reasons a site would use limited colors and traditional fonts. Think of examples for both types of sites.
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
22.
+
23.
+
24.
+
WebDesignDW.glencoe.com
+
+
When it comes to Web design, consistency and repetition are basically the same thing. Repetition means making sure the layout is the same on every page. Using a different logo on each page of a Web site is a sign of consistency. If you use an entirely new look on a subpage of your site, you are not using consistency.
WebDesignDW.glencoe.com Study with PowerTeach
Result
Go to the book Web site shown above. To review the main points in this chapter select e-Review>PowerTeach Outlines>Chapter 7.
Result
Online Self Check
Result
Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 7.
Selecting Design and Color
213
CHAPTER 7
Activities
1. MAKING CONNECTIONS Science—Demonstrate Color Differences The human eye views differences in color based on their wavelengths. Colors with a long wavelength, such as blue, indigo, and violet, appear to come forward when viewed on a computer screen. Colors with a shorter wave length, such as red and orange, appear to recede or go backward when viewed on a computer screen. Create a Web page that demonstrates this concept. Use the figure on the right as a model. Notice the color differences. Use red text on a blue background and blue text on a red background. Compare the printed screen to the Web page you create. Compare and contrast the two color combinations. Do the colors appear to have the same effect in print as they do online? Identify which combination is easier to read and explain why. Then, explain whether or not people who are color-blind would be able to read this combination of colors.
Making Connections
Making Connections
2. STANDARDS AT WORK Students use technology tools to enhance learning, increase productivity, and promote creativity. (NETS-S 3)
Analyze Text Styles and Color Create a Web page in Dreamweaver that contains a two-column table with four rows. Color the rows from top to bottom as follows: white, black, light blue, and dark red. Use hexadecimal values to create the colors. Key the following text in the top left cell: This is a Heading 1. This is a Heading 2. This is a Heading 3. This is a paragraph size 2. This is a paragraph size 3. Style each line of text as described by the text. For example, use the Heading 1 style for “This is a Heading 1.” Use a serif font for all lines of text. All text should be black. Copy the text into all the other rows in both columns. Change the text color so that the text is legible and easy to read. In the left column change all text to a serif font. In the right column change all text to a sans serif font. Compare the two columns. Write a paragraph that compares and contrasts the legibility of text in each cell of the table. 214
Chapter 7
CHAPTER 7
Activities
3. TEAMWORK SKILLS Create Web Content Your team is creating a “Web Design Tips and Resources” page for your school’s online handbook. You plan to include the following pages: Home Page, Dreamweaver Tips and Tricks, Graphic Resources, Reviews, and Equipment Information. 1. Write the content for the site home page, including a short descriptive paragraph about the site and a bulleted list with details of the site. 2. Research Web sites that could be used as sources of images. You will use this research to create links on the Graphic Resources page. Write the content for the Graphic Resources page, including a short paragraph for each link describing what the site contains, the type of images available, and terms of use (if any). 3. Write a brief content summary for each of the other pages in the site.
4. CHALLENGE YOURSELF Create a Color Scheme It is often easier to design a color scheme using colors in an existing object or image. In this activity, you will create a color scheme for a store specializing in holiday decorations. Use Dreamweaver to create a new page template. Add elements like those shown in the figure below. Then, locate a graphic that best represents the products and images of the store. The graphic you choose will be the starting point for your color scheme. Select Web-safe colors that coordinate with the graphic for each of the following page elements: ◆ Background ◆ Logo ◆ Bulleted list ◆ Buttons ◆ Heading 1 ◆ Heading 2 ◆ Visited links ◆ Unvisited links Update your template to reflect your new color scheme. Refine your choices as needed until you are satisfied with your overall color scheme. Selecting Design and Color
215
Projects
CHAPTER 7
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Format Text in Tables In this activity, you will add information to the Language Club’s About Us page. In your Language Club site, double-click in the content editable region. Change the Font color to #3300FF. Key: The Language Club is dedicated to expanding an awareness of world nationalities and cultural diversity. Format the text Verdana, Arial, Helvetica, sansserif font, size 18 pixels. Use Insert>Table to insert a table with 5 rows and 2 columns into the bodytext editable region. In the Table width box, key 100 and change pixels to percent. Key the text shown below into the table. Make the column headings (Office and Name) bold and add a header row named Language Club Officers. Proofread and save your work. LANGUAGE CLUB OFFICERS Office
Name
President
Camisha Roberts
Vice President
Hoang Pho
Secretary
Darryl Nevels
Treasurer
Bo Hernandez
2. Add a Contact Us Page In this activity, you will add information to the Language Club’s Contact Us page. Open your Contact Us page. In the content editable region, key the subhead How to Reach Us and below that key the subhead How to Become a Member. Format each subhead Verdana, Arial, Helvetica, sans-serif, Size 18, Font Color #3300FF. Below the first subhead, key your teacher’s name, the school’s address, and the school’s phone number. Press Enter after each item. Below the second subhead, key one or two sentences about who to contact to become a member. Format the text under each subhead Verdana, Arial, Helvetica, sans-serif, Size 16, Font color #3300FF. In the bodytext editable region, key and format the subhead Upcoming Meetings. Below the subhead, create a table with 4 rows and 3 columns, Table width 100%. Label the columns Meetings, Date, and Time. Bold the column heads and enter information about three upcoming meetings. Format the table text Size 16, Font color #3300FF. Proofread and save your work.
216
Chapter 7
CHAPTER 7
Projects
Read the projects described below. Then follow the directions to complete the project.
1. Add Text to a Web Page
In this activity, you will add text to the Language Club’s Events page and create a Fundraiser subpage. Use your Language_Main.dwt file to create a new fundraiser.html subpage in your pages folder. Insert the hdr_fundraiser.gif file from the DataFiles\Ch07\Images folder into the page’s header editable region. Save the file in your images folder. In the content editable region, copy and paste or key the content you created in You Try It Activity 6A, page 165. Change the font style and size of the text to be consistent with the Web site. Save and close the Fundraiser page. Open the Events page. Navigate to the DataFiles\Ch07\Text folder and select the file Events.doc. Open this file in a word processing program. Copy the text into the content editable region. Modify the text to be consistent with the site. In the first paragraph, select the word Fundraiser. Create a hyperlink that links to your fundraiser.html page, as shown below. Proofread and save your work.
2. Refine Your Personal Web Site
In Chapter 6 you created a template for a personal Web site. Now you will create a color scheme for the entire Web site, decide what fonts and styles you want to use, and create content for the site’s pages. Use fonts and colors to create a header for the home page and a smaller header for other pages. Add content and a photo to your home page layout. Add a caption such as More about who I am to the photo. Apply your selected color scheme and styles to the home page. Use your template to create the other pages for your site and save them in a pages folder. Add content to these pages and apply your color scheme and styles to each page, so the entire site has a consistent look.
Selecting Design and Color
217
Communication Skills: Write for a Web Audience Locate a short printed document such as a company flyer, brochure, or advertisement. Then, adapt the material for a Web page. You do not need to worry about copyright and trademark laws, unless you plan to publish the site on the Web. 1. Draw a sketch of the Web page. 2. Consider the Web audience, and rewrite the content if necessary. Use bulleted lists, headings, subheadings, or links to secondary pages if needed. 3. Use Dreamweaver to create or design your page. 4. Have classmates review your work. 5. If you agree with their assessment, revise your Web page. Good Web designers continually assess and review their sites, even after they are up and running.
Teamwork: Create a Web Site About Your Community Work with a team to create a Web site about one specific feature in your community, such as a favorite place to meet, a well-known site, or a famous resident. 1. As a team, decide on a purpose and target audience for the Web site. 2. Brainstorm content and sketch a diagram of how the home page and subpages should look. Determine the layout and color scheme. 3. Divide the following tasks among your team members: writing the text, finding graphics, finding sites for hyperlinks, and creating the page in Dreamweaver. 4. Present the site to the class.
218
Chapter 7
Create a Food Festival Web Page For this project, you will create a Web page for the Language Club’s International Food Festival. Choose one of the following topics for your page: A profile of one of the teachers or administrators in your school who will represent another country as a guest speaker. A restaurant in the area that will be donating food for one of the booths representing a particular nationality. A writing contest offered by the Language Club about Diversity and Cultural Awareness. When creating your Web page, follow these steps: 1. Determine your mission statement and audience.
Web Page Checklist
✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑
2. Determine how visitors will navigate to your page from the Web site’s home page. 3. Determine the elements to include on the page, including:
✓ ❑
◆ title
◆ navigation elements
✓ ❑
◆ text
◆ themes
✓ ❑
◆ visuals
◆ colors
✓ ❑
4. Locate any images you might need (remember copyright and fair use). 5. Create a sketch showing how the page will be laid out to include all the necessary elements.
✓ ❑ ✓ ❑
6. Use Dreamweaver to create or design your Web page. 7. Add hyperlinks to other pages on the Language Club Web site or to other relevant Web sites. 8. Use the checklist (shown on the right) to evaluate the items on your site. 9. Present your finished page to your teacher and peers for their review. Have them evaluate it based on the checklist. 10. Review your Web page based on the evaluations. 11. For your portfolio, include a screen shot or printed copy and an electronic copy of your finished product.
✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑
OVERALL APPEARANCE & CONTENT The subject of the Web page is clearly identified. The design is consistent and uncluttered. Most important elements are visible on the screen without scrolling. Images and links relate to the text on the page. ORGANIZING TEXT Content is organized logically. Text is broken into small sections. The fonts are easy to read. Key points are highlighted effectively. Headings and subheadings follow a logical hierarchy. Paragraphs or text blocks are separated by white space. LANGUAGE Sentences are short and simple. Bulleted or numbered lists are used effectively. Grammar, punctuation, and spelling are correct. Language is concise. Text uses effective style such as active voice, strong verbs and nouns, etc.
Selecting Design and Color
219
UNIT
3
Enhancing a Web Site
Go to this book’s Web site at WebDesignDW.glencoe.com. Click Unit Activities and select Unit 3 Evaluating Web Sites. Learn how to evaluate Web sites to make sure the information is reliable.
220
Think About It Hooking the Audience Books and magazines often use images and color to attract readers. These visual elements help make the publication interesting and exciting.
Design Evaluation Activity Look at some books or magazines. Jot down the visual elements that attract you and those that make you want to put the publication down. Then describe how some of the same design principles might apply to Web pages.
221
CHAPTER
8
Using Web Graphics
YOU WILL LEARN TO… Section 8.1 Identify types of graphics Identify and compare graphic formats Describe compression schemes Section 8.2 Identify image sources Use graphics ethically Insert an inline graphic Crop, resize, and resample a graphic Modify a graphic Section 8.3 Create an image map with hotspots Create a Web photo album Create a thumbnail
WHY IT MATTERS ................................................. Images can convey feelings and meaning in ways that words cannot. Have you ever seen a person in a painting or photo and imagined what he or she must have felt? Images are evocative—they make us react intensely and immediately. Using images effectively can help you create a powerful Web site. Think of a powerful image you have seen in the last few weeks. It could have been a piece of artwork, a newspaper photograph, or an image on television or in a movie. How did you react to that image? Write a paragraph about how that image made you feel. Describe the characteristics of the image that you think caused this emotional reaction.
222
Chapter 8
CHAPTER
8
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 8.1 Convert File Formats ................. 227 8.2 Create a Logo ............................. 235 8.3 Create a Web Photo Album ....... 242 You Try It Activities 8A Insert an Inline Graphic ............ 8B Crop, Resize, and Resample a Graphic ....................................... 8C Modify a Graphic........................ 8D Create an Image Map with Hotspots ..................................... 8E Create a Web Photo Album Using Fireworks ......................... Chapter Assessment Making Connections ......................... Standards at Work ............................ Teamwork Skills ................................ Challenge Yourself ............................
230 233 234 238
You Try It Skills Studio Add Graphics to a Web Page ............ 248 Use Hotspots...................................... 248 Web Design Projects Create a Virtual Field Trip Web Site ............................................. 249 Create an Art Styles Web Site .......... 249
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB 240
246 246 247 247
Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Prior Knowledge Imagine some friends are talking about a new movie you have not seen. You soon lose interest. However, when they talk about your favorite movie, you become interested. Reading works much the same way. The more you know about a subject, the more you understand. That makes it easier to be an active, interested participant. Look over the “You Will Learn To” at the beginning of the chapter. Write down what you already know about each objective and what you want to find out by reading the chapter. As you read, find examples for both categories.
WebDesignDW.glencoe.com
Using Web Graphics
223
SECTION 8.1 WEB GRAPHIC TYPES AND FILE FORMATS Focus on Reading Read to Find Out The main purpose of this section is to explain the different types of Web graphics. Read to find out how Web designers determine which type of graphic to use in their Web pages.
Main Ideas
Key Terms
Reading Strategy
The two basic types of graphics are raster and vector. The two most common graphic file formats are GIF and JPEG. Compression schemes reduce an image’s download time but also diminish its quality.
Compare and contrast the characteristics of the GIF and JPEG file formats. Use a Venn diagram like the one below (also available online).
GIF File
JPEG File
Graphics are an important part of Web pages. Creating a good graphic presentation greatly enhances the design of a site. Web designers have two major concerns when they use graphics on a Web site. The first concern is how good the image will look on the screen. The second concern is how quickly the image will download. In this section, you will learn how Web designers must constantly balance these two concerns when choosing graphic file formats.
You Should Know Software programs can automatically calculate the equations used to produce a vector graphic.
Types of Graphics What are the two basic types of graphics?
How a graphic is created determines its type. There are two basic types of graphics: raster graphics and vector graphics. ◆ A raster graphic is made up of pixels. Pixels are tiny squares of color arranged on a rectangular grid like tiles in a mosaic. The human eye reads collections of pixels as a seamless image. ◆ A vector graphic is composed of simple lines defined by mathematical equations. Logos, text banners, and 3D Web buttons are often vector graphics. Summarize What is the difference between a raster and a vector graphic?
224
Chapter 8
WebDesignDW.glencoe.com
Graphic File Formats What is the difference between a GIF file and a JPEG file?
Once you create a graphic, you must save it in a graphic file format. The two most popular file formats used in Web design are: ◆ Graphic Interchange Format (GIF) ◆ Joint Photographic Experts Group (JPEG) format The fact that most Web browsers only display images saved in these file formats is what makes them popular. However, some Web designers also save graphics with file formats such as: ◆ bitmap (BMP) ◆ Portable Network Graphics (PNG) A comparison of the four different graphic file formats is shown in Table 8.1.
Table 8.1
Graphic File Formats File Format
File Extension Advantages
Disadvantages
GIF
.gif
• Small file size downloads quickly • Good for line drawings and simple graphics • Used to create transparent GIFs and images with animation effects
• Only supports a maximum of 256 colors • Limited number of colors makes it not appropriate for saving photographs
JPEG
.jpg or .jpeg
• Supports millions of colors • Color support makes it good for saving photographs
• Because files have a higher quality, they are often large and download slowly
BMP
.bmp
• Supports millions of colors
• Very large files download slowly • Generally not used for Web pages
PNG
.png
• Supports more colors than GIF files but still downloads quickly • Features better support of transparency than GIF files
• Not supported by many browsers (but may become increasingly popular as more new browsers accept format)
The format in which you choose to save a graphic affects both the graphic’s quality and download time. Which two formats download quickly?
You Should Know GIF is pronounced with a hard “g” as in the word “graphic”. JPEG is pronounced “jay-peg.” Both formats are based on pixels, so most images on the Web are raster graphics. If you save a vector graphic as a GIF or JPEG file, it also gets converted into pixels.
Evaluate Which graphic file format is better for saving photographs?
Using Web Graphics
225
Compression Schemes and Download Times Why do Web designers compress image files?
The more pixels an image contains, the higher its resolution and quality. However, an image that contains more pixels also has a larger file size. As an image’s file size increases, so does its download time. Download time is usually measured in Kilobytes per second (Kbps). Web designers usually compress image files so they download more quickly in a user’s browser. Compression is a process that reduces an image’s file size by removing some color information. However, while compression makes files smaller, it can also reduce an image’s quality.
Lossless and Lossy Compression Schemes Graphics are compressed using either lossless or lossy compression schemes. ◆ A lossless compression scheme means that a graphic file loses no data when it is compressed. However, compressing a file using lossless compression does not gain you any significant download time. GIF (and PNG) files automatically use lossless compression. ◆ A lossy compression scheme removes data from a graphic file so the file is significantly smaller and downloads more quickly in a Web browser. However, decompressing the image does not restore the data. For this reason, the restored image has a reduced image quality on the screen. JPEG files use lossy compression.
Adjusting Files and Calculating Download Times To help you manage download times, Dreamweaver displays the approximate modem download time on the status bar, in the lower-right corner of a document’s window (see Figure 8.1). You can use this estimate to determine how adding images, such as photographs, affects your page download speed.
Figure 8.1 The status bar for a Web page indicates 57K/9 sec which means the page will require 9 seconds to download on a 56Kbps modem (the default connection speed setting specified in Dreamweaver). What does Kbps stand for?
226
Chapter 8
Download time
Low-Bandwidth Alternatives To reduce download times, you can also use an image editing program to create two versions of an image, one in full color and the other with a reduced color palette. The Web browser can then display the reduced-color image as a placeholder until the full-color version downloads.
Converting Graphic Formats Many graphic applications allow you to open a graphic and save it in another format. For example, you can open a JPEG file in Photoshop and then save the image as a GIF file. Use this method if you want to create an animation, since only GIF files can be animated. When you convert a file from one format to another, the converted image may not look like the original. For example, if you convert a JPEG photograph to a GIF, the resulting image will not have as many colors and may look distinctly different, as shown in Figure 8.2.
Figure 8.2 The left photo is a full-color JPEG image, while the right image shows the same photo saved in GIF format with 256 colors. When is it better to use a GIF format?
Contrast What is the difference between lossless and lossy compression?
Section 8.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• There are two basic types of graphics: raster and vector.
3. Evaluate Why should you consider an image’s download time when creating Web pages?
• The GIF graphic file format works best for line art and simple drawings. • The JPEG graphic file format works best for photographs. • Compression schemes reduce an image’s download time but also diminish its quality.
2. Compare and Contrast raster graphics and vector graphics.
4. Make Decisions You are creating a Web site for a new art gallery. What issues will you need to consider when choosing graphic file formats for this site?
Apply It! Convert File Formats Open a graphics application, such as Macromedia Fireworks. Open a JPEG image such as bike.jpg. Save the image as a GIF file. Compare the quality of the two images and the sizes of the two files.
Using Web Graphics
227
SECTION 8.2 OBTAINING AND MODIFYING GRAPHICS Focus on Reading Read to Find Out The main purpose of this section is to explain how to obtain and modify graphics. As you read, stop and make sure you understand the key terms cropping, resizing, and resampling. Read to find out how and why Web designers make changes to graphics.
Main Ideas
Key Terms
Reading Strategy
You can insert pre-made graphics or use tools to create images for your Web pages. Always check the terms of use before downloading pre-made graphics. You must use image editing programs to make substantial changes to graphics.
dots per inch (dpi) image editing program draw program inline graphic cropping resizing aspect ratio resampling
Identify five ways in which you can obtain or create graphics. Use a web diagram like the one below (also available online).
Ways to Obtain or Create Graphics
Images on Web sites come from many sources. In this section, you will learn about tools and resources you can use to create and modify graphics.
Obtaining Graphics What are the two main ways of acquiring graphics?
Activity 8.1 Locate Graphics Online Get more ideas for locating images for your Web pages by visiting WebDesignDW.glencoe.com.
Troubleshooting Some sites spell “Clip Art” as one word: “Clipart.” Try both variations when using a search tool to look for Clip Art on the Web.
228
Chapter 8
There are two main ways that you can acquire the graphics you need for your Web pages. You can obtain premade graphics and insert them directly into your Web pages. Or, you can use tools to create your own graphic files.
Using Premade Graphics One of the easiest ways to add images to your Web pages is to use premade graphics. Premade graphics are readily available both online and from other sources.
Locating Graphics Online The Web is an excellent source of premade graphics. You can use a search engine to locate the exact image you want. Most sites organize their images by categories such as nature, travel, sports, and work. When you find an image that you want, right-click it and select Save Picture As from the menu to save the image to your hard drive. Using Clip Art Many software applications include large image collections that you can insert on your pages. You can also purchase commercial image packages. These packages provide both general image collections and collections built around specific themes or events. Clip collections may include illustrations, photos, sound effects, and short video clips. WebDesignDW.glencoe.com
Creating Graphic Files To use graphics from print sources, such as photographs or magazines, you must first use an input device to convert them into digital images. You can also use software applications to create digital images.
Using Input Devices A scanner is an example of an input device that converts a printed image into a digital format that can be used, for instance, on a Web page (see Figure 8.3). A scanner converts an image into a grid of dots, or pixels. The size of the grid a scanner can create defines its resolution, which is stated in dots per inch or dpi. A scanner with a 600 dpi resolution will give you 600 pixels for every linear inch of the original image. While input devices can capture details in high-resolution, most monitors generally display images at a resolution of 72 dpi or 96 dpi. With a digital camera, you can take a picture and then download the image to your computer. Digital camera prices and capabilities vary widely. A resolution of 640 x 480 pixels is acceptable for photographs for use on the Web.
Figure 8.3 Flatbed scanners enable you to convert a printed image to digital format. Why do you need a scanner if you want to insert a photograph into a Web page?
Using Software Applications Web designers use different software applications to create raster graphics and vector graphics for their sites. ◆ Raster graphics are created with image editing programs, or graphic applications, such as Adobe® Photoshop® , Macromedia® Fireworks® , Mac® iPhoto® , and Corel® Paint Shop™ Pro® . ◆ Vector graphics are created with draw programs, such as Adobe Illustrator, PhotoDraw, and Macromedia Freehand. Graphics can also be created in word processing applications such as Microsoft Word. Once created, the graphic must be copied into a draw or paint program and saved as a GIF file before insertion into a Web page.
Using Graphics Ethically Whether you are using premade images, or converting existing images into graphic files, you need to make sure you are using graphics ethically. Unless you have specific permission to use someone else’s images, downloading graphics violates copyright laws. These laws apply whether or not you see a copyright statement on the Web site. You also need the owner’s consent to use images with a registered trademark. Most Web sites that provide graphics also include instructions for legally using their images. Some sites may indicate that specific images are “royalty free.” This, however, does not mean that you are free to use the images in any way you want. Follow the site’s rules carefully and identify your source. Explain How can you make sure you are using a graphic ethically?
Troubleshooting If you are unsure about how you can use an image, send the site’s owners an e-mail. Ask for clarification of the policy or for permission to use the selected image.
Using Web Graphics
229
Inserting Graphics into Dreamweaver What is an inline graphic? You Should Know Sometimes a broken image icon will appear on a Web page. This icon indicates that the image is missing or damaged and cannot be displayed.
When you insert a graphic file into a Web page, the actual image is not inserted into the page’s HTML code. If you look at the page’s HTML code, you will see that only the picture’s file name appears. An tag tells the browser where to locate the stored file. The browser must request the graphic file and insert it onto the page. This type of picture is called an inline graphic. In this unit, you will create the Centerville Community Center Fundraiser Web site, which will promote the annual Bike and Hike event. In the following activity, you will add a photograph to the Web site’s Scrapbook page.
ACTIVITY 8A Insert an Inline Graphic 1 Start Dreamweaver. Browse to the DataFiles\Ch08\WebExamples folder. Use the Site>Manage Sites option to define the example site. Name it Bike and Hike Web site and save it in your Web site folder. If necessary, review the steps in You Try It activity 1B in Chapter 1. Open the Scrapbook page (scrapbook.html) in Design view. 2 Position the insertion point just after the View Video Page button and press Enter once. 3 If necessary, press Ctrl + F2 to open the Insert toolbar. On the Insert toolbar, in Common view, click the Images drop-down arrow and select Image. In the Select Image Source dialog box, browse to the DataFiles\Ch08\Images folder. Double-click bike.jpg and save it in your site’s images folder. 4 With the image selected, in the Properties inspector, in the Alt text box, key: Bike Photo. Select the photo, and switch to Split view. Notice how the image is inserted with the tag (see Figure 8.4). Return to Design view. Save your file.
Figure 8.4 An tag is used to insert the photograph into the Web page.
Image tag
Identify What tag does Dreamweaver use to insert graphic files into a Web page?
230
Chapter 8
Modifying Graphics How can I use Dreamweaver to modify graphics?
After you have obtained or created an image, you will probably have to modify the graphic to make it work on your Web page. You can edit images using either image editing software or basic Dreamweaver tools.
Image Editing Programs
Figure 8.5
To make major changes to images, use a graphic or image editing program. Popular image editing programs include Adobe® Photoshop® , Macromedia® Fireworks® , Corel® Paint Shop™ Pro® , and Mac® iPhoto® . The more sophisticated and relatively expensive applications, such as Photoshop, allow you to modify images in a variety of ways. Special tools, called filters, can change an image’s appearance, such as making it look like an oil painting. Figure 8.5 shows some examples of filters.
Original
Paint Daubs
Image editing programs, such as Adobe® Photoshop®, allow you to manipulate an image in different ways. When might these filters be useful?
Twirl
Using Fireworks to Modify Images in Dreamweaver Macromedia Fireworks is an image editing program that is used to create and modify graphics. Select Fireworks tools are incorporated into Dreamweaver. You can, for example, crop, resize, and resample an image in Dreamweaver. These tools behave the same way in Dreamweaver as they do in Fireworks, and they allow Dreamweaver users to make minor edits to images without needing a separate program.
Cropping and Resizing Graphics When you insert an image into Dreamweaver, the picture appears at the exact pixel dimensions in which it was originally stored. You will usually need to either crop or resize the image to make it the size you want. ◆ Cropping an image involves removing portions of the image that you do not want to use. This process can significantly reduce the size of a file. ◆ Resizing an image refers to changing the size that the image appears to be on the screen. You can resize the image by selecting it and then dragging its sizing handles to the desired size. Sizing handles are located on the right, bottom, and lower-right corner of the selection box. Dragging a corner handle while pressing the Shift key keeps the image’s aspect ratio (the relationship between the image’s height and width) constant and in proportion.
Navigation You can customize your own Dreamweaver toolbar. With your teacher’s permission, right-click the Insert toolbar and select Customize Favorites. Click and choose the commands you want. Then, display your Favorites toolbar by selecting Favorites on the Insert toolbar.
Using Web Graphics
231
Figure 8.6 The Properties inspector allows you to modify an image in a variety of ways. What three ways can you use to change an image’s size?
Width
Height
Crop
Resample
Sharpen
Brightness/Contrast
You also can use the Properties inspector’s width and height box to resize an image (see Figure 8.6). Specify the image’s width and height in pixels to increase or decrease the image’s size. Sometimes the numeric values in the width or height box are bold and sometimes they are normal. The bold values indicate the width or height is larger or smaller than the saved size of the image. To quickly restore the image to its original width or height, click the W or H to the left of the numeric value boxes. When you are resizing an image, it is best to use a dedicated image editor rather than rely on Dreamweaver. If you resize an image in Dreamweaver, the quality will be lower because the file size remains the same as the original. Your image may look distorted.
Resampling Graphics Resizing a graphic changes its appearance but does not change the actual number of pixels in the graphic’s file. Resampling changes the number of pixels in a graphic’s file to match the new screen area occupied by the image’s altered size. For example, if you enlarge a 100 x 100 pixel image so that it occupies a 200 pixel square area, resampling adjusts the image so that it is 200 pixels wide and 200 pixels high. Caution: When you resize an image, you do not change the image’s file. While the image may look smaller on screen, its file size has not changed. Resampling makes an image’s file smaller so that it downloads more quickly. However, resampling also permanently changes your graphic file by changing the number of pixels in that file. Many of the actions you perform in this section’s activities can permanently alter your graphic file. For example, to undo changes, you can use: ◆ Edit>Undo ◆ click the Restore button, or ◆ press Ctrl + Z. However, once a change is saved, it cannot be undone. It is a good idea to keep copies of all your graphic files in case you perform an action that you cannot undo and need to return to the original file. 232
Chapter 8
In the following activity, you will use the Properties inspector to edit the photo you added to the Scrapbook page.
ACTIVITY 8B Crop, Resize, and Resample a Graphic 1 In the Bike and Hike Web site, open the Scrapbook page in Design view. Select the photograph. 2 In the Properties inspector, click the Crop button. A warning box appears telling you that this action will permanently alter your graphic file. In the warning box, with your teacher’s permission, select Don’t show me this message again and click OK. A dashed outline box with eight square handles appears over the image. 3 Click and drag the handles to adjust the crop marks until they look similar to Figure 8.7. Note that a double arrow appears when the insertion point is directly over a handle. 4 Click the Crop button a second time to finalize cropping the image. Your screen should look similar to Figure 8.8.
Figure 8.7 Adjust the crop marks to indicate the areas you want to remove from the image.
Handles
Crop lines
Figure 8.8 Crop marks are finalized.
Shortcut Instead of clicking the Crop button a second time, you can simply double-click the image to complete the crop.
Using Web Graphics
233
5 Make sure the image is selected. Click and drag the handle in the image’s lower-right corner. As you drag the handle, hold down the Shift key to maintain the image’s proportions. Resize the image so, in the Properties inspector, its width (W) is 370. 6 In the Properties inspector, click the Resample button once. Note that you must resize an image before the Resample button becomes active. 7 Make sure the image is selected. In the Properties inspector, click Align Center. Your screen should look similar to Figure 8.9. Save and close your file.
Figure 8.9 The photograph has been cropped, resized, resampled, and center aligned.
Adjusting Brightness, Contrast, and Pixel Definition In the following activity, you will use the Properties inspector to finetune and format an image. You can use the Brightness and Contrast button to increase and decrease the brightness and contrast of the selected image. and the Sharpen button to increase the sharpness, or pixel definition, of the selected image.
ACTIVITY 8C Modify a Graphic 1 In the Bike and Hike Web site, open the Scrapbook page in Design view. Select the photograph. On the Properties inspector, click the Brightness and Contrast button. 2 In the Brightness/Contrast dialog box, make sure the Preview box is checked. Under Brightness, key: -10. Under Contrast, key: 10. Your dialog box should look like Figure 8.10. Click OK.
Figure 8.10 You can key values into the dialog box, or move the slider to adjust an image’s brightness and contrast. 234
Chapter 8
3 In the Properties inspector, click the Sharpen button. In the Sharpen dialog box, key: 3. 4 Click OK. Your screen should look similar to Figure 8.11. Save the file.
Figure 8.11 The photograph with its brightness, contrast, and pixel definition adjusted.
Summarize What four buttons in the Properties inspector can you use to edit and format an image?
Section 8.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• You can use the Web to locate pre-made graphics, such as Clip Art.
1. Define dots per inch (dpi), image editing program, draw program, inline graphic, cropping, resizing, aspect ratio, resampling.
4. Compare and Contrast Discuss the difference between cropping a photo and resizing a photo.
• Always make certain you have permission to use a pre-made graphic before placing it on your Web page. • You can crop an image to remove areas that you do not want to use.
2. Describe how you can resize an image in Dreamweaver. 3. Explain the purpose of resampling an image.
5. Make Decisions You are designing a Web site for your community theater. Make a list of how you might use each of the following: a digital camera, a scanner, Clip Art, an image editing program.
Apply It! Create a Logo Select a small business in your community. Use a software application such as Microsoft Word or Adobe Photoshop to create a new logo for this business. If possible, use an image editing program to save the file for use on a Web page.
Using Web Graphics
235
Envisioning the Internet’s Future
W
hile Tim Berners-Lee is credited with creating the Web, no one entity is responsible for running it. The Web “runs itself” using standardized technologies, protocols, and rules. But who creates these standards?
What is the W3C? The World Wide Web Consortium (W3C) is a global organization started by Tim Berners-Lee to oversee the development of new technologies and standards that keep the Web functional and open to everyone. So far, the W3C has published more than 50 specifications for Web technologies, including Hypertext Markup Language (HTML), Cascading Style Sheets The World Wide Web Consortium strives to keep the Web vibrant (CSS), and Extensible Markup and open to everyone. Language (XML). Developers rely on these specifications to create Web-based or Web-enabled products that are fully compatible with one another.
Shaping the Web’s Future The W3C is also focusing on a number of emerging technologies that will change the way the Web works. ◆
The semantic Web will use deductive tools that give search agents artificial “reasoning” abilities, which will make it even easier for users to find information.
◆
The talking Web will allow people to navigate the Web using voice commands by enabling voice input and audio output.
◆
The multimodal Web will accept input from every type of source including keyboards, mice, voice, and even gestures such as eye movements.
1. Research Technology Research either the 2. Give Examples Find out how to become a member semantic, talking, or multimodal Web. How is that of the W3C. What would you have to do once you technology being developed, how will it be used on become a member? the Web, and what is its importance? 236
Chapter 8
SECTION 8.3 IMAGE MAPS AND WEB ALBUMS Focus on Reading Read to Find Out Graphics can be used to create links to external or internal Web pages. Read to find out how you can use Dreamweaver and other applications to add advanced graphic features to your Web site.
Main Ideas
Key Terms
Reading Strategy
Image maps let users click hotspots that link to related pages or information. A Web photo album is a collection of images. Thumbnails are small images that link to full-size versions of the same image.
image map hotspot photo album thumbnail
Identify the four steps involved in creating a hot spot. Use a flow chart like the one below (also available online).
➠
➠
➠
Not only can graphics help make Web pages more attractive and interesting, they can also perform various functions, such as linking to external and internal pages or allowing users to click a small version of an image to open a larger version of the same image. In this section, you will learn how to add these advanced features to a Web site.
Image Maps What is the relationship between an image map and a hotspot?
An image map is a graphic with clickable areas called hotspots. A hotspot provides a graphic link to related pages or other areas on the current page. For example, an image map of the United States might contain fifty hotspots, one for each state. If you clicked on Texas, you would be taken to a page containing additional information on that state. To create an image map in Dreamweaver, you draw outlines to define the clickable hotspots. Hotspots can be rectangular, circular, or polygonal, as described in Table 8.2.
Table 8.2 Dreamweaver contains three tools that you can use to create hotspots. Why do you need hotspots that are different shapes?
Hotspot Tools Properties Inspector Button
Name
Description
Rectangular Hotspot Tool
Drag the mouse pointer over the portion of the image that you want to be a rectangular hotspot.
Oval Hotspot Tool
Drag the mouse pointer over the portion of the image that you want to be a circular hotspot.
Polygon Hotspot Tool
Drag the mouse pointer around the edges of the shape you want and click the starting point for a polygon hotspot.
WebDesignDW.glencoe.com
Using Web Graphics
237
The Bike and Hike’s home page will contain an image map. When users click an image, they will be taken to different pages in the Web site. In the following activity, you will insert the graphic that will be used for the image map and assign hotspots to it.
ACTIVITY 8D Create an Image Map with Hotspots 1 In the Bike and Hike Web site, open the home page (index.html) in Design view. Position the insertion point at the end of the paragraph, and press Enter once. 2 On the Insert toolbar, click Image. Browse to the DataFiles\Ch08\ Images folder. Double-click the image_map.gif file. Save the file in the Web site’s images folder. Make sure the image is inserted correctly on the page (the word Register should be at the bottom of the image). Select the image and center it. 3 On the Properties inspector, in the Map box, key: home. This will assign a name to the image map.
Figure 8.12
4 In the Properties inspector, click the Polygon Hotspot Tool. Click in the upper-left corner of the image, and click around the Contact Us wedge. Be sure to cover as much of the logo as possible without overlapping any of the wedges for the other four pages (see Figure 8.12).
Use the Polygon Hotspot Tool to create a hotspot on the image.
5 In the Properties inspector, in the Link box, key: pages/contact.html. If you see the number symbol (#) in the Link box, be sure to delete this before you key the text. Note that the Link box only becomes active after the hotspot is created. In the Alt text box, key: Contact Us Page.
Area turns blue to indicate a hotspot is present
6 Repeat Steps 4 and 5 for the remaining logos. Use the link and alternate text information from Table 8.3.
Map box Polygon Hotspot Tool
Table 8.3
Hotspot Information
Use the information in the table to create four more hotspots.
238
Chapter 8
Logo
Link
Alternate Text
Donate
pages/donate.html
Donate Page
Register
pages/register.html
Register Page
Scrapbook
pages/scrapbook.html
Scrapbook Page
Sponsors
pages/sponsors.html
Sponsor Page
7 When complete, save your changes. Preview the page in a browser. When you click the Scrapbook hotspot, you should be sent to the Scrapbook page, as shown in Figure 8.13.
Figure 8.13 Use hotspots to create links between pages.
Activity 8.2 Explore Image Editing Programs Find out more about newer image editing applications and the advanced features they provide at WebDesignDW. glencoe.com. Click the Scrapbook hotspot and the Scrapbook page opens.
Explain What happens when you click a hotspot?
WebDesignDW.glencoe.com
Using Web Graphics
239
Troubleshooting To get more information about how this process works, press F1 to access Dreamweaver help. Key Create Web Photo Album or Fireworks into the Search For box in the Help task pane.
Creating a Web Photo Album Using Fireworks How can other software applications add advanced Web features?
A photo album (also referred to as a photo gallery) is a collection of photographs, typically with a brief description of each image. A combination of Dreamweaver and Fireworks makes it easy to create such a photo album. When you create a photo album, Dreamweaver creates a thumbnail of each image automatically. A thumbnail is a small image that links to a larger version of the same image. Thumbnails enable users to decide whether they want to view a larger version of the image (which typically takes extra time to download). In the following activity, you will create a photo album that showcases some of the scenery from last year’s Bike and Hike fundraiser.
ACTIVITY 8E Create a Web Photo Album Using Fireworks 1 In your Bike and Hike Web site, open the Scrapbook page in Design view. Choose Commands>Create Web Photo Album. In the Create Web Photo Album dialog box, in the Photo album title box, key: Bike and Hike Photos.
Figure 8.14 Use the Create Web Photo Album dialog box to specify the characteristics of your Web album.
2 To the right of the Source images folder box, click the Browse button. Browse to the DataFiles\Ch08\Images folder. Double-click the Photos folder, and click Select. 3 To the right of the Destination folder box, click the Browse button. Double-click the Bike and Hike Web site’s images folder, and click Select. 4 Click the Thumbnail size drop-down arrow and select 72 x 72. In the Columns box, key 3. Do not change the other options. Your dialog box should look similar to Figure 8.14. Click OK. 5 Macromedia Fireworks opens and processes the images. If you receive an error message, Fireworks may not be installed on your computer. Talk to your teacher if you receive an error message.
240
Chapter 8
6 When Fireworks completes the image processing, close Fireworks. A message saying Album created appears. Click OK. Your screen should look like Figure 8.15.
Figure 8.15 The index page of the album is displayed after Fireworks processes the photos.
7 In Dreamweaver, open the scrapbook.html page. Click the View Web Photo Album button. In the Properties inspector, to the right of the Link box, click the folder icon. In the Select File dialog box, double-click the images folder. In the folder, select the index.htm file and click OK. (Caution: Do NOT select the index.html page). 8 Open the index.htm file. Click on the first thumbnail, in the Properties inspector in the Alt box, key: Cactus Flowers. Add descriptive text to the Alt box for all of the other images. 9 Save your work. Preview the Scrapbook page in a browser by clicking the View Web Photo Album button. Your screen should look similar to Figure 8.16.
Figure 8.16 The Web Photo Album’s index as viewed in a browser.
Using Web Graphics
241
10 Each photo in this index is a thumbnail of a larger photo. Click the photo_landscape.jpg thumbnail to view the larger photo, as shown in Figure 8.17. Close the browser. Save and close all open documents in Dreamweaver.
Figure 8.17 Click the thumbnail to open the larger photo in the Web Photo Album.
In this chapter, you added graphics to the Bike and Hike Web site. These graphics enhanced your pages and provided different ways for users to view the site’s content. In the next chapter, you will further enhance the site by adding multimedia elements to its pages. Identify What is a thumbnail?
Section 8.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• You can use graphics to link to either external or internal Web pages.
1. Define image map, hotspot, photo album, thumbnail.
4. Evaluate Why might a Web designer decide to use an image map as opposed to a navigation button or a text link?
• An image map has areas called hotspots that, when clicked, take the user to another location. • When using Dreamweaver, you need to use other software applications such as Macromedia Fireworks to add certain advanced features to a Web page.
242
Chapter 8
2. Compare and Contrast How is a hotspot similar to and different from a thumbnail? 3. Identify What special software application do you need to create a photo album in Dreamweaver?
5. Describe two situations in which thumbnails would be particularly useful on a Web page.
Apply It! Create a Web Photo Album Obtain at least six digital images of family members or friends. Create a Web page that displays these pictures in a photo gallery. Include one interesting fact about each person pictured.
CHAPTER 8
Reading Review
SECTION 8.1 Web Graphic Types and File Formats Key Terms raster graphic, 224 vector graphic, 224 Graphic Interchange Format (GIF), 225 Joint Photographic Experts Group (JPEG), 225
■ There are two basic types of graphics: raster and
■ ■ ■
image map, 237 hotspot, 237 photo album, 240 thumbnail, 240
Main Ideas ■ You can use graphics to link to either external or
Main Ideas ■
SECTION 8.3 Image Maps and Web Albums
vector. Raster graphics are more common on the Web than vector graphics. The GIF graphic file format works best for line art and simple drawings. The JPEG graphic file format works best for photographs. Compression schemes reduce an image’s download time but also diminish its quality.
■ ■ ■
■ ■
internal Web pages. An image map has areas called hotspots that, when clicked, take the user to another location. Hotspots can be rectangular, circular, or polygonal. When using Dreamweaver, you need to use other software applications such as Macromedia Fireworks to add certain advanced features to a Web page. A photo album consists of a collection of photos. A thumbnail is a smaller version of a larger image.
SECTION 8.2 Obtaining and Modifying Graphics Key Terms dots per inch (dpi), 229 image editing program, 229 draw program, 229 inline graphic, 230
Main Ideas ■ You can use the Web to locate premade graphics,
such as Clip Art. ■ Always make certain you have permission to use a premade graphic before placing it on your Web page. ■ You can crop an image to remove areas that you do not want to use.
Using Web Graphics
243
CHAPTER 8
Review and Assessment
AFTER YOU READ Add to Your Knowledge Look over the Main Ideas listed in the Reading Review on page 243. Which main ideas did you know before you read the chapter? Which did you learn more about as you read? What did you learn that is not listed? Write down any topics that you want to know more about but were not covered in the chapter. Use these as follow-up questions for your teacher or a class discussion.
Reviewing Key Terms 1. What is the difference between a raster graphic and a vector graphic? 2. Which of the following is NOT a graphic file type: PAINT, GIF, JPEG, BMP? 3. What does the abbreviation “dpi” stand for? 4. Identify two input devices that you can use to create images for your Web pages. 5. Rewrite the following sentence to make it true: Image maps contain fonts that you click to go to related topics. 6. How do you resize a graphic in Dreamweaver?
Understanding Main Ideas 7. Explain how you can determine the format of a graphic file by looking at the file’s name. 8. List five ways you can obtain images to use on your Web pages. 9. Identify two programs used to create raster graphics and two programs used to create vector graphics. 10. Explain why it is important to maintain a picture’s aspect ratio when you are resizing it. 11. Summarize how resizing an image differs from resampling it. 12. Describe an advantage of an image map over text-based links.
244
Chapter 8
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
13. Compare and contrast resizing and cropping.
Resizing
Cropping
14. Summarize the similarities and differences of GIF, JPG, and PNG files. GIF
JPG
PNG
Critical Thinking 15. Evaluate Ethics A friend is creating a Web site to buy and sell trading cards. While making the site, she copies graphics from other Web sites and inserts them on her Web pages. What would you tell your friend to explain why her actions violate copyright laws? 16. Make Decisions You have been hired to create a Web site for a local business. The site will include photographs. Which compression scheme will you use to save the graphic files? Visitors to the site will use high speed Internet connections, so download time is not an issue. What kind of compression scheme will you use? Explain your answer. 17. Understand Graphic File Formats You have been asked to create an animation for the Bike and Hike Web site. This animation will be based on a cartoon drawing of a bicycle, which is in the JPEG format. What do you have to do to the file and why?
Review and Assessment
CHAPTER 8
18. Troubleshoot Graphics You are testing a site and realize that when you click a graphic link you see a rectangular framed outline but no picture. What is wrong with the link and what can you do to correct it? 19. Explain a Process Your uncle has sent you a photograph that he wants you to scan and then post to your family’s Reunion Web site. Use a graphic like the one below to outline the process for converting the photograph to a digital format. In the final step, identify the type of graphic file format you would use.
➠
➠
➠
20. Make Decisions You have created the Bike and Hike graphics in Macromedia Fireworks. Would you save the graphics in JPEG or GIF format? Explain your answer. 21. Analyze Graphics Summarize the relationship between a graphic’s quality, its file size, and its download time. Explain how this relationship might influence you when choosing graphics to include on a Web page.
Tables A comparison of the graphic file formats is shown below. Graphic File Formats Format
Advantages
Disadvantages
• • •
Small file size Quick download Good for simple graphics
• •
Not appropriate for saving photos Only supports 256 colors
JPEG
• •
Good for photos Supports millions of colors
• •
Large file size Slow download
BMP
•
Supports millions of colors
• •
Large file size Slow download
PNG
•
Supports more colors than GIF Quick download
•
Not supported by many browsers
GIF
•
According to the table, which of the following statements is true? PNG files are similar to JPEG files because they support millions of colors. The GIF format is a good choice for photos. The BMP format supports millions of colors, so it is great for Web graphics. For speed of file download, the PNG format is superior to the BMP format.
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
WebDesignDW.glencoe.com
22.
+
Result
Study with PowerTeach
23.
+ [Z]
Result
To review the main points in this chapter select e-Review>PowerTeach Outlines>Chapter 8.
24.
Result
Online Self Check Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 8.
WebDesignDW.glencoe.com
Using Web Graphics
245
CHAPTER 8
Activities
1. MAKING CONNECTIONS Math—Compare Download Times Locate five graphics. At least one should be a GIF (e.g., Clip Art), and at least one should be a JPEG (e.g., digital photograph). Insert each graphic into a blank Dreamweaver page (one image per page). Create a line graph. Place each graphic’s type and file size (if known) on the x-axis and the download time of its page on the y-axis. Analyze your findings. Then, resave one of your JPEG files as a GIF file, and insert it into a new blank page. Compare the quality and download time of the GIF file to the original JPEG file. Finally, save one of your five graphic files as either a BMP or a PNG file. Compare the quality and download time of that file compared to the other four files. Analyze your findings. Use a pyramid table like the one to the right to report your findings for the slowest to the fastest (bottom to top) downloading file based on your research.
2. STANDARDS AT WORK Students practice responsible use of technology systems, information, and software. (NETS-S 2)
Copyrights and Permissions for Use A copyright is the exclusive legal right to reproduce, publish, and sell literary or artistic works. The creator of the work owns the copyright regardless of whether it is filed with the government. Visit two sites that contain Clip Art or other visual images. Locate the page that discusses the site’s terms of use or licensing agreements. Report the information you find using a table. Based on your findings, summarize how each site’s images may be used in the following types of media: 1. 2. 3. 4.
A report for one of your classes A Web site for a non-profit organization A brochure for a new business in your community A Web site for your school
List the projects that would need permission from the source. Describe how you would obtain permission to use the work. 246
Chapter 8
Fastest download time
Slowest download time
CHAPTER 8
Activities
3. TEAMWORK SKILLS Create Images and a Web Site As a team, select a topic for a Web site. For example, you could select a Web site that features highlights from a class trip or event, or a Photo Club Web site. After you have selected your topic, plan and design a site that has: ◆ A home page ◆ Two additional pages Use graphics acquired from at least two different sources to create a common look among the pages. Find or create images such as photographs, Clip Art, and drawings to enhance your site. Once all the images have been selected, add them to the site. Use all of the following tools in the Properties inspector as you create the pages for the site: ◆ resize
◆ contrast
◆ crop
◆ brightness
◆ resample
◆ sharpen
Have another team review the site and give you suggestions for improvements. As a team, evaluate these suggestions and make changes that will improve the site.
4. CHALLENGE YOURSELF Compare Graphic File Types Use a draw or image editing program to create a simple line drawing. Save the file in each of the formats available in the program. Name each file with the type of format being used. Create a table similar to the one below that compares the file types and sizes. If you are using word processing software, you may add a column to display the graphic files in the table.
FILE TYPE
FILE EXTENSION
SIZE
24-bit bitmap
.bmp
3,165 KB
JPEG
.jpeg
22 KB
Compare your results. Then, answer the following questions: 1. What quality difference can you see among the different files? 2. How do the download times for the various formats compare? 3. Do these results match your expectations? Explain why or why not. Using Web Graphics
247
CHAPTER 8
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Add Graphics to a Web Page
Create a Web page for an event in your community. Select an event that will occur in your community in the next three months. Plan a Web page to announce the event. Gather the information you will need for the page’s content. Sketch a storyboard that shows where you will place text and graphics. The page should include a logo for the event and at least two other graphics. Plan your page’s color scheme. Locate or create graphics that will work on the page. Use Clip Art, graphics inserted from a digital camera or scanner, or graphics created in a draw or image editing program. Be sure the graphics work with your page’s color scheme. Use Dreamweaver to create your page. Add your text and modify fonts as needed. Insert the graphics into your Web page (use the Insert option to insert files created using different programs or devices). Add alternate text. Crop, resize, and modify the images as needed to suit your page. If possible, add a photo album to your page. Supply permission information as needed for all content. Save the file. View the page in a browser.
2. Use Hotspots Add hotspots to the community event page. Assign a hotspot to the logo. Assume the hotspot will link to a page in your site where visitors can learn more about how to volunteer for the event. Create hotspots for the two other graphics on the Web page. Link the graphics to other pages in the site (imagine it has more than one page), to other community Web sites, or to other appropriate sites. Create a table similar to the one shown below to record the graphic’s name, the page to which it links, and the link’s alternate text. GRAPHIC Logo Graphic #1 Graphic #2
Proofread and save your work.
248
Chapter 8
LINK
ALTERNATE TEXT
CHAPTER 8
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Create a Virtual Field Trip Web Site Create a Web site that features virtual trips to the following events or eras: ◆ The American Civil War
◆ The Middle Ages in Europe
◆ The Ming Dynasty in China
◆ The French Revolution
◆ The building of the pyramids in Egypt
◆ World War II
Use the Internet to acquire a graphic for each of the virtual field trips listed above. Edit the images you select so that they are suitable for use on the Web. Create a site that has a home page and six additional pages (one for each trip). Place a title graphic at the top of the page and a navigation bar on the left side. Layout the home page as illustrated: Content area Navigation bar
Nested table with six equally sized cells. An image will be placed in each cell. Each image will link to a page in the Web site.
Use your graphics to create an image map on the home page. Each image should link to its corresponding trip page. Add title graphics with the page title (the name of the trip) to each page. Do not add content to the trip pages at this time.
2. Create an Art Styles Web Site You have been asked to create a Web site illustrating different artistic styles from the 19th and 20th centuries. The site will have a home page that links to a page for each of the following styles: Realism, Impressionism, Modernism, and Symbolism. Select one of the styles and find representative images on the Web or scan them from print sources. Obtain permissions for their use as needed. In Dreamweaver, create the home page and a page for each period. Add the navigation from the home page to each of the styles pages. Then build the style page that you have selected, placing the images that you have located. Manipulate the images as needed. Provide alternative text for each image. View the Web site in a browser.
Using Web Graphics
249
CHAPTER
9
Adding Multimedia to a Web Site
YOU WILL LEARN TO… Section 9.1 Identify multimedia design guidelines Identify sources of multimedia files Explain the ethical use of multimedia files Describe multimedia authoring tools Evaluate multimedia Web sites Section 9.2 Identify audio file formats Identify video file formats Insert audio files into a Web page Insert video files into a Web page Describe the equipment needed to create audio and video Section 9.3 Identify animation file formats Insert animation into a Web page
250
Chapter 9
WHY IT MATTERS ................................................. People absorb information through all their senses. Sounds and smells make us aware of what is happening in our environment in ways that words cannot. Many recreational activities, such as concerts and video games, use light, images, and sound to enhance the audience’s experience. Using sound, video, and animation in your Web site can help to both engage your visitors and to provide information in multiple ways. Think of a site with which you are familiar that uses components such as sound, animation, and video. Do you think you enjoy the site more because of these components? Do they make you want to stay longer? Write several sentences explaining your answers to these questions. Explain why you think these components may be important to a Web site.
CHAPTER
9
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 9.1 Define Ethical Use ...................... 256 9.2 Evaluate Multimedia Components ............................... 264 9.3 Evaluate Animations .................. 268 You Try It Activities 9A Insert Background Sounds ....... 9B Insert a Video Clip ..................... 9C Insert an Animation ................... 9D Create and Insert a Flash Button .........................................
267
Chapter Assessment Making Connections ......................... Standards at Work ............................ Teamwork Skills ................................ Challenge Yourself ............................
272 272 273 273
260 262 266
You Try It Skills Studio Add Sound to a Web Page ................. 274 Use Animation on a Web Page .......... 274 Web Design Projects Create a Web Design Class History ................................................ 275 Add Multimedia to the Virtual Field Trips Web Site .................................... 275
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Prepare with a Partner You might find it easier to work with a partner as you read through a chapter. Before you read, you and your partner can ask each other questions about the topics that will be discussed in the chapter. (Use the section headings or the “You Will Learn To” objectives to identify the topics.) What do you both think is important to know after reading the section? Write down the questions you both have about each section. Keep these questions in mind as you read.
WebDesignDW.glencoe.com
Adding Multimedia to a Web Site
251
SECTION 9.1 MULTIMEDIA AND WEB DESIGN Focus on Reading Read to Find Out The main purpose of this section is to explain how to use multimedia effectively and ethically. Read to find out more about the design guidelines for using audio, video, and animation.
Main Ideas
Key Terms
Reading Strategy
Multimedia elements should never distract visitors from your page’s main purpose. Always use multimedia files ethically and legally.
multimedia audio video animation streaming media codec multimedia authoring tool
Identify six multimedia design guidelines. Use a web diagram like the one below (also available online).
Multimedia Design Guidelines
Multimedia is the combined use of different media forms, such as text, graphics, audio, video, and animation. Since most people like to visit sites that contain multimedia, adding these elements is a good way to attract visitors.
Multimedia Design Guidelines Caution Some audio formats use compression to reduce file size and help the audio download more quickly. However, compression generally reduces a file’s quality.
Why is it important to consider file size when adding multimedia features to a Web site?
Multimedia only benefits a Web site when it helps meet the site’s goals and purpose. As you plan a site, consider each type of multimedia element and define how you can use it effectively to enhance the user’s experience.
Audio Guidelines Audio, which consists of live or recorded sound, can attract visitors’ interest and impart information. For example, a Web site for a movie could play that movie’s theme song. A travel site could include essential phrases for different countries. When using audio: ◆ Before you insert any audio file on a Web page, listen to it and make certain that the quality is acceptable. ◆ Make sure the audio supports your content. ◆ Try to limit the audio’s playing time. Audio that plays continuously can distract visitors and may cause them to move to another site. Instead, have the audio play for only a short time when the site first loads, or have visitors click a button to hear it.
252
Chapter 9
WebDesignDW.glencoe.com
Video Guidelines Video, which consists of live or recorded moving pictures, can inform, teach, and entertain. When including video: ◆ Remember that video files are large. Use them to enhance your site and not to convey your main message. ◆ Consider the type of connection your target audience will have. Videos that take too long to download can frustrate visitors. Well-designed multimedia sites allow visitors to specify the type of connection they are using and supply a lower-resolution presentation for those with slower connections.
Design Not all hosting services will allow you to use streamed data. It is a good idea to check with your service if you plan to stream media on your site.
Animation Guidelines Animation uses graphics or text to represent motion. When including animations: ◆ Use them to draw the visitor’s attention to important content. ◆ Limit the number of animations you use. Too many animations can distract visitors and make it difficult for them to read text or locate needed information.
File Size Guidelines
Figure 9.1 Streaming technology works by breaking a media file into pieces and then delivering them in order to the user’s computer. How can streaming technology make a site more userfriendly?
When using multimedia files, remember that the larger the file, the longer it will take to download. Streaming media, whether audio or video, reduces the user’s waiting time. To stream media, the Web server breaks the transmission Part 6 into pieces. The user’s media player starts playing the first piece of the file as soon as it Part 5 downloads. As the player receives Part 4 the remaining pieces, it stores them and plays them in order. Part 3 The result is a continuous stream of content, where each downPart 2 The server sends multimedia loaded piece plays as the rest of content in pieces to be the file arrives (see Figure 9.1). buffered by the client PC. Streaming requires the use of a codec (compression/ The first piece of streaming decompression scheme) to content is buffered, then first compress and then decomplayed as the next piece press the data. arrives.
Explain How does streaming media work?
Adding Multimedia to a Web Site
253
Downloading Multimedia Files How can I use multimedia files ethically?
It is easy to locate and download online multimedia files. However, you must be careful to always use downloaded files ethically.
Figure 9.2 The Dogpile® search engine lets you request audio files. What other kinds of files can you search for with Dogpile?
Locating Multimedia Files You can use search engines to locate online multimedia files. For example, the Dogpile® search engine lets you search for specific file types (see Figure 9.2). Many Web sites that contain Clip Art collections also offer short audio and animation files.
Select Audio to instruct the search engine to locate only audio files.
Using Multimedia Files Ethically Regardless of how you obtain multimedia files, you must have permission to use them. While many Clip Art collections allow you to use their files on personal sites, they may set limits on their use. If you download a file from the Web: Activity 9.1 Evaluate Multimedia Web Sites Find out more about evaluating multimedia Web sites by visiting WebDesignDW.glencoe.com.
◆ Read and follow any rules stated on that Web site about how to use the files legally. ◆ Give credit to a file’s author if you use someone else’s work on your Web site. Sites that allow you to download music files for personal use may not allow you to include these same files on a Web site without paying a fee. If the site has usage rules, read and follow them for downloading music. These same rules apply to downloading and using video files on your Web pages. Define What are usage rules?
254
Chapter 9
WebDesignDW.glencoe.com
Tools for Creating Multimedia Web Sites What is the most popular multimedia authoring tool?
Designers who create multimedia Web sites use special software packages called multimedia authoring tools. Multimedia authoring tools help you integrate media components, such as audio, video, animation, and images, into a seamless whole. The most widely used authoring tool is Macromedia® Director®. Authoring tools are expensive and require experience to use successfully. Numerous applications are available for acquiring and editing audio and video files. ◆ Audio Applications You can use applications such as GoldWave®, Sound Forge®, and Audacity to create and edit high-quality audio files. Microsoft® Windows contains an application called Sound Recorder that lets you create and save audio files. While Sound Recorder allows you to make some changes, it does not provide the sophisticated features of commercial audio applications.
You Should Know Some authoring tools have been developed for special purposes. For example, Macromedia® Authorware® is designed for creating multimedia training programs, such as interactive tutorials.
◆ Video Applications Many versions of Windows come with Windows Movie Maker, an application that allows you to perform some basic editing tasks with video clips. However, Windows Movie Maker does not allow you to perform sophisticated frame-by-frame editing and it supports only one format, Windows Media Video® (WMV). Adobe Premiere Pro provides full control over every frame within a video clip and supports a variety of formats. Identify What is the purpose of a multimedia authoring tool?
Evaluating Multimedia Web Sites Which criteria can you use to evaluate multimedia Web sites?
One of the most important rules to remember when using multimedia is to use it sparingly. Too much noise or movement will distract and annoy visitors. When you evaluate or plan a multimedia Web site, ask yourself the questions shown in Figure 9.3.
Figure 9.3
Multimedia Evaluation Checklist
✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑
Do the audio, video, and/or animations support each page’s goals? Are the pages cluttered? Do any media components distract visitors (for example, do they flash on and off)? Does the site give you the option to skip lengthy audio or video clips? Do components such as sound and video work properly? Do audio or video files take too long to download? Do the media components add to your enjoyment of the site?
A Web site that uses multimedia effectively should follow these guidelines. Why should you avoid using too many multimedia elements on a Web page?
Adding Multimedia to a Web Site
255
Figure 9.4 This site uses animation and sound to attract the visitor’s attention. How might sound be used effectively on a page such as this?
The Web page shown in Figure 9.4 follows good multimedia design principles. The page contains numerous items, yet it still provides considerable “white space” where the eye can rest. Animated buttons reveal new information when clicked and let users know when items have been selected. Visitors also have the option to turn the site’s audio on or off. List Name an effective use of audio, video, and animation.
Section 9.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Effective audio, video, and animation on a Web page can attract visitors’ attention and present useful information.
4. Analyze A friend’s page contains a flashing banner that makes it hard to read the page’s text, as well as a video with a long download time. How should your friend improve her site?
• You can obtain multimedia files from a variety of sources.
2. Identify guidelines for using audio, video, and animation effectively in a Web site.
• To use multimedia files ethically, always read and follow a Web site’s usage rules.
3. Summarize the features of a well-designed multimedia Web site.
• Multimedia authoring tools help you integrate media components, such as video, audio, and animation, into a seamless whole.
256
Chapter 9
5. Make Decisions Discuss how audio could be used to enhance an educational site about World War II.
Apply It! Define Ethical Use Visit two sites that have Clip Art, audio, and/or video clips. Print their license and usage pages. Review the printouts and write a summary of how files from these sites may be used on Web sites.
What Makes a Leader?
Y
our future plans may not involve managing the people and resources it takes to complete business projects. Yet, the leadership skills used by managers will help you on the job and off.
Qualities of a Leader Effective leaders share certain characteristics: ◆ Communication Good managers are diplomatic but straightforward when giving directions and making evaluations. ◆ Decision-Making Skills Managers often have to make unpopular choices. Decision-making is easier when you understand as much as possible about the project, its mission, and resources.
Effective leaders communicate well and understand the value of their co-workers.
◆ Trustworthiness Managing people means motivating and directing them. For this to happen, people must believe they can trust you. Good leaders deliver on promises, keep confidences, and are honest.
◆ Accountability A manager may have to justify decisions and explain failures. Good leaders accept responsibility and give credit to those who deserve it. ◆ Relationship Skills Good leaders learn as much as they can about the responsibilities of others. This knowledge increases their ability to give appropriate instructions and feedback to colleagues.
Building Leadership Skills You can do many things to build leadership qualities. Get involved in classroom or community projects and activities. Take business, communications, and management courses. These studies will give you insights into leadership. Many organizations can help you develop leadership skills. Consider joining the Business Professionals of America and Future Business Leaders of America.
1. Identify Skills Make a list of effective leadership qualities. Use the list to identify and assess your own leadership skills. Why are these skills valuable?
2. Research Leadership Form a team. Each team member will research a different leadership skill and be prepared to present their own research to the class. Adding Multimedia to a Web Site
257
SECTION 9.2 ADDING AUDIO AND VIDEO TO A SITE Focus on Reading Read to Find Out This section explains how to insert audio and video files into a Web site. As you read, make sure you understand the differences between each audio and video file format. Read to find out the advantages and disadvantages of each format.
Main Ideas
Key Terms
Reading Strategy
You can insert both audio and video into your Web pages. Audio and video files come in a variety of formats.
plug-in analog video recorder video capture card digital video recorder
Identify two ways to incorporate audio into a Web site. Use a tree diagram like the one below (also available online). Ways to Incorporate Audio Files
Many Web sites make extensive use of audio and video. Each audio or video segment used on a Web page is stored in a separate file.
Audio and Video Files Why is the sampling rate of an audio file important?
Table 9.1
Every file has a specific format that enables the Web browser to interpret and properly display or play the file’s content.
The file name extension identifies the audio file format. What type of file would you create using a digital piano?
Audio File Formats Table 9.1 lists the most common audio file formats. Not every OS or browser supports every format. Always test pages containing audio.
Common Audio File Formats Format
File Extension
Description
Wave®
.wav
Developed jointly by Microsoft® and IBM®. Mainly used for very short audio clips.
Midi
.mid
Used by synthesizers and electronic instruments.
RealAudio®
.ram, .ra
Developed by RealNetworks®, Inc.
AIFF
.aif, .aifc, .aiff
Developed specifically for the Macintosh®.
AU, SND
.au, .snd
Early formats that are no longer widely used.
MPEG Audio-Player 3
.mp3
Developed by the Moving Picture Experts Group. Can create very small, highly compressed audio files.
Shockwave® Flash Object
.swf
Developed by Macromedia®. Used to create cross-platform multimedia files. Users need the Macromedia Flash plug-in to hear .swf files.
258
Chapter 9
WebDesignDW.glencoe.com
Video File Formats You can insert video as well as audio files into your Web pages. Table 9.2 lists the video file formats commonly used on the Web. Again, not every OS or browser supports every format, so you should always test pages containing video. Many audio and video files also require a plug-in, which is an application that works with the Web browser to play a particular file format.
Table 9.2
Common Video File Formats Format
File Extension
Description
AVI (Audio Visual Interleaved)
.avi
Used with Windows Media Player®. Entire file must be downloaded before it can play.
MPEG (Moving Picture Experts Group)
.mpg
Compressed format that can be used for streaming.
QuickTime®
.mov, .qt
Developed by Apple® Computer, Inc., can be used for streaming video. Also known as MOV (Movie) format.
RAM RealVideo®
.ram, .ra
From RealNetworks®, Inc., can be used for streaming audio and video. Good for low-speed connections.
WMV (Windows Media® Video)
.wmv, .asf
Used with Windows Media® Player. Can be used for streaming audio and video.
Shockwave® Flash Object
.swf
Developed by Macromedia®. Used to create cross-platform multimedia files. Users need the Macromedia Flash plug-in to view .swf files.
Video files usually require a browser plug-in to play. Which format would you use if your target audience had low-speed connections?
Audio and Video File Quality Digital recording devices capture sound by sampling (recording fragments of) a sound wave. When played together, these fragments reproduce the entire sound. ◆ The sampling rate is the number of times per second a recording device samples sound waves. ◆ The higher the sampling rate, the better the audio clip’s sound quality. Each single image in a video clip is called a frame. Frames appear on the screen at a rate measured in frames per second (FPS). A slow frame rate can result in jerky video. Internet video generally varies from 10 to 30 FPS, but a rate of at least 15 FPS is recommended. A faster FPS results in better video quality, but it also means the video file will be larger and more difficult to download.
You Should Know Common plug-ins include Macromedia Shockwave, as well as RealNetwork’s RealOne Player, Apple QuickTime, and Microsoft Windows Media Player. You can download most plug-ins for free from the company’s Web site.
Define What is a plug-in?
Adding Multimedia to a Web Site
259
Creating and Adding Audio Files What equipment and software do you need to create a sound file? Caution When using an audio clip as a background sound, it is best to allow it to play for only a short period of time, such as a few seconds.
To play audio, your computer needs a sound card (or sound capabilities) and speakers. To record audio and save it in a file, you also need a microphone and an audio application. Once you store the sound file on your hard disk, you can use audio editing software to modify it. You can incorporate sound into your Web pages in two basic ways. 1. You can link an audio file to a button that a user can click in order to play the sound. This gives visitors control of the audio file. 2. You can set the sound file to play automatically when the page loads. The file can be set-up to play once or loop repeatedly. Remember that some browsers and operating systems may not play the sound file or play it correctly. If your site relies heavily on sound, you can insert a short note explaining the purpose of the sound for users who do not have a sound card or who have their volume turned down or off. In the following activity, you will insert a sound file into a Web site.
ACTIVITY 9A Insert Background Sounds 1 Start Dreamweaver. Open your Bike and Hike home page (index.html) in Design view. Position the insertion point after the image map graphic. 2 Select Insert>Media>Flash. In the Source File dialog box, click the Look in drop-down arrow. Browse to the DataFiles\Ch09\Multimedia folder. In the folder, select sound.swf and click OK. If necessary, in the warning box, click Yes. 3 In the Copy File As dialog box, click Create New Folder. Name the folder multimedia and click Open. Click Save. The sound file is embedded into the page in Flash format. 4 In the Properties inspector, uncheck the Loop box (see Figure 9.5). The sound file will now play only once.
Figure 9.5 The Properties inspector allows you to specify how many times the sound file plays.
File saved in multimedia folder Loop
5 Save your work. Preview the page in several browsers to determine whether the sound file plays correctly. Close your browser(s).
List Identify two ways you can incorporate sound into Web pages. 260
Chapter 9
Creating and Adding Video Files What tools do I need to create video files?
You need a video recorder to create your own video. There are two types of video recorders, analog and digital. ◆ When you create video with an analog video recorder (or with a VCR), the data must be translated into digital format before a computer can use it. A special circuit board called a video capture card can perform this conversion. ◆ A digital video recorder, such as the one shown in Figure 9.6, creates video that a computer can use directly. Digital video recorders include cables that connect the video recorder to the computer. You can then transfer the video to the computer’s hard disk, where it is saved in a file. Video editing software can be used to edit this file. The file is then ready to insert into a Web page. There are many reasons it can be challenging to include video on a Web site. ◆ Video clips can require significant download time.
Activity 9.2 Locate Clips Online Learn more about finding audio, video, and animation clips online at WebDesignDW.glencoe.com.
◆ Different file formats require different codecs to compress and decompress the file’s data. ◆ The Web browser must be able to understand both the file’s format and its codec. Because of these challenges, most Web designers do not insert clips directly into Web pages. Instead, they provide a link to the video clip. That way, visitors who have the necessary plug-in can decide whether or not they want to access the video and wait for it to download.
Figure 9.6 Video recorders can capture video and sound that you can transfer to a computer. How might video contribute to a Web site for a high school art class?
WebDesignDW.glencoe.com
Adding Multimedia to a Web Site
261
In the following activity, you will insert a video clip directly into the Bike and Hike site’s Scrapbook video page. Since visitors will need the Flash Player plug-in (or another plug-in capable of playing video in MPEG format) to view this clip, you will include a link to this plug-in in case they do not already have it installed on their computers.
ACTIVITY 9B Insert a Video Clip 1 In your Bike and Hike Web site, open the video.html page in Design view. In the Content area, double-click the word video. Press Delete. 2 Choose Insert>Media>Flash. In the Select File dialog box, browse to DataFiles\Ch09\Multimedia. Select the bike.swf file and click OK. If necessary, in the warning box, click Yes. Save the file in the Web site’s multimedia folder. 3 A gray box with a Flash plug-in icon appears. With the gray box still selected, in the Properties inspector, next to Loop, uncheck the check box. In the W box, change the number to 240. In the H box, change the number to 180. Your screen should look similar to Figure 9.7.
Figure 9.7 In Design view, the video is represented by a plug-in icon.
Plug-in icon You Should Know The plug-in icon will not display in the Web site when you preview or view the page.
4 Position the insertion point after the Flash plug-in icon and press Enter once. 5 Key the following text: To view this video, you may need to download the latest Macromedia Flash Player plug-in. Click here to go to the player. 262
Chapter 9
6 Select the words Click here. In the Properties inspector, in the Link text box, key the following URL: http://www.macromedia.com/go/ getflashplayer. Your screen should look similar to Figure 9.8.
Figure 9.8 Some of your users might need the Flash Player plug-in to view your video. Providing a link will help your users download the plug-in quickly.
7 Save your work. Preview the page in several browsers to determine whether the video file plays correctly (see Figure 9.9).
Figure 9.9 The video clip plays when you view the Scrapbook video page in a browser.
Adding Multimedia to a Web Site
263
8 With your teacher’s permission, click the Flash Player link in a browser (see Figure 9.10). The Macromedia Flash Player Download Center site should open in the browser window.
Figure 9.10 Test the link to the Flash Player plug-in to make sure that it works properly.
9 Click your browser’s Back button to return to your Bike and Hike Web site. 10 Close your browser(s). Save the file.
Explain What three factors make it difficult to include video on a Web page?
Section 9.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Audio and video files come in a variety of formats.
1. Define plug-in, analog video recorder, video capture card, digital video recorder.
• A file’s extension identifies its format.
2. Identify three audio file formats and three video file formats.
4. Analyze Multimedia You are creating a Web site that presents the history of your school. Discuss how the site might ethically use audio and video.
• You can incorporate sound into a Web page by linking the file to a button or setting it to play in the background.
3. Summarize the relationship between a video’s FPS, its quality, and its file size.
• To create video, you need a video recorder and hardware and software that lets you transfer the video from the recorder to the computer’s hard disk.
264
Chapter 9
5. Compare and Contrast How is a microphone different from a video recorder? How are they similar?
Apply It! Evaluate Multimedia Components Visit a site that advertises a movie you have seen in the last few months. Write an evaluation of the multimedia components of the site, using the checklist shown on page 255.
SECTION 9.3 ADDING ANIMATION TO A SITE Focus on Reading Read to Find Out The main purpose of this section is to explain how to add animation to Web pages. As you read, make sure you understand the difference between GIF and Flash animations. Read to find out what factors Web designers consider when choosing which animation to use.
Main Ideas
Key Terms
Reading Strategy
Animation provides the appearance of motion. One way of creating animations is to use a series of GIF images, which you can incorporate into a Web page in the same way as a graphic.
GIF animation Macromedia Flash
Compare and contrast GIF and Flash animations. Use a Venn diagram like the one below (also available online). GIF
Flash
Animation creates the appearance of motion. You can animate both graphics and text to add interest and interactivity to your pages.
Table 9.3
Animation Files What is the difference between GIF and Flash animation files?
There are two main types of animation files. GIF animation files are the simplest type of animation file. Macromedia Flash animations are more sophisticated and interactive than GIF animations. The two types of animation files are compared in Table 9.3.
The two main types of animation files are GIF animations and Flash animations. A GIF animation’s file contains what information?
GIF versus Flash Animation Files Characteristics
GIF
Flash
Description
Individual GIF images are displayed one after the other. All the images that make up the animation are stored in a single GIF file.
More sophisticated files that can include interactivity and download more quickly than GIF animations.
How Created
Can be created using graphic applications such as Macromedia Fireworks, Adobe ImageReady, and Microsoft PhotoDraw.
Must be created using Macromedia Flash or a similar application that supports this format.
How Inserted and Viewed
Inserted into page like GIF image. GIF file contains instructions that tell the browser the order in which the images should load, the position where each image should appear, and how long each image should appear on the screen.
Inserted into page like other files. To view Flash files, users must have the Flash plug-in, available free at the Macromedia Web site.
File Extension
.gif
.swf
Contrast Describe the differences between Flash and GIF animations. WebDesignDW.glencoe.com
Adding Multimedia to a Web Site
265
Incorporating Animation Files into a Site How do you use Dreamweaver to add animation to a Web page?
Dreamweaver provides a number of ways to incorporate animation into your Web pages. In the following activity, you will insert an animated GIF into the Bike and Hike Register page. You can insert and resize these animation files as you would a static GIF.
ACTIVITY 9C Insert an Animation 1 In the Bike and Hike Web site, open the Register page (register.html) in Design view. 2 Double-click the word Content. Press Delete. 3 On the Insert toolbar, click the Images button. Click the Look in dropdown arrow and browse to the DataFiles\Ch09\Multimedia folder. Select title_animate.gif and click OK. Save the file in the Web site’s multimedia folder. 4 On the Properties inspector, in the Alt text box, key: Register Today. 5 Save your work. Preview the page. The words Register Today should appear from behind the trees and move up to a stopped position (see Figure 9.11).
Figure 9.11 A GIF animation is inserted into a Web page in the same way as a static (nonanimated) GIF.
You Should Know Animation files created with Macromedia Flash can include interactivity. Flash is therefore a useful tool for creating tutorials and similar teaching materials.
6 Close your browser. Save your file.
Summarize How can you resize the dimensions of an animated GIF in Dreamweaver?
266
Chapter 9
Adding Flash Buttons How can Flash buttons make my pages more user-friendly?
Using Dreamweaver, you can create and insert animated Flash buttons for use in a Web site. A Flash button reacts to the mouse pointer, changing as the mouse pointer moves over or clicks it. Animated buttons can liven up a site and add a sense of interactivity to a page. They can also make a site more user-friendly because they let users know when a button has been used or clicked. In the following activity, you will create a Flash button that links to a Word document.
You Should Know If you want to include text in a non-standard font, you can use Flash Text. To access Flash Text, select Insert> Media>Flash Text.
ACTIVITY 9D Create and Insert a Flash Button 1 Browse to the DataFiles\Ch09\Text folder. Select and copy (press Ctrl + C) the registration.doc file. Browse to the location of your Bike and Hike root folder. In the folder, create a text folder. Paste (press Ctrl + V) the registration.doc file into the new text folder. 2 In the Bike and Hike Web site, open the Register page. Position the insertion point after the animated GIF file and press Enter once. 3 Select Insert>Media>Flash Button. In the Insert Flash Button dialog box, in the Style box, scroll down and select the Diamond Spinner style. 4 In the Button text box, key: Registration. Click the Browse button to the right of the Link text box. In the Select File dialog box, browse to the text folder in your Bike and Hike site. Select the registration.doc file. In the Relative to box, make sure Document is selected. Click OK. The Flash button will now link to this document.
Troubleshooting If an error message appears after you click OK, check the file pane to be sure that the text folder was saved properly. If the text folder does not appear, redo Step 1.
5 In the Save as box, delete button1.swf. Key: registration.swf. Your dialog box should look similar to Figure 9.12. Click OK.
Figure 9.12 Use the Insert Flash Button dialog box to create a Flash button in Dreamweaver.
Adding Multimedia to a Web Site
267
6 Save your file and preview it in a browser. When you position the mouse pointer over the Flash button, the diamond should spin (see Figure 9.13). Click the button to go to the registration.doc file. With your teacher’s permission, in the warning box click Open. Close the file. Close your browser. Save and close your Web site.
Figure 9.13 Your Flash button is animated when the mouse pointer is positioned over it.
Troubleshooting To edit a Flash button, select it and click the Edit button in the Properties inspector.
Describe What does a Flash button do when you place the insertion point over it?
Section 9.3 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• A GIF animation consists of individual GIF images, displayed on the screen one after the other.
1. Define GIF animation, Macromedia Flash.
4. Compare and Contrast Explain the differences between Flash and GIF animation.
• Macromedia Flash can create more sophisticated animations than GIFs. • Flash files often have faster download times than GIF animations. • You can use Dreamweaver to create and insert animated Flash buttons into a Web page.
268
Chapter 9
2. Identify the applications used to create GIF and Flash animation files. 3. Explain how animation differs from video.
5. Analyze Animation Television weather forecasters use radar to generate animated images of weather movement. What does this technique add to the viewer’s knowledge?
Apply It! Evaluate Animations Visit a Web portal and locate three examples of animations. What purpose does each animation serve? Why is your eye attracted to this animation? Explain how you would use each animation on a Web page.
CHAPTER 9
Reading Review
SECTION 9.1 Multimedia and Web Design Key Terms multimedia, 252 audio, 252 video, 253 animation, 253
■ Effective audio, video, and animation on a Web page
■ ■
■
Key Terms GIF animation, 265
Macromedia Flash, 265
Main Ideas ■ The two main types of animation files are GIF
Main Ideas
■
SECTION 9.3 Adding Animation to a Site
can attract visitors’ attention and present useful information. You can obtain multimedia files from a variety of sources. To use multimedia files ethically, always read and follow a Web site’s usage rules. Multimedia authoring tools help you integrate media components, such as video, audio, and animation, into a seamless whole. To evaluate a multimedia site, determine whether the media elements support rather than distract from the site’s goals, work properly and play for an appropriate length of time, and add to the viewer’s enjoyment without creating clutter.
■ ■
■ ■ ■ ■
animations and Flash animations. A GIF animation consists of individual GIF images, displayed on the screen one after the other. All images that make up a GIF animation are stored in one file, along with instructions that tell the browser the order in which to load the images as well as where and how long to display them. Macromedia Flash can create more sophisticated animations than GIFs. Flash files often have faster download times than GIF animations. You can use Dreamweaver to incorporate animation into your Web pages. You can use Dreamweaver to create and insert animated Flash buttons into a Web page.
SECTION 9.2 Adding Audio and Video to a Site Key Terms plug-in, 259 analog video recorder, 261 video capture card, 261
digital video recorder, 261
Main Ideas ■ Audio and video come in a variety of formats. ■ A file’s extension identifies its format. ■ You can incorporate sound into a Web page by
linking the file to a button or by setting it to play in the background. ■ To create video, you need a video recorder and hardware and software that lets you transfer the video from the recorder to the computer’s hard disk. Adding Multimedia to a Web Site
269
CHAPTER 9
Review and Assessment
AFTER YOU READ Compare Notes with Your Partner After you read each section, team up with your partner again. Discuss the content of the section. See which of your questions were answered. Together, see if you can find out the answers to questions that may still be unclear.
Understanding Main Ideas 8. Summarize some of the ways in which you can make certain you are using audio, video, and animation files ethically. 9. Describe the purpose of a multimedia authoring tool, and give an example of one. 10. Identify some of the tools used to create audio and video files. 11. Explain the difference between an analog video recorder and a digital video recorder. 12. List the hardware needed to listen to audio. List the hardware needed to create audio. 13. Describe two ways that an audio file can be inserted into a Web page. 14. Discuss some reasons why animation is a common feature on the Web. 15. Explain how an animated GIF file is different from a static (nonanimated) GIF file. 270
Chapter 9
How to Use Multimedia Files Ethically
➠
1. Identify the different media forms that can be combined to produce multimedia. 2. What is animation? 3. How does a codec help to stream media? 4. Rewrite the following sentence to make it true: Using multimedia authoring tools can help reduce a file’s download time. 5. What is the purpose of a plug-in? 6. What is the purpose of a video capture card? 7. Rewrite the following sentence to make it true: A GIF animation is made up of individual JPG files.
16. Summarize two guidelines that will help you use multimedia files ethically.
➠
Reviewing Key Terms
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
17. Identify three problems that using audio or video clips on Web pages can create. For each problem, also identify a possible solution. (example) Need plug-in to play
➠ ➠ ➠
(example) Provide link to plug-in
Critical Thinking 18. Cause and Effect Some Web sites contain numerous animated advertisements. How might the animations affect your behavior? For example, would you be more likely to click on an animated advertisement than on a nonanimated one? Why? 19. Make Decisions You want to take video of your family’s summer vacation and place it on your personal Web site. Use a table like the one below to identify what hardware and software you will need to create and insert your video. Hardware/Software Needed
Why Needed
Review and Assessment
CHAPTER 9
20. Evaluate Animations You are creating a Web site for a local physical fitness center. The manager wants the site to have animated images of people lifting weights. Because she wants these images to be abstract, you cannot use video. Which application do you think would work best for creating these animations? Why? 21. Analyze Do you think the saying “If in doubt, leave it out” is appropriate when adding audio, video, and animation to Web pages? Give specific examples in your answer. Then, locate a Web site that you think contains too many multimedia items. Use a problem-solution chart similar to the one below to identify three of the site’s multimedia problems and propose how you think those problems could be solved. Multimedia Problem
➠
Proposed Solution
22. Synthesize Information Search the Web for sites that provide free audio, video, and animation files for downloading. Create a list of these Web sites. In general, how would you cite one of these files? How would you cite a file that was not free?
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
23.
+
24.
+
Result
25.
+
Result
WebDesignDW.glencoe.com
+
Result
Reading & Writing Read the paragraph below and then answer the question.
When using multimedia, remember that the larger the file, the longer it will take to download. Streaming media, whether audio or video, reduces the download time. To stream media, the Web server breaks the transmission into pieces. The media player starts playing the first piece of the file as soon as it downloads. As the player receives the remaining pieces, it stores them and plays them in order. The result is a continuous stream of content, where each downloaded piece plays as the rest of the file arrives. According to the paragraph, which of the following statements is true? You can use streaming media for audio files, but you should not use it for video. When media is streamed, the media player downloads an entire file before playing that file. Streaming media breaks up large files so they can be transmitted more quickly. When using multimedia, the smaller the file, the longer it will take to download.
WebDesignDW.glencoe.com Study with PowerTeach Go to the book Web site shown above. To review the main points in this chapter select e-Review>PowerTeach Outlines>Chapter 9.
Online Self Check Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 9.
Adding Multimedia to a Web Site
271
CHAPTER 9
Activities
1. MAKING CONNECTIONS Language Arts—Summarize a Book or Story Select a book or story that you have read recently. After you have selected your book or story, make an audio file by following these steps: 1. Write a summary of the plot and make a list of the characters. 2. Read the summary aloud and record it. 3. Listen to the recording and re-record it until you are satisfied with the quality of the recording. Then, use Dreamweaver to create a Web page. The purpose of this Web page is to recommend your book or story to another reader. On your page, include: ◆ The book’s title ◆ An appropriate graphic or visual element(s) ◆ The list of characters in the book ◆ The sound recording of your summary With your teacher’s permission, team up with a partner and review each other’s sites. Use a table to list the multimedia elements used in the site. In your table, also identify whether the use of multimedia is effective or ineffective and explain your reasoning.
2. STANDARDS AT WORK Students are proficient in the use of technology. (NETS-S 1)
Use Technology Tools Assume you are planning a Web site about an upcoming event at your school. 1. Plan and sketch the pages for your site. 2. Identify the multimedia elements you would like to include on each page. 3. Make a list of the technology tools (scanner, digital camera, video recorder, voice/sound recorder, and so forth) available to you. Then, consider how you can use the technology tools available to you to create your Web site. On a separate piece of paper, create a three-column chart like the one shown below. List the Web site’s pages, the multimedia elements to be included on the page, and the technology tool you will use to create the multimedia element. Using your chart as a reference, create your multimedia elements and save them in one folder.
WEB PAGE
272
Chapter 9
MULTIMEDIA ELEMENT
TECHNOLOGY TOOL
CHAPTER 9
Activities
3. TEAMWORK SKILLS Create a Presidential Web Page You and your team need to create a Web page about a modern president. As a team, select one of the American presidents who served during the last half of the twentieth century. 1. Visit his presidential library online and explore the audiovisual resources available. 2. Identify resources that could be used in a Web page honoring the president. 3. Conduct other research as necessary to learn more about the president. Plan and create a Web page about the president. The page should include: ◆ A picture of the president ◆ Reference to at least one well-known statement he made ◆ Audiovisual resources that note important events in the president’s life or career Either download audio or video resources from the library or create links to the resources you want to use in your page. Get your teacher’s permission before downloading any files. Carefully review the site’s usage guidelines before downloading and using its materials and cite your sources on your page.
4. CHALLENGE YOURSELF Compare and Contrast Plug-ins Research Windows Media Player and QuickTime Player, two plug-ins for streaming audio and video elements. Your research should focus on answering the following questions: 1. 2. 3. 4. 5.
What video file formats will each plug-in read? Besides video, what other types of multimedia does the plug-in play? What is the current version of the plug-in? What company supplies the plug-in? What features does the supplier highlight?
Summarize your findings in a list. Based on your findings, create a Venn diagram like the one below to compare and contrast the two plug-ins.
Windows Media Player
QuickTime Player
Adding Multimedia to a Web Site
273
CHAPTER 9
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Add Sound to a Web Page
Add sound or sound effects to the community event page you created in the Chapter 8 You Try It Skills Studio Activities (see page 248). Review the Web page you created in the Chapter 8 You Try It Skills Studio. Decide how you could add sound or sound effects to the page. Either create the sound or sound effect or search the Web for an appropriate sound. For example, you may choose to use a voice recording of people who attended last year’s event, or you may add a sound effect related to the event. Review all usage agreements and get your teacher’s permission before downloading any files. Using Dreamweaver, add the sound to the page. Save the file in a multimedia folder. Set the file so it only loops once when the page is opened. Save the page and preview it in a browser to make sure the sound is working properly.
2. Use Animation on a Web Page
274
Build a Web page to display an animation. Locate an animation file. You can use an animation file from the student data files, or find animations online. Review all usage agreements and get your teacher’s permission before downloading any files. Create a new Web page in Dreamweaver. Insert the animation file and save it in a multimedia folder. Save the page. Preview the animation in a Web browser to see what movement occurs. Write one or two sentences describing the movement. Add this text in Dreamweaver and make any adjustments needed to display the text attractively. Proofread and save your work. View your completed page in a browser to make sure that it works properly. If possible, view the page in different browsers to see if it displays the same way in each browser.
Chapter 9
CHAPTER 9
Projects
Read the projects described below. Then follow the directions to complete each project.
1. Create a Web Design Class History Plan and create a two-page Web site that presents an oral history of your class. ◆ The home page should display information about the class and at least one multimedia element. ◆ Title the second page “A Typical Day in Class.” Plan to include several multimedia components in your site. Consider the technology tools available to you. Then, if possible: ◆ Interview either your teacher about his or her goals for the class, or other class members about important things they have learned. Record your interviews as digital audio or video files. ◆ Edit your audio and video clips so that they are no more than 15 to 30 seconds long. Select an appropriate quality for the clips to minimize file size. Create the site in Dreamweaver. Create and insert multimedia elements as appropriate. If you have time, create a third page titled “Projects I Have Completed.” On this page, briefly describe your projects and include hyperlinks to your work. Preview your site in a browser.
2. Add Multimedia to the Virtual Field Trips Web Site In Chapter 8, Web Design Project #1, you created the home page and navigation structure for a Web site that lets visitors explore past events or eras (see page 249). ◆ Research one event or era listed in the site. ◆ Develop content based on your research. Your content should identify the event or era and summarize it in one or two paragraphs. ◆ If possible, add hyperlinks to additional information about the event or era. As you research the topic, consider how to build a multimedia element into the page. Create or obtain the multimedia and place it on the page. Cite your sources as needed. Save your work. Preview the site in a browser to make sure that it works properly.
Adding Multimedia to a Web Site
275
CHAPTER
10
Adding Interactivity to a Web Site
YOU WILL LEARN TO… Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common scripting languages Identify markup languages Section 10.2 Apply DHTML effects Create a banner ad Add update information Remove a page from a template Insert layers Section 10.3 Create a form Identify different field types Place fields and labels into forms Add a jump menu
WHY IT MATTERS ................................................. Interactivity is a basic component of the Web—users move from one page to another by sending messages to the browser. It is natural to expand on these capabilities to communicate in more sophisticated ways, such as playing online games, using interactive tutorials, and generating online maps. This chapter looks at some ways of creating interactivity. List five ways in which you have interacted with Web pages in the past week. Then write down how these interactions were useful to you. For example, did they save you time? Did they make the site more interesting or entertaining? Did they make you want to stay longer?
276
Chapter 10
CHAPTER
10
WHAT YOU WILL DO .......................................................................... ACTIVITIES AND PROJECTS Apply It! 10.1 Identify Scripting ....................... 281 10.2 Apply Dynamic Effects ............... 291 10.3 Identify Form Fields ................... 298 You Try It Activities 10A Insert a Banner Ad .................... 10B Add Update Information............ 10C Remove a Page From a Template ..................................... 10D Insert Show-Hide Layers Behavior ..................................... 10E Create a Form with Fields ......... 10F Add a Jump Menu to a Web Page ............................................
284 285 286 288 293 297
You Try It Skills Studio Create a Drama Club Web Site ........... 304 Add an Order Form to a Web Site ...... 304 Web Design Projects Create a Sandwich Takeout Site ........ Create a Form to Collect Survey Data ...................................................... Create a Web Site for Voters .............. Create a Web Photo Album ................. Create an Educational Web Site ........
305 305 306 306 307
IN THE WORKBOOK Optional Activities and Projects Guided Reading Web Design Projects
ON THE WEB Chapter Assessment Making Connections ............................ Standards at Work .............................. Teamwork Skills .................................. Challenge Yourself ..............................
302 302 303 303
Activities at WebDesignDW.glencoe.com Reading Strategy Organizers Go Online Activities Study with PowerTeach Self-Check Assessments
BEFORE YOU READ Managing Time How much time should you take to read a chapter? The answer depends on many factors. The more difficult the material, the longer it will take to read the chapter. Illustrations can make material easier to understand, but they can also be distracting. Use the main ideas, chapter headings, and section assessment questions to focus your reading. Also, do your reading at a time and in a place where you can concentrate on the material without interruptions. This will increase your speed and comprehension of the material.
WebDesignDW.glencoe.com
Adding Interactivity to a Web Site
277
SECTION 10.1 SCRIPTING AND MARKUP LANGUAGES Focus on Reading Read to Find Out The main purpose of this section is to explain the uses of different scripting and markup languages. Read to find out how Web designers use these languages to make their Web pages interactive.
Main Ideas
Key Terms
Reading Strategy
Scripting languages make Web pages dynamic and interactive. Examples of scripting languages include JavaScript, Java applets, CGI, and DHTML. XML and XHTML are types of markup languages.
script interactivity JavaScript Java applet Common Gateway Interface (CGI) markup languages Extensible Markup Language (XML) Extensible Hypertext Markup Language (XHTML)
Identify four types of scripting languages and a use for each. Use a table like the one below (also available online). Types of Scripting
Use
Dreamweaver makes it easy to insert dynamic elements such as rollover buttons and image maps into Web sites. In this chapter, you will learn about the scripting needed to create interactive elements on Web pages.
Scripting and Interactivity Activity 10.1 Compare Scripting Languages Learn more about the purposes of different scripting languages at WebDesignDW.glencoe.com.
What is a script?
A script is a short program that you can insert into a Web page’s HTML code in order to make your pages dynamic. A Web page is dynamic when it: ◆ contains information that changes regularly. ◆ allows interactivity, meaning that the user can perform an action that the Web page responds to.
Using Interactivity in Web Sites Interactivity on a Web site makes communication a two-way process: you give your visitors information and your visitors send information back to you. This is one way in which the Web is different from books or newspapers. You can attract repeat traffic by ensuring that your site is timely and easy to find. You can solicit information from your visitors by asking them for feedback. Summarize When is a Web page dynamic?
278
Chapter 10
WebDesignDW.glencoe.com
Scripting Languages For which type of interactivity is Common Gateway Interface used?
Scripting languages can be used to create interactive elements, such as rollover buttons, banner displays, clocks, forms, and games, within Web pages (see Figure 10.1). Often, the script’s code can be inserted directly into a Web page’s HTML code. Some scripts or programs run on the user’s machine, and others run on a Web server. ◆ JavaScript is a scripting language that works as a part of an HTML document. As the Web page loads onto a user’s computer, the browser reads the JavaScript and completes the operation. Dreamweaver includes different snippets of JavaScript that you can insert into a page to make it dynamic and interactive. A number of sites offer free JavaScript code samples that you can copy and paste into your HTML documents. ◆ A Java applet is a small, cross-platform Java application that is designed to be executed within another application. Although it may appear with other elements on a Web page, it operates separately from the overall page. An applet would appear as a link within the HTML code for a Web page. Java applets are used by companies in a number of ways. For example, travel companies may use a Java date picker applet that allows users to select travel dates by clicking on a calendar. ◆ Common Gateway Interface (CGI) is a program that creates a link, or interface, between a user’s computer and the Web server. This link allows information to transfer back and forth in real-time between the two computers. CGI programs make it possible to search online databases and to fill out, submit, and process forms over the Internet.
Content Not all browsers fully support JavaScript. Internet Explorer, for example, supports only a subset of JavaScript. Think about your audience before you add scripts to a site.
Figure 10.1 In this game, the player must react quickly to onscreen images. How is this game interactive?
◆ Dynamic HTML (DHTML) is an extension of HTML. This scripting language combines HTML with Cascading Style Sheets (CSS) and JavaScript to create interactive Web sites. Remember, do not go overboard when adding interactive elements to a Web site. If every item on your page is moving, visitors will quickly become annoyed.
Summarize What types of interactivity can you create using scripting languages? Adding Interactivity to a Web Site
279
Markup Languages What is the difference between HTML and XML?
A markup language uses tags, or special sequences of characters, to tell a program how to interpret a text file. HTML, XML, and XHTML are three types of markup languages.
HTML versus XML Caution XML requires sophisticated programming. To use XML, the site must reside on a Web server that provides special services supporting this feature.
Figure 10.2 XML tags allow users to perform a targeted search of a site’s database. How is XML different from HTML?
HTML is a markup language that defines the appearance of data. The tags tell a browser how and where to display text and images on a Web page. For example, the code <STRONG>Shakespeare will display the name Shakespeare in bold letters. HTML cannot, however, tell you who or what Shakespeare is. Unlike HTML, Extensible Markup Language (XML) is a markup language that defines the meaning, and not the appearance, of Web elements. XML allows you to label or classify different Web elements according to what each item represents and how it relates to other items. This classification system allows information to become searchable based on whichever characteristics you define. For example, you could use XML to code the name Shakespeare as Shakespeare. A search for all items classified as would produce Shakespeare among the results. XML coding also allows users to search for information across multiple platforms. For example, if a site such as that shown in Figure 10.2 uses XML tags, then a user can access and search this site’s information using many different tools such as a Web browser, cell phone, or PDA.
XHTML The Extensible Hypertext Markup Language (XHTML) is designed to combine the different functions of HTML and XML. XHTML uses the same structure and tags as HTML, but it is designed to be far more versatile. As more XML tags are added to XHTML pages, search engines and browsers will be able to interpret a Web page’s content more precisely. This will, for example, allow a user to identify every bookstore within a certain radius that has a copy of Shakespeare’s play Hamlet currently in stock.
Identify What does XHTML stand for?
280
Chapter 10
Interactivity Design Guidelines How can interactivity enhance my Web site?
Using interactivity requires careful planning. Figure 10.3 shows some design guidelines to consider when using interactivity. In general, interactive elements should perform a function. For example, having a button change color when clicked tells the user that something is happening.
Figure 10.3
Interactivity Guidelines
✓ ❑ ✓ ❑ ✓ ❑ ✓ ❑
Use interactivity only when it enhances the site. For example, having a button change color when clicked tells the user that something is happening. Keep it simple. Too much movement is distracting and may annoy users. Make sure that users understand the response expected of them. If the user needs to fill out and submit a form, clearly label each field. Check interactive components in all the browsers your visitors are likely to use. Supply alternative text that will appear if a particular component does not function properly.
Follow these guidelines when adding interactive elements to a Web page. Why do you want to avoid using too many interactive elements on your site?
It is easy to go overboard when adding interactivity to Web pages. Using restraint will help you create Web pages that people will enjoy visiting. List Name two design guidelines related to interactivity.
Section 10.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• You can use scripts to make your Web pages dynamic and interactive.
1. Define script, interactivity, JavaScript, Java applet, Common Gateway Interface (CGI), markup language, Extensible Markup Language (XML), and Extensible Hypertext Markup Language (XHTML).
3. Analyze Scripting Why was the development of CGI an important step in the development of interactive Web pages?
• Interactivity enables a Web site and a user to send information back and forth. • Limit the amount of interactivity you include on your Web site and keep it simple and easy to understand. • Scripting languages include JavaScript, Java applets, CGI, and DHTML. • Markup languages include HTML, XML, and XHTML.
2. Discuss how XML code is similar to HTML code. How is it different? Identify examples of how XML code is both similar to and different from HTML code.
4. Compare and Contrast How does interactivity make Web pages different from other sources of information, such as books, newspapers, and television shows?
Apply It! Identify Scripting View the source code of your favorite entertainment Web site. Identify one or two examples of scripting used in the site. Explain what function the scripting performs on the site.
Adding Interactivity to a Web Site
281
Accessibility on the Web
W
eb sites often include elements that can limit their usability for many people.
Designing for Different Needs When the Web first became popular, many developers did not consider the needs of differently-abled users. Yet these individuals make up an important part of the online community. People may not be able to access the information on a Web site for many reasons, including: ◆
physical disabilities or environments that make it difficult to see, hear, or understand graphic or audio elements.
◆
limited movement that restricts the use of input devices.
◆
poor language or technology skills.
◆
old technology and software or slow Internet connections.
Operating systems such as Windows provide tools that make computers more accessible.
Accessibility Guidelines Successful Web sites allow all visitors to get information quickly and easily. The World Wide Web Consortium (W3C) and Section 508 of the United States Rehabilitation Act provide accessibility guidelines to create accessible sites. Some guidelines include the following. ◆
Text Options Provide text versions of graphics or audio, including navigation buttons. For example, if a photo of chili can be clicked to display a recipe, then the text version might read “Recipe for making chili.”
◆
Cascading Style Sheets Pages designed with CSS allow users to easily change settings such as colors, text size, etc.
◆
Multiple Technologies Web sites should be accessible to individuals using any major browser, as well as older technologies.
1. Identify Find out what accessibility tools are 2. Research Guidelines Learn more about the available on your word processor, operating accessibility guidelines issued by the W3C or system, or authoring software. Make a chart listing Section 508 of the Rehabilitation Act. Create a at least five tools, the disabilities they address, checklist to make your site accessible to their functions, and how to activate them. everyone. 282
Chapter 10
SECTION 10.2 ADDING DYNAMIC EFFECTS Focus on Reading Read to Find Out This section explains how to add dynamic effects to your Web pages. Read to find out how Web designers use effects, such as banner ads, update information, and layers, to make their Web pages dynamic.
Main Ideas
Key Terms
Reading Strategy
Dreamweaver makes it easy to apply dynamic effects to your pages. Dynamic effects include banner ads, automatic date insertion, and layers. Using dynamic effects makes your Web site interesting.
rollover button banner ad layer
Identify the purpose of dynamic effects, such as banner ads, update information, and layers. Use a web diagram like the one below (also available online).
Dynamic Effects
Adding dynamic effects helps make Web pages interesting. Dreamweaver makes it easy to add dynamic effects such as banner ads and update information.
Banner Ads How do banner ads work?
As discussed in Chapter 6, a rollover button is a button that changes appearance in response to a user’s action. Dreamweaver uses DHTML to create rollover buttons. You can create a rollover effect by inserting interactive buttons on a site. The rollover behavior seen in a rollover button works on any type of image whether it is a JPEG, GIF, or PNG. When you create a rollover button, you can specify whether the image will change or “rollover” when: ◆ a user clicks the image. ◆ a user positions the mouse pointer over the image. Rollover buttons are often used to create banner ads. A banner ad is an advertisement that, when clicked, takes the visitor to the sponsor’s home page. Banner ads, which are usually rectangular, make it easy for interested consumers to go to the sponsor’s Web site. In the following You Try It activity, you will create a simple banner ad with a rollover effect for the Centuryville Bike Shop Web site. You will specify which image should appear initially on the screen, and which image should appear when the user positions their mouse over the banner ad.
WebDesignDW.glencoe.com
Adding Interactivity to a Web Site
283
ACTIVITY 10A Insert a Banner Ad 1 In your Bike and Hike Web site, open the Sponsors page (sponsors.html) in Design view. Position the insertion point to the right of the video store logo. Press Enter. 2 If necessary, change the Insert toolbar to Common view. Click the Images drop-down arrow and select Rollover Image. In the Insert Rollover Image dialog box, in the Image name box, key: bike_ad. 3 Click the Browse button next to the Original image box. Browse to the DataFiles\Ch10\Images folder. Select banner_01.gif and save it in the site’s images folder.
Troubleshooting For a review of how to insert rollover buttons, see You Try It activity 6F on page 178.
4 Click the Browse button next to the Rollover image box. Browse to the DataFiles\Ch10\Images folder. Select banner_02.gif and save it in the site’s images folder. 5 In the Alternate text box, key: Centuryville Bike Shop. 6 In the When clicked, Go to URL box, key the following: http://www.centuryvillebike.com/. Click OK. 7 Save your file. Preview the page in a browser. When you position the mouse pointer over the rollover banner ad, it should look like Figure 10.4. Test the link (note that this link does not connect to an active page). Close your browser and save your work.
Figure 10.4 When you position your mouse pointer over the banner ad, the text changes.
Identify What is a banner ad?
284
Chapter 10
Update Information Why do news sites usually display update information?
Many Web sites display the date when the site was last updated. News sites usually display the current date to let you know that the site’s content is up-to-date. Dreamweaver’s Insert Date feature provides two options. If you check the Update automatically on save check box, then your site’s date will change whenever you make and save changes to the site. If you do not check this box, then the date displayed will always be the date that you originally created the page.
ACTIVITY 10B Add Update Information 1 Open the Bike and Hike template (Bike_Main.dwt) in Design view. In the template’s footer, position the insertion point after the copyright text. Press Enter. 2 Choose Insert>Date. In the Insert Date dialog box, click the Day format drop-down arrow. Select Thursday,. 3 In the Date format list, make sure March 7, 1974 is selected. 4 Click the Time format drop-down arrow and select 10:18 PM. 5 Make sure the Update automatically on save check box is checked. Your dialog box should look like Figure 10.5. Click OK.
Figure 10.5 When you select Update automatically on save, the page displays the date when the page was last updated.
Figure 10.6 6 Save your file. Update all template files and close the Update Pages dialog box. Preview the page in a browser. It should look similar to Figure 10.6. Close your browser.
The update information appears in the page’s footer.
Explain How do you insert update information in Dreamweaver? Adding Interactivity to a Web Site
285
Using DHTML Behaviors Which Dreamweaver feature can you use to create custom effects? You Should Know Dreamweaver’s Behaviors panel contains several predefined behaviors. Go to the Macromedia Web site to browse for additional behaviors, commands, and components.
DHTML scripts help make Web pages dynamic. You can use the Behaviors panel in Dreamweaver to add predefined DHTML scripts to Web sites. To use many of the behaviors, you must first select a Web page object such as text, an image, or a plug-in. You can then use the Behaviors panel to apply a variety of effects to the selected object. For example, you can have a pop-up menu appear when an image is clicked, or allow users to activate a Flash movie by moving the mouse pointer over a word. Depending on what browser version(s) you are designing your site for, some items may be unavailable. Always consider your target audience when adding behaviors to a site.
Inserting Behaviors into a Web Site As you already know, templates can save you time in developing a multi-page Web site. Occasionally, however, you may need to create a unique page that does not rely on template information. Examples of this situation might be when you want to use DHTML effects on a page or when you have complex scripting on a page. The Donate page of the Bike and Hike Web site will use DHTML behaviors. You must remove the Donate page from the site’s template in order to use DHTML effectively and without errors.
ACTIVITY 10C Remove a Page From a Template Figure 10.7
1 In your Bike and Hike Web site, open the Donate.html file in Design view.
Add a title to the page.
2 In the Title box, key: Bike and Hike – Donate (see Figure 10.7).
286
Chapter 10
3 Choose Modify>Templates>Detach from Template (see Figure 10.8). The donate.html page is no longer defined by the template.
Figure 10.8 Select Detach from Template to remove a page from the Web site’s template.
Caution If you update navigation links, footer information, or other content in the Bike and Hike template, you will need to apply the changes to the Donate page separately as it is no longer controlled by the template.
4 Choose File>Save As. If necessary, in the warning box, click OK. In the Save As dialog box, click the Save in drop-down arrow and navigate to your Bike and Hike Web site’s root folder. Select and open the pages folder. 5 If the file name does not appear in the Save As dialog box, key donate.html into the File name box. Click Save. If necessary, in the warning box, click Yes. Your screen should look like Figure 10.9.
Figure 10.9 The Donate page is now a unique page that no longer relies on a template.
Adding Interactivity to a Web Site
287
Inserting Behaviors into a Web Site A layer is a container within an HTML page that can include objects such as text, images, and forms. Web designers often use layers instead of tables when they want to position objects precisely on a page. Like tables, layers allow you to stack or “layer” information on a page, but they are easier to update than static tables. There is no limit to how many layers you can include on a Web page. However, including a lot of layers can cause a page to download very slowly. It is best to avoid using too many layers on a single page. In the following activity, you will create two layers that appear and disappear as the user moves the mouse pointer over navigation buttons.
ACTIVITY 10D Insert Show-Hide Layers Behavior 1 With the Donate page open in Design view, click after the word Donations. Press Enter. Key: Select the buttons below to learn how to donate to the Centuryville Community Center. Format the text size 20px, Black, Unbold, Align Left. Deselect the text. Press Enter. 2 On the Insert toolbar, click Images and select Image. Browse to the DataFiles\Ch10\Images folder. Select the button_funds.gif file. Insert the file and save it in the site’s images folder. In the Alt text box, key: Funds. 3 Click to the right of the image. On the Insert toolbar, click Images. Browse to the DataFiles\Ch10\Images folder. Insert the button_resale.gif file and save it in the site’s images folder. In the Alt box, key: Resale. Press Enter. Your buttons should look like Figure 10.10. 4 Click to the right of the Resale button. Press Enter once. On the Insert toolbar, click the Common drop-down arrow and select Layout. Make sure Standard mode is selected. Click the Draw Layer button. Click and drag a layer box as shown in Figure 10.10.
Figure 10.10 Use the Draw Layer button to create a layer box.
Standard Mode
Layer box
288
Chapter 10
5 Click inside the layer and key the text shown in Figure 10.11. Resize the layer to fit the text in the box. Format the text Arial, 20px. 6 Click the layer’s top-left handle. The Properties inspector’s view changes (see Figure 10.11). In the L box, key: 272px. In the T box, key: 290px. Click the Vis drop-down arrow and select hidden. Under Layer ID, in the box, key: funds. Your screen should look similar to Figure 10.11. Click in an empty area of the Web page to deselect the layer (it will become invisible).
Troubleshooting In Step 6, be sure to key the px after the numeric values. The L moves the layer 272 pixels from the left of a browser window. The T value moves the layer 290 pixels from the top of a browser window.
Figure 10.11 First layer created on Donate page.
Visibility option
7 Click Draw Layer again to create a second layer that is roughly the same size as the first. Inside the layer, key the text shown in Figure 10.12. 8 Repeat Steps 5 and 6 except, under Layer ID, key: resale.
Figure 10.12 Second layer created on Donate page.
Adding Interactivity to a Web Site
289
9 Select the Funds graphic. In the Properties inspector, in the Link box, key the number sign (#). This creates a link around the graphic that does not have to link to a file or to a Web page. 10 Choose Window>Behaviors (or press Shift + F4) to open the Behaviors panel. In the panel, click the plus sign (+) drop-down arrow. Select Show-Hide Layers. 11 In the Show-Hide Layers dialog box, in the Named layers box, select layer “funds” and click Show. Select layer “resale” and click Hide. Your dialog box should look like Figure 10.13. Click OK.
Figure 10.13 Use the dialog box to select how layers will display when viewed in a browser.
Figure 17.1 Enter this HTML code to insert an audio file into a Web page.
476
Chapter 17
1 In the folder where you are storing your Web sites, create a folder named audio. In the audio folder, create a folder called multimedia. Copy birds.wav from the DataFiles\ Ch17\Multimedia folder into the multimedia folder. 2 Open a text editor and enter the HTML code in Figure 17.1. Name the file birds.html and save it in the audio folder. View the birds.html file in a browser.
WebDesignDW.glencoe.com
Adding Animated GIFs Using HTML An animated GIF is a sequence of GIF images stored together in a single file with an image transition delay value. This value determines the amount of time each image will remain on screen before the next image replaces it. You use an tag to insert animated GIFs into a Web page. Identify What tag set do you use to identify the location of an audio file?
Activity 17.1 Explore HTML Resources Learn more about advanced HTML at WebDesignDW.glencoe.com.
Creating a Registration Form What form fields can I add to my Web site using HTML?
In Chapter 10, you used the Dreamweaver Forms toolbar to create a registration form. In this section, you will create a similar form using HTML.
Text Boxes An HTML text box allows visitors to enter limited amounts of text on a Web page. The tag indicates where a text box should appear on a page. The tag has a type attribute that takes different values. When creating a text box, the type attribute should equal “text”.
ACTIVITY 17B Add Text Boxes Using HTML 1 Open a text editor, such as Notepad. Enter the HTML source code listed in Figure 17.2. Save the file as text_box.html. 2 View text_box.html in a browser (see Figure 17.2). Save your work. You will build on this file throughout this section.
Figure 17.2 The code on the left looks like the figure on the right when displayed in a browser.
WebDesignDW.glencoe.com
HTML, Scripting, and Interactivity
477
Preset Options Jargon Within HTML, option buttons and radio buttons are the same thing.
A radio button (also referred to as an option button) is an interactive control that allows the user to select only one item from a list. Like text boxes, radio buttons are defined with the tag. When creating a radio button, however, the type attribute should equal “radio”. Check boxes are another type of interactive control that allows the user to select multiple items from a list. Check boxes are also defined in HTML with the tag. To create a check box, set the type attribute to equal “checkbox”.
ACTIVITY 17C Add Radio Buttons and Check Boxes Using HTML 1 Open text_box.html in your text editor. 2 Save the file as buttons.html. 3 Place the insertion point after the last
tag you keyed in Activity 17B and press Enter twice. Enter the HTML source code listed in Figure 17.3.
Figure 17.3 Enter this code to add radio buttons and check boxes to the form.
4 View the buttons.html file in a Web browser. The results should look like Figure 17.4. Save your work.
Figure 17.4 Radio buttons and check boxes provide visitors with preset options.
478
Chapter 17
Pull-Down Menus A pull-down menu (also referred to as a drop-down menu) is an interactive element that gives users a list of options to choose from. Users may select only one of those options at a time. Pull-down menus are defined with the <SELECT> tag set. Options in the menu are defined by the tag set.
ACTIVITY 17D Add a Pull-down Menu Using HTML 1 Open buttons.html in your text editor. Save the file as menu.html. 2 Place the insertion point after the last tag you keyed in Activity 17C and press Enter twice. Enter the HTML source code listed in Figure 17.5.
Figure 17.5 Enter this code to add a pull-down menu to the form.
3 View menu.html in a Web browser. The results should look like Figure 17.6. Save your work.
Figure 17.6 Visitors can choose only one option from the pull-down menu.
Text Areas A text area (also referred to as a scroll box) allows the user to enter more information than a text box. If the amount of text the user enters exceeds the space provided, the control will automatically display a scroll bar that allows the user to scroll the text up and down or left and right. The tag set defines a text area. In the next activity, you will use HTML to create a text area. You will also use HTML to add Submit and Reset buttons to the registration form (note that the Submit button is not functional). HTML, Scripting, and Interactivity
479
ACTIVITY 17E Add a Text Area Using HTML 1 Open menu.html in your text editor. Save the file as final_form.html. 2 Place the insertion point after the last tag you keyed in Activity 17D and press Enter twice. Enter the HTML source code listed in Figure 17.7. 3 View final_form.html in a Web browser. The results should look like Figure 17.7.
Code
Figure 17.7 Enter this code to add a text area and Submit and Reset buttons to the form.
Caution Since the form you created is not stored on a Web server, your form will not retain any entered data or selections.
Code shown in browser
It is not difficult to create a form using HTML. Knowing which HTML tags to use can help you adjust form elements when you create a form in Dreamweaver. Describe What occurs when the amount of text the user enters exceeds the space provided in the text area?
Forms in CSS How can I use CSS to modify a form element?
Cascading style sheets (CSS) allow you to modify the appearance of form elements within an HTML document. In the next activity, you will specify that a text field have a light yellow background, no border, and that any text entered is bold and blue.
ACTIVITY 17F Use CSS to Style a Form 1 Open Notepad. Key the code shown in Figure 17.8 on page 481. Save the file as cssform.html.
480
Chapter 17
CSS coding
Figure 17.8 The code on the left looks like the figure on the right when displayed in a browser.
2 Place the insertion point in the first tag just after the word INPUT. Press the spacebar once. Key: class=“formStyle”. Repeat this step for the second tag. Save and preview the file in a browser (see Figure 17.8). Not all form controls respond to CSS properties. For example, specifying no border for option buttons will have no effect. Explain How can you modify the appearance of form elements within an HTML document?
Section 17.1 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• You can use the
1. Define animated GIF, radio button, pull-down menu, text area.
4. Drawing Conclusions How might a company use the information that visitors submit in a registration form?
tag set to insert an audio or video file. • An animated GIF is a sequence of GIF images stored together in one file along with an image transition delay value. • The tag has a type attribute that takes different values, depending on the type of element you are creating.
2. Explain how radio buttons and pull-down menus are similar. 3. List the HTML tags needed to create a pull-down menu.
5. Compare and Contrast In what ways are radio buttons similar to check boxes? In what ways are they different?
Apply It! Use HTML Attributes Under appropriate supervision, locate a Web site that provides advanced HTML reference information. Use this site to identify optional attributes that you could use to affect the appearance of text boxes, pull-down menus, and text areas.
HTML, Scripting, and Interactivity
481
What Does a Webmaster Do?
A
Webmaster’s main function is to keep the site up and running, which often simply means publishing HTML documents that someone else produces.
However, the Web has become a complicated place. Designers commonly create sophisticated pages using cascading style sheets and nested code. Accordingly, the Webmaster’s job has become more complicated and varied, often with added responsibilities such as server and network management, site design, HTML coding and programming, troubleshooting, and monitoring site traffic.
Knowledge and Skills Webmasters should understand network architecture and software, as well as telecommunication technologies. Many Webmasters are also skilled in HTML and other scripting languages.
Webmasters often manage teams of designers and programmers.
Some Webmasters have training in graphics or multimedia. Others specialize in database technologies or security, which can be valuable in building secure e-commerce sites. Webmasters with business experience may focus on a site’s efficiency and profitability.
Becoming a Webmaster Many Webmasters start out by learning about one aspect of the Web, such as design, programming, networking, or business, then gain real-world experience working on Web teams. Organizations such as the World Organization of Webmasters (WOW) have established standards and certifications for Webmasters. WOW certification courses, usually offered through professional schools, can provide a wide range of skills that you need to land a job in the Web field.
1. Conduct an Interview Use the Web to find and contact a professional Webmaster, and interview him or her via e-mail or instant messaging. Discuss the job requirements and training. Summarize the interview in a report. 482
Chapter 17
2. Identify Job Skills Aside from technical skills, what other kinds of skills might be required of a professional Webmaster, especially one who must manage a team of designers and programmers, as well as the site’s efficiency and profitability?
SECTION 17.2 ADDING INTERACTIVITY USING SCRIPTING Focus on Reading Read to Find Out The main purpose of this section is to explain how a Web developer can use scripting languages to supplement an HTML-based Web site. As you read, make sure you know the difference between client-side scripts and server-side scripts.
Main Ideas
Key Terms
Reading Strategy
Scripting languages are used to supplement the capabilities of standard HTML. Scripting languages are divided into client-side scripts and serverside scripts.
Compare and contrast client-side and server-side scripts. Use a Venn diagram like the one below (also available online).
Client-side script
Server-side script
A script is a small program that a Web developer can add to an HTML document to make a static page dynamic. Scripting languages allow Web developers to write small programs that give them greater control over Web site functionality.
Client-Side Scripts How does a client-side script interact with an HTML-based site?
Different scripting technologies interact with HTML-based Web sites in different ways. A client-side script is designed to be transferred to the user’s computer along with the HTML code. Once on the user’s computer, this script is then executed by the user’s Web browser.
Activity 17.2 Explore Scripts Learn more about different types of scripts at WebDesignDW.glencoe.com.
JavaScript Web developers commonly use JavaScript for developing client-side scripts. You can incorporate JavaScript code into a standard Web page by using the <SCRIPT> tag set. Everything contained between the two tags must be JavaScript and must conform to the rules of the JavaScript language. For example, JavaScript is case sensitive, so you must enter the code exactly. If you copy script from a Web site, make sure to get permission from the Web developer. JavaScript code contains different elements that make the script work: ◆ JavaScript treats each element in a browser window as an object, which can have properties that define it. For example, if a page contains a graphic, then the tag defines that object, and the graphic’s height is one of the object’s properties. WebDesignDW.glencoe.com
You Should Know Including tags in your code tells browsers that cannot read JavaScript to skip the code. Browsers that can read JavaScript will still process the code.
HTML, Scripting, and Interactivity
483
◆ An event is something that causes an effect to occur. An event may be triggered by a user action or by the computer system itself. Jargon When discussing what a script does, Web developers usually state what an object “knows,” as though the object were living. For example, a graphic object may know its height and width.
◆ The JavaScript event handler defines the action that will occur when an event takes place. ◆ A function is code that performs the specific action defined by the event handler code. ◆ JavaScript uses variables to identify values that will change when the script is executed. ◆ Conditional statements are commonly used in JavaScript to allow the script to react differently depending on the user’s actions. Web developers can use JavaScript for a variety of programming tasks. In the next activity, you will use JavaScript to create a rollover button.
ACTIVITY 17G Create a Rollover Button Using JavaScript 1 Copy the button1.gif and button2.gif files from the DataFiles\Ch17\ Images folder into the images folder. 2 Open a text editor, such as Notepad. Enter the source code listed in Figure 17.9. Name the file rollover.html and save it in the rollover folder.
Figure 17.9 Enter this JavaScript code to create a rollover button.
Variable Objects
484
Function
Conditional Statement
Event
Event Handler
Chapter 17
3 View rollover.html in a Web browser. The results should look like Figure 17.10. Test the button by touching it with your mouse.
Figure 17.10 The button image changes when the user’s mouse touches it.
Figure 17.11 The <APPLET> tag directs the HTML code to locate the programming code. What is the name of the applet embedded in this code?
Java Applets Java applets are small programs written in the Java programming language. These client-side programs can also be embedded in a Web page. However, unlike JavaScript, the actual Java source code is not included with the HTML file. Instead, the Web developer may simply include an <APPLET> tag that tells the Web browser where to locate the applet program. The applet then downloads over the Internet and executes within a specified area on the Web page. Figure 17.11 shows the code used to insert a small applet into a Web page. Define What is an event handler?
Server-Side Scripts How can a Web page interact with server-side scripts?
Other scripting languages execute on the Web server and transfer the output to the user’s computer as a Web page. A program such as this is called a server-side script.
Common Gateway Interface (CGI) The Common Gateway Interface (CGI) is a standard set of rules that allows Web pages to interact with server-side scripts. Web developers often use CGI to create Web-based forms that users fill out and then submit to the server. The information the users provide passes through the CGI to a server-side script that then processes the information. The script typically saves such information in a database and sometimes generates a confirmation or notification e-mail message as well.
Content CGI scripts can be written in a variety of languages including Java, C, or C++. On Linux Web servers, the Perl scripting language is one of the most popular choices for implementing CGI scripts.
HTML, Scripting, and Interactivity
485
Dynamic Content Troubleshooting Several shortcuts can help you fix a lengthy Notepad document. Use Ctrl + F to open the Find dialog box. Press F3 to find the term again. If you need to replace faulty code throughout the document, press Ctrl + H to open the Find and Replace dialog box.
HTML pages are generally static. Once a server has transferred an HTML page to a user’s browser, the information on that page does not change. Server-side scripts, however, can be used to change static content into dynamic content. “Dynamic content” is a generic term that refers to information that changes based on a user’s action. For example, some forms will offer different options depending on the information submitted by the user. Server-side scripts help make this feature possible. A server-side script retrieves data based on the user’s input and then generates a Web page that displays in the user’s browser. While it looks like a typical HTML document, the information on this page has been changed to suit that particular user. Identify What does CGI stand for?
Debugging Code How can I identify potential problems in my coding?
As discussed in Chapter 4, you can use an HTML validator to debug HTML code. Another way to identify potential problems is to include an alert statement in your code. An alert statement tells you when a particular action is not occurring as specified. Alert statements are useful to Web developers during the testing phase. They are not helpful, however, to visitors to the Web site. Therefore, alert statements should be removed before the site is published. Error messages can also help you locate and fix code errors. Explain When is an alert statement most useful to a Web developer?
Section 17.2 Assessment Reading Summary
What Did You Learn?
Critical Thinking
• Scripts executed by a user’s browser are known as client-side scripts.
4. Draw Conclusions Why do many Web developers copy scripts written by other people into their own pages?
2. Explain the difference between client-side scripts and serverside scripts.
5. Make Recommendations What types of dynamic content would you recommend adding to a site that provides historical information about your city?
• JavaScript is widely used for client-side scripting applications. • Server-side scripts execute on a Web server and transfer the results to the user’s browser.
3. List the HTML tags used to create interactive elements.
Apply It! Explore HTML Web Sites Under appropriate teacher supervision, search the Internet to locate one or more Web sites that contain JavaScript tutorials. Review the information and write a paragraph summarizing one new fact or technique you have learned.
486
Chapter 17
CHAPTER 17
Reading Review
SECTION 17.1 Adding Interactivity Using HTML
SECTION 17.2 Adding Interactivity Using Scripting
Key Terms
Key Terms
animated GIF, 477 radio button, 478 pull-down menu, 479 text area, 479
an audio or video file. An animated GIF is a sequence of GIF images stored together in one file along with an image transition delay value. The tag has a type attribute that takes different values, depending on the type of element you are creating. The type attribute for a text box should equal “text”. For a radio button, it should equal “radio”. For a check box, it should equal “checkbox”. The <SELECT> tag set defines a pull-down menu. The tag set defines a text area.
Main Ideas ■ Scripts executed by a user’s browser are known as ■ ■ ■ ■ ■
■ ■
■ ■ ■
client-side scripts. JavaScript is widely used for client-side scripting applications. JavaScript events are triggered by user action or by the computer system. A JavaScript event handler responds to events. Web developers can use JavaScript for a variety of common programming tasks. Java applets are client-side programs that download and execute when browsers encounter their reference tag in the HTML code. Server-side scripts execute on a Web server and transfer the results to the user’s browser. CGI is a server-side scripting language used to process information, often saving the information in a database. CGI enables Web pages to interact with server-side scripts. Dynamic content is customized information generated by a Web server. An alert statement in your code tells you when an action is not occurring as specified.
HTML, Scripting, and Interactivity
487
CHAPTER 17
Review and Assessment
AFTER YOU READ Find Your Study Method Consider your reading weaknesses and strengths. Think about recurring problems you have when you study and take tests. Then go back over the Read to Succeed features at the beginning of each chapter in this book. Determine which suggestions would be most useful to you. Try using one or more Read to Succeed methods when you read through this chapter and review the material.
On a separate piece of paper, sketch the graphic shown for each question below. Complete the graphic and answer the questions. Be ready to explain and discuss your answers.
13. List the HTML tag and type attribute used for radio buttons, check boxes, and pull-down menus. Form Field
HTML Tag
Type Attribute
radio buttons check boxes pull-down menus
Reviewing Key Terms 1. Which interactive element allows users to select only one item from a list, where all the items in the list are viewed at the same time? 2. What is another term for option buttons? 3. What are the similarities and differences between check boxes and radio buttons? 4. Which interactive element uses the <SELECT> tag set? 5. How does a text area allows users to move up and down to review what they have typed? 6. Rewrite this statement to make it true: Objects are triggered by a user’s action or by the computer system. 7. What scripting language do Web developers use to develop client-side scripts? 8. Which types of scripts are transferred to the user’s Web browser with the HTML code?
Understanding Main Ideas 9. Describe the benefits of having interactive elements in a Web site. 10. Explain how an animated GIF works. 11. Identify the tag used to insert both audio and video files. 12. List the tag and type attribute used for text boxes. 488
Chapter 17
14. Explain the similarities and differences between a JavaScript and a Java applet.
JavaScript
Java Applet
Critical Thinking 15. Distinguish between an event and an event handler. 16. Describe a common use of CGI scripts. 17. Analyze Multimedia You are planning a Web site to announce a new soft drink. What types of sound files might you use? Also, describe an animated GIF that could be used in the site. 18. Make Decisions You are creating an online form. One of the questions that users must answer is “Which conference will you attend?” The conference will be held in 10 cities. What type of interactive control would you use? Explain your decision. 19. Draw Conclusions Some e-commerce sites include wish lists that allow visitors to select items that they may want to purchase in the future. Is the script that supports the wish list feature a client-side script or a server-side script? Explain the reasons for your choice.
CHAPTER 17
Review and Assessment
20. Analyze Languages Identify ways in which scripting languages are similar to and different from HTML or other markup languages. How has the development of scripting languages changed how users interact with the Internet? 21. Make Recommendations A client wants a specific effect for her Web site, and she has asked you to explain how JavaScript works. Complete a flow chart like the one below to show your client how an object is affected. Include five boxes in your chart. Begin with what triggers an event, and include variables and conditional statements in your process. JavaScript Code Element
Reading & Writing Read the paragraph below and then answer the question.
HTML pages are generally static. Once a server has transferred an HTML page to a user’s browser, the information on that page does not change. Server-side scripts, however, can be used to change static content into dynamic content. “Dynamic content” is information that changes based on a user’s action. A server-side script retrieves data based on the user’s input and then generates a Web page that displays in the user’s browser. The information on this page has been changed to suit that particular user.
➠ ➠ ➠ ➠
According to the paragraph, which of the following statements is true?
Element
Dynamic pages change based on a user’s action. Static pages utilize a server-side script to retrieve data.
Element
Both static and dynamic pages change based on a user’s action.
Element
HTML pages are usually dynamic.
Element
You are the center of control when you are at the keyboard creating a Web site. You can work faster if you know the shortcut commands for the more frequently used menu items. On your own paper, copy and complete the chart shown below.
22.
+
23. 24.
Result Result
+
WebDesignDW.glencoe.com
WebDesignDW.glencoe.com Study with PowerTeach Go to the book Web site shown above. To review the main points in this chapter, select e-Review>PowerTeach Outlines>Chapter 17.
Online Self Check Test your knowledge of the material in this chapter by selecting e-Review>Self Checks>Chapter 17.
Result
HTML, Scripting, and Interactivity
489
CHAPTER 17
Activities
1. MAKING CONNECTIONS Social Studies—Create a Survey Form Your psychology class is exploring birth order and personality traits. Use a psychology textbook, library book, or the Internet to find a list of personality traits. Then create a survey form that asks people to identify their birth order (oldest, middle, or youngest) and select the traits that apply best to them. Create the survey form using HTML and test it in a browser.
2. STANDARDS AT WORK Students use productivity tools to collaborate in constructing technologyenhanced models, prepare publications, and produce other creative works. (NETS-S 3)
Debug Scripts Select a partner. You and your partner should then use Dreamweaver to create separate Web pages that contain JavaScript code. You may download the JavaScript code from a Web site (ask for your teacher’s permission before downloading anything from the Web!). 1. Test the page in a browser to make sure that the JavaScript code works correctly. 2. Replace one line of the script by keying the following: code replaced. Be sure to write down the exact script replaced. 3. Have your partner debug the JavaScript code by opening the page in a browser. See if your partner identifies the correct place where the JavaScript code has been removed. 490
Chapter 17
CHAPTER 17
Activities
3. TEAMWORK SKILLS Convert a Printed Form into an Electronic Form With your teacher’s permission, form a team. Have the team members find three printed forms that they have seen or used. As a team, select one form. Then, plan how to convert the printed form into an electronic form. Beside each element on the printed form, write the type of field that should be used. Use text areas only when the information truly cannot be selected in some other way. For example, many printed forms include a line or box to list the state. However, the list of states is known, and therefore should be included as a pull-down menu. Create the form in HTML. Test it in a browser and make changes and modifications as needed.
4. CHALLENGE YOURSELF Create a Dictionary of Terms The World Wide Web Consortium provides an HTML validator that can check HTML code and report errors. This tool is free of charge, but the results are not always easy to understand. ◆ With your teacher’s permission, go to the World Wide Web Consortium’s Web site at www.w3.org. Review the documentation provided about the HTML validator. ◆ As you read the material, write down at least five words or phrases that you do not clearly understand. For example, the word parse is used frequently in the documentation. Create a table with two columns and five rows. List each word or phrase in the left column of the table. ◆ Find a definition or description of each word or phrase you have written down, including the word parse. Use the information to complete the table. ◆ Use your table to create a Web page using HTML code that displays these words or phrases and definitions or descriptions. ◆ With your teacher’s permission, use the HTML validator to check the page you have created. Save your work and test it in a browser. Make changes or modifications, as needed, to the HTML code to improve the look of the table. HTML, Scripting, and Interactivity
491
CHAPTER 17
Projects
These exercises reinforce the skills you learned in this chapter’s You Try It activities. Refer back to the You Try It activities if you need extra guidance.
1. Create a Web Page with Audio in HTML
Build a Web page in HTML that contains two audio files. Locate two audio files that are related in some way. Write a short story or poem that incorporates these two audio files. Create a folder named Skills_17. In this folder, create a second folder named multimedia. Copy the two audio files into the multimedia folder. Open Notepad or another text editor. Create an HTML document that includes links to the two audio files within the text you have written. Use HTML to format the document. Proofread your work carefully. Save the file as an .html document in the Skills_17 folder. Open the file in a Web browser. Test the links to the audio files. Make any changes or improvements needed and test the file in the browser again.
2. Create a Ticket Order Form
492
To reduce long lines at tickets counters, the local sports team has placed order booths around the city. On paper, plan the order form. The form should include game dates, type of payment information, customer information, and the number of tickets desired (use the form on this page as a model). Open Notepad or another text editor. Use HTML to create the form. Save the form as an .html document. Open the file in a Web browser and test the form. Make any changes or improvements needed and test the form in the browser again.
Chapter 17
CHAPTER 17
Projects
Read the projects described below. Then follow the direction to complete each project.
1. Create a Survey Form A summer day camp staff is planning programs for next summer. They want to survey parents about what programs they would like to see offered. The possible types of programs include: art camp, soccer camp, baseball camp, bird watching camp, animal care camp, music camp, mystery adventure camp, swimming camp, and gardening camp. The staff is also open to ideas from the parents about other types of camp experiences. Use HTML to create a form that parents can complete online. You want to gather contact information from the parents, as well as their preferences for camp types. Test the form in a browser, making any changes or improvements as needed.
2. Use JavaScript to Add a Submit Button You will now add a Submit button to the form you created in Project 1 above. This Submit button will include a JavaScript function that will allow people to verify their information. ◆ Add the HTML code below to create the Submit button. Place this code after the last row in the community form.
HTML Code JavaScript
◆ Add the JavaScript shown at right to the head of your form code. This script will add interactivity to the Submit button. ◆ Carefully proofread your code. Test the HTML code in at least two browsers. Make corrections as needed.
HTML, Scripting, and Interactivity
493
Problem Solving: Use HTML and JavaScript You are part of a customer service group. People who need help may call or e-mail questions to your company. A representative is available 24 hours a day, seven days a week to respond. Create a Web page that advertises these services. 1. Create an HTML document that includes the JavaScript code (shown below) in its section. 2. Customize the script by replacing INSERT text here. with your own messages. 3. Write HTML code for the section of the page. The page should list the services you are offering in an unordered list. 4. Create a table that contains three answers to common customer problems. 5. Carefully proof your code. Test your site in at least two browsers. Make any needed changes.
Communication Skills: Create a Community Services Web Site Create a frames-based Web site that provides information about services available in your community, such as libraries, parks, hospitals, and community events. 1. Use a text editor to create the link bar page that will display in the left frame. The list of pages will include the home page, a community services page, a community connections page, and a parks and recreation page. 2. Create the content page for the home page (content pages will display in the right frame). Use WordArt or drawing tools to create a simple community logo. The page should also welcome visitors and describe what can be found at the site. 3. Create the container page that describes how the link bar page and the content page will display. 4. Create the links between the link bar and each of the content pages. 5. Create content pages for the remaining pages. The other content pages should contain brief descriptions of services available in your community, including contact information. 6. Proofread your HTML code carefully. Test your site in a browser. Make changes as needed. 494
Chapter 17
Create a Feedback Form Select a Web site that you have created for your Web design class and add a feedback form to the site. In this project, you will use your HTML skills to create the feedback form. 1. Create a feedback form page that will link to the home page of the site you have selected. Use Dreamweaver to create the new page and to add it to the site’s navigation scheme. 2. Switch to Code view. Create the form using HTML coding. Title the form Help Me Improve the Web Site. 3. Create the following statements and check boxes for responses:
What did you like about this Web site? ❏ Site design ❏ Color scheme ❏ Navigation ❏ Ease of use ❏ Hyperlinks
❏ ❏
Information structure
What did you NOT like about this Web site? ❏ Site design ❏ Color scheme ❏ Navigation ❏ Ease of use ❏ Hyperlinks
❏ ❏
Information structure
Content
Content
4. Create the following statement with radio (option) buttons for the response:
Rate my site: Excellent
Good
Needs improvement
5. Create a text area labeled Comments that people can use to write specific suggestions and ideas. 6. Include a statement at the bottom of the form that thanks visitors for responding. 7. Add code to make the form page consistent with the rest of the Web site. For example, you may want to add a background color or specify a particular font. 8. Test the form in a browser. Make sure that you can navigate to the form from the site’s home page. 9. Optional (with your teacher’s permission)—publish the finished Web site on your school or class Web site. 10. For your portfolio, include a screen shot and an electronic copy of your finished product.
HTML, Scripting, and Interactivity
495
Dreamweaver® Reference Guide Activities in this book can be completed using Dreamweaver MX 2004 and, with some modifications, Dreamweaver MX. The following guide identifies differences between the versions and lists which activities these differences might influence.
Dreamweaver MX versus Dreamweaver MX 2004 1. Page View Options View buttons function the same way in MX and MX 2004. However, the buttons are labeled Design, Code, and Split in MX 2004, and are not labeled in MX.
VIEW
DESCRIPTION
Design View
Lets you edit a page in a What You See Is What You Get environment.
Code View
Lets you examine and edit the HTML code for the page.
Split View
Shows Code view on the top of the screen and Design view at the bottom. Click on an element in Design view to highlight the corresponding HTML code.
2. Dreamweaver Interface There are some important differences between the MX and MX 2004 interfaces.
CATEGORY
DREAMWEAVER MX
DREAMWEAVER MX 2004
TEXTBOOK ACTIVITY
The Insert toolbar has been redesigned in MX 2004.
Insert toolbar has tabs allowing you to select different views.
Insert toolbar has drop-down arrow allowing you to select different views.
Used throughout activities.
The Insert toolbar allows users to customize a Favorites view in MX 2004.
Favorites view not available.
Can customize Favorites view with most often used buttons.
Used throughout activities.
Position of Document tabs that allow users to switch between open pages has changed in MX 2004.
Tabs that allow you to jump between open pages are located below document at bottom of screen.
Tabs that allow you to jump between open pages are located above document at top of screen.
Used throughout activities.
496
Appendix A Dreamweaver Reference Guide
3. Creating, Defining, and Publishing Sites In Dreamweaver MX, you use menus or panels to create or open Web site files. In MX 2004, you use the Start page to open existing sites, to create new sites, or to edit definitions.
Opens new blank HTML page
Opens more options, including templates
Allows user to define new site or edit an existing one
The differences between creating, defining, and publishing sites in Dreamweaver MX and MX 2004 are outlined in the table below.
CATEGORY
DREAMWEAVER MX
DREAMWEAVER MX 2004
TEXTBOOK ACTIVITY
To create a new blank page.
Choose File>New, select Basic Page from the Catalog list and HTML from the Basic Page list.
On Start page, under Create New, click HTML.
You Try It (YTI) Activity 2A, p. 49
To define a new site.
Choose Window>Site. On Site menu toolbar, select Site>New Site
On Start page, under Create New. Select Dreamweaver Site. OR click Site>Manage Sites and click New.
YTI Activity 2A, p. 49 YTI Activity 8A, p. 230 YTI Activity 12A, p. 337
To use a template to create a new page.
Choose File>New, select Templates tab.
On Start page, under Create New, click More. Select the Templates tab.
YTI Activity 7A, p. 193
To edit the site definition of an existing site.
Select Site>Edit Sites.
Select Site>Manage Sites.
YTI Activity 1B, p. 23 YTI Activity 11B, p. 318
To publish a site using FTP.
Can publish using passive FTP only.
Offers option to publish using passive or secure FTP.
Appendix A Dreamweaver Reference Guide
497
4. Formatting There are differences between MX and MX 2004 that influence how you copy and paste text between applications and how you format font sizes on a Web page.
CATEGORY
DREAMWEAVER MX
DREAMWEAVER MX 2004
TEXTBOOK ACTIVITY
To copy and paste text from Microsoft Word and Excel.
Pasted text does not retain fonts, colors, or formatting.
Pasted text and data retain fonts, colors, and formatting, using CSS.
Chapter 12, Skills Studio #2, p. 362
To change the font size in the Properties inspector.
In the Font Size drop-down menu, font sizes range from 1 to 7 and +1 to +7.
Font size choices range from 9 to 36 pixels and from xxsmall to larger.
YTI Activity 3D, p. 86
5. Images Dreamweaver MX 2004 contains limited Macromedia Fireworks capabilities that allow you to manipulate images. These capabilities are not present in Dreamweaver MX. Resample
Brightness and Contrast
Crop
Sharpen
The image capabilities available in MX and MX 2004 are outlined in the table below.
CATEGORY
DREAMWEAVER MX
DREAMWEAVER MX 2004
TEXTBOOK ACTIVITY
To crop or resample an image in Dreamweaver.
Cropping and resampling must be done in an external image editor.
Crop and Resample buttons appear in the Properties inspector when an image is selected (see above).
YTI Activity 8B, p. 233
To change the brightness, contrast and sharpness of an image.
The brightness, contrast, and sharpness of an image must be adjusted in an external image editor.
Brightness and Contrast and Sharpen buttons appear in the Properties inspector when an image is selected (see above).
YTI Activity 8C, p. 234
498
Appendix A Dreamweaver Reference Guide
6. Page Properties Dialog Box You use the Page Properties dialog box to specify a Web page’s layout, formatting, and other characteristics.
Categories
The table below outlines how the dialog box is different in MX and MX 2004.
CATEGORY
DREAMWEAVER MX
DREAMWEAVER MX 2004
TEXTBOOK ACTIVITY
To change the category on the Page Properties dialog box.
Does not contain separate box labeled Category. Enter title into Title text box at top of dialog box.
Under Category, select Title/Encoding to find the Title text box.
YTI Activity 4I, p. 117
To change the color of a Rollover link in the Page Properties dialog box.
Enter values for Links, Visited links, and Active links.
In Links category, includes Rollover links option.
YTI Activity 6H, p. 180
7. CSS While Dreamweaver MX automatically uses tables to lay out pages, MX 2004 uses CSS by default for page layout. Some of the CSS features available in MX 2004 are outlined below.
CATEGORY
DREAMWEAVER MX
DREAMWEAVER MX 2004
To see which CSS rules apply to a page.
Not available.
Relevant CSS tab in Tag Inspector panel shows which CSS rules apply to the current selection.
To create new CSS files.
In the New CSS Style dialog box, next to Type, choose Make Custom Style (Class).
In the New CSS Style dialog box, for Selector type, choose Class (can apply to any tag).
Browser validation (used to confirm that pages can be viewed by specific browsers).
Not available.
Documents are checked for CSS rules and tags compatibility. Click the Check Browser Support button on the Document toolbar to view any problems.
TEXTBOOK ACTIVITY
YTI Activity 12B, p. 338
Appendix A Dreamweaver Reference Guide
499
Windows versus Macintosh Commands The following table outlines some of the more frequently used Windows commands (and the corresponding Mac shortcuts) covered in this book.
ACTION
WINDOWS SHORTCUT
MACINTOSH SHORTCUT
Align>Center
Ctrl + Alt + Shift + C
Cmd + Option + Shift + C
Align>Justify
Ctrl + Alt + Shift + J
Cmd + Option + Shift + J
Align>Left
Ctrl + Alt + Shift + L
Cmd + Option + Shift + L
Align>Right
Ctrl + Alt + Shift + R
Cmd + Option + Shift + R
Bold
Ctrl + B
Cmd + B
Check links in the entire site
Ctrl + F8
Cmd + F8
Check selected links
Shift + F8
Shift + F8
Check spelling
Shift + F7
Shift + F7
Clear
Delete
Delete
Close
Ctrl + W
Cmd + W
Close All
Ctrl + Shift + W
Cmd + Shift + W
Close Window
Ctrl + F4
No shortcut
Copy
Ctrl + C or Ctrl + Insert
Cmd + C
Create new file
Ctrl + Shift + N
Cmd + Shift + N
Create new folder
Ctrl + Alt + Shift + N
Cmd + Option + Shift + N
Ctrl + X or Shift + Delete Ctrl + Q or Alt + F4
Cmd + X or Shift + Delete Cmd + Q or Option + F4
Find and Replace
Ctrl + F
Cmd + F
Get selected files or folders from remote site
Ctrl + Shift + D
Cmd + Shift + D
Insert Flash Files
Ctrl + Alt + F
Cmd + Option + F
Insert Image
Ctrl + Alt + I
Cmd + Option + I
Insert Named anchor
Ctrl + Alt + A
Cmd + Option + A
Insert Table
Ctrl + Alt + T
Cmd + Option + T
Italic
Ctrl + I
Cmd + I
Move to end of code
Ctrl + End
Cmd + End
Cut Exit/Quit
500
Appendix A Dreamweaver Reference Guide
ACTION
WINDOWS SHORTCUT
MACINTOSH SHORTCUT
Move to the next cell
Tab
Tab
New document
Ctrl + N
Cmd + N
Open an HTML file
Ctrl + O
Cmd + O
Open/close CSS Styles panel Shift + F11
Shift + F11
Open/close Files panel
F8
F8
Open/close Frames panel
Shift + F2
Shift + F2
Open/close Insert toolbar
Ctrl + F2
Cmd + F2
Open/close Layers panel
F2
F2
Open/close Properties inspector
Ctrl + F3
Cmd + F3
Open/close Results panel
F7
F7
Page properties
Ctrl + J
Cmd + J
Paste
Ctrl + V or Shift + Insert
Cmd + V or Shift + Insert
Preview in primary browser
F12
F12
Put selected files or folders to remote site
Ctrl + Shift + U
Cmd + Shift + U
Redo
Ctrl + Y
Cmd + Y
Reference
Shift + F1
Shift + F1
Replace
Ctrl + H
Cmd + H
Save
Ctrl + S
Cmd + S
Save as
Ctrl + Shift + S
Cmd + Shift + S
Select All
Ctrl + A
Cmd + A
Show/Hide panels
F4
F4
Show Rulers
Ctrl + Alt + R
Cmd + Option + R
Switch between Design and Code views
Ctrl + `
Cmd + `
Switch to Design view
Ctrl + `
Option + `
Undo
Ctrl + Z
Cmd + Z or Option + Backspace
Using Dreamweaver Help Topics
F1
F1
View site files
F8
F8
View site map
Alt + F8
Option + F8
Appendix A Dreamweaver Reference Guide
501
HTML Reference Guide The tables in this appendix contain common HTML tags (as used in Chapter 4) and advanced HTML tags (as used in Chapters 16 and 17).
How to Use the Tables ◆ Attributes associated with a tag are listed under the tag. ◆ “Italic text” that appears between quotes represents values such as numbers and colors that are selected by the programmer. ◆ “Non-italic text” that appears between quotes indicates specific values that the programmer cannot change. Common HTML Tags and Attributes
TAGS AND ATTRIBUTES
DESCRIPTION Tag set that marks the anchor, or clickable, portion of a hyperlink. Anchor content is specified between the anchor tags and can include text or an image.
href=“URL or file name”
Attribute that specifies the URL or file being linked to. Can also be used to create links to audio and video files.
target=“name of frame”
Attribute that tells the browser to load the target Web page into a specified frame (see advanced HTML table).
Tag set that offsets a paragraph from the regular body text, usually by indenting the paragraph’s left and right margins. Useful when formatting quotes or citations.
Tag set that marks the start and end of the Web page’s displayable content.
bgcolor=“selected color”
Attribute that specifies a page’s background color.
text=“selected color”
Attribute that specifies the text color for an entire Web page.
Empty tag that inserts a line break.
<EM>
Tag set used to display text between tags in italics.
Tag set that lets you specify the enclosed text’s characteristics.
502
color=“selected color”
Attribute that defines the font color used.
face=“selected font type”
Attribute that defines the font type (e.g., Arial) used.
size=“selected font size”
Attribute that defines the font size used. Possible numbers range from 1 to 7, where 1 is the smallest font size.
Appendix B HTML Reference Guide
Common HTML Tags and Attributes (cont.)
TAGS AND ATTRIBUTES align=“selected alignment”
DESCRIPTION Specifies heading level. 1 (
) is the largest heading and 6 (
) is the smallest heading.
Attribute used to define a heading’s alignment. Alignment values include: left, right, or center.
Tag set that defines the header area of an HTML document. Header information is not displayed on the Web page.
Empty tag that inserts a horizontal line.
Tag set that marks the start and end of an HTML document.
Empty tag that displays an image on a Web page.
src=“image file name”
Attribute that specifies the image’s source location. This attribute must be included in all image tags.
alt=“alternative text”
Attribute that gives the browser an alternative text message to display in place of a missing image. This attribute should be included in all image tags to make a site accessible.
align=“selected alignment”
Attribute used to wrap text around an image or to align an image on the page.
border=“selected number”
Attribute that specifies the pixel size of an image’s border.
width=“selected width”
Attribute that specifies an image’s width in pixels.
height=“selected height”
Attribute that specifies an image’s height in pixels.
Tag set that identifies a list item within an unordered (bulleted) or an ordered (numbered) list.
Tag set used to specify an ordered, or numbered, list.
Tag set that indicates the start and end of a paragraph.
align=“selected alignment”
Attribute used to define a paragraph’s alignment. Alignment values include: left, right, or center.
<STRONG>
Tag set used to display text between tags in boldface.
<TITLE>
Tag set that defines the Web page’s title, which is displayed in the Web browser’s title bar.
Tag set used to specify an unordered, or bulleted, list.
type=“selected bullet type”
Attribute used to specify the type of bullet used to display each list item. Types include disc, square, and circle.
Appendix B HTML Reference Guide
503
Advanced HTML Tags and Attributes
TABLE TAGS AND ATTRIBUTES
DESCRIPTION Tag set that marks the beginning and end of the table area.
align=“selected alignment”
Attribute that defines the horizontal alignment of the entire table. Alignments include: left, right, or center.
border=“selected width”
Attribute that creates a table border. The higher the border width number, the thicker the border.
bordercolor= “selected color”
Attribute that specifies the table border’s color.
cellpadding= “selected number”
Attribute that adjusts the space between a cell’s border and the cell’s content.
cellspacing= “selected number”
Attribute that adjusts the space between the outer border and a cell’s border.
width=“selected number”
Attribute that specifies a table’s width. Number can be in pixels or a percentage of the document’s width.
Tag set that marks the start and end of a table column.
colspan= “selected number”
Attribute used to merge cells horizontally. The number indicates the number of columns to be merged.
rowspan= “selected number”
Attribute used to merge cells vertically. The number indicates the number of rows to be merged.
align=“selected alignment”
Attribute that defines how the contents of a particular table cell will align. Alignments include: left, right, or center.
Tag set that defines a table header.
Tag set that marks the start and end of a table row.
align=“selected alignment”
Attribute that aligns the contents of all the cells in a selected row. Alignments include: left, center, and right.
FRAME TAGS AND ATTRIBUTES
Empty tag that defines each frame on a container page.
noresize
Attribute used to prevent users from resizing the frame.
src=“name of document”
Attribute that specifies file name that will display in the frame.
name=“name of frame”
Attribute on the container page that works with the target attribute to tell the browser which frame to open a page in.
504
DESCRIPTION
Tag set that defines the container page.
cols=“selected sizes”
Attribute that defines a frame page organized in columns. Number specifies the width of each column in pixels or as percentages. An asterisk (*) can be used to represent the remaining space on screen (e.g., cols=“45, *”).
rows=“selected number”
Attribute that defines a frame page organized in rows. Number specifies the height of each row in the page.
Appendix B HTML Reference Guide
Advanced HTML Tags and Attributes (cont.)
FRAME TAGS AND ATTRIBUTES
FORM TAGS AND ATTRIBUTES
DESCRIPTION Tag set that establishes an alternative layout for browsers incapable of supporting frames.
DESCRIPTION
Tag set that defines start and end of form.
Empty tag that defines a form element.
name=“selected name”
Attribute that defines the name of the form element.
type=“checkbox”
Attribute that defines a check box.
type=“radio”
Attribute that defines a radio button.
type=“text”
Attribute that defines a text box.
type=“submit”
Attribute that defines a Submit button.
type=“reset”
Attribute that defines a Reset button.
size=“number”
Attribute used to define the size of a text field.
Tag set that creates individual options in a form menu. Must be placed within the <SELECT> tag set. Attribute that specifies the initial value of a menu option. Tag set that defines a pull-down menu. Attribute that defines the menu’s name. Tag set that defines a text area.
cols=“selected number”
Attribute that defines a text area’s width.
name=“selected name”
Attribute that defines the text area’s name.
rows=“selected number”
Attribute that defines a text area’s height.
SCRIPT TAGS AND ATTRIBUTES <APPLET>
DESCRIPTION Tags that tell browsers that cannot read JavaScript to skip the code. Empty tag that inserts an applet into an HTML document.
height=“selected number”
Attribute used to define the applet’s height.
src=“name of program”
Attribute used to define location of applet.
width=“selected number”
Attribute used to define the applet’s width.
<SCRIPT>
Tag set that inserts a script into an HTML document.
Appendix B HTML Reference Guide
505
Web-Safe Color Reference Guide Using Colors on the Web As discussed in Chapter 7, not every monitor displays color in the same way. To avoid complications, you should select colors from the 216-color Web-safe color palette when formatting text, choosing backgrounds, and creating basic graphics for your site. Using this limited color palette (shown on the next page) helps ensure that colors will display properly no matter what computer system, monitor settings, or Web browser people use to view your pages.
The 16 Named Colors You can also use the World Wide Web Consortium’s 16 named colors to maintain color consistency across various platforms, monitors, and Web browsers. These 16 colors can be used by name in an HTML tag in place of a hexadecimal number. For example, both the tag and the tag can be used to define a green font color. The 16 named colors and their corresponding hexadecimal values are shown in the table below. 16 Named Colors Color Name
506
Hexadecimal Value
Aqua
#00FFFF
Black
#000000
Blue
#0000FF
Fuchsia
#FF00FF
Gray
#808080
Green
#008000
Lime
#00FF00
Maroon
#800000
Navy
#000080
Olive
#808000
Purple
#800080
Red
#FF0000
Silver
#C0C0C0
Teal
#008080
White
#FFFFFF
Yellow
#FFFF00
Appendix C Web-Safe Color Reference Guide
Example
The Web-Safe Color Palette Colors in the chart are notated in both their hexadecimal values for use in Web design programs and their RGB (red, green, blue) values for use in graphics programs. ◆ The first number/letter combination shown represents the color’s hexadecimal value. You can use hexadecimal values to select colors when creating HTML documents or when using Dreamweaver. ◆ The second set of numbers shown represents the color’s RGB value. Each of these numbers correlates to an intensity value of red, green, and blue as displayed on a monitor. For example, an orange color would have the RGB color designation of: red 255, green 102, and blue 51. FFFFFF R=255 G=255 B=255 FFCCFF R=255 G=204 B=255 FF99FF R=255 G=153 B=255 FF66FF R=255 G=102 B=255 FF33FF R=255 G=51 B=255 FF00FF R=255 G=0 B=255 CCFFFF R=204 G=255 B=255 CCCCFF R=204 G=204 B=255 CC99FF R=204 G=153 B=255 CC66FF R=204 G=102 B=255 CC33FF R=204 G=51 B=255 CC00FF R=204 G=0 B=255 99FFFF R=153 G=255 B=255 99CCFF R=153 G=204 B=255 9999FF R=153 G=153 B=255 9966FF R=153 G=102 B=255 9933FF R=153 G=51 B=255 9900FF R=153 G=0 B=255
These colors may appear differently on your monitor than they do here in print.
Appendix C Web-Safe Color Reference Guide
507
Web Design Rubric A rubric is a tool that you can use to evaluate Web pages and Web sites. The rubric in this appendix lists criteria that you can use to assess various aspects of Web site design. You can use the rubric to evaluate existing sites, or to evaluate your own sites. As you create a site, ask yourself the questions listed in the rubric. Then determine if your site rates as excellent, good, or poor. Revise your site as needed to improve its rating.
Web Site Evaluation Rubric CRITERIA
EXCELLENT (3)
GOOD (2)
POOR (1)
Information Design Is the site’s purpose clearly stated?
The site’s purpose is clearly stated.
The site’s purpose is understood but not strongly stated.
The site’s purpose is unclear.
Is all content current, accurate, and properly cited?
All content is current, accurate, and properly cited.
Some content is current, accurate, and properly cited.
None of the content is current, accurate, and properly cited.
Is the text logically organized and presented in short sections?
Text is presented in short sections and is logically organized.
Some text is presented in short sections and is logically organized.
Text is presented in long sections and its organization is unclear.
Has all the content been proofread and spell checked?
All content is proofread and spell checked.
There are minor problems with grammar and spelling.
Problems with grammar and spelling are strongly noticeable.
Does the site’s content, formatting, and color scheme support its purpose?
The site’s content, formatting, and color scheme supports its purpose.
Some of the site’s content, formatting, and color scheme supports its purpose.
None of the site’s content, formatting, and color scheme supports its purpose.
Is the site’s color scheme, layout, and formatting consistent?
The site’s color scheme, layout, and formatting is consistent.
The site’s color scheme, layout, and formatting is inconsistent in some pages.
The site’s color scheme, layout, and formatting is inconsistent in every page.
Does the page contain sufficient white space?
The page contains sufficient white space.
The page contains some white space.
The page contains insufficient white space.
Is text readable against the background?
Text is readable against the background.
Text is difficult to read against the background.
Text is unreadable against the background.
Is formatting used to emphasize important text?
Formatting is used to emphasize important text.
Formatting is sometimes used to emphasize important text.
Formatting is not used to emphasize important text.
Is important information displayed in the safe area?
Important information is displayed in the safe area.
Some of the important information is displayed in the safe area.
None of the important information is displayed in the safe area.
Presentation Design
508
Appendix D Web Design Rubric
CRITERIA
EXCELLENT (3)
GOOD (2)
POOR (1)
Interaction Design Do all internal and external hyperlinks work properly?
All internal and external hyperlinks work properly.
Not all internal and external hyperlinks work.
None of the internal and external hyperlinks work.
Can users move easily between pages?
Users can move easily between all pages.
Users can move easily between some pages.
Users cannot move easily between pages.
Can users locate specific information quickly?
Users can locate specific information quickly.
Users can locate specific information with some searching.
Users cannot locate specific information.
Can users easily return to the Web site’s home page?
Users can easily return to the Web site’s home page.
Users can easily return to the Web site’s home page from some pages.
Users cannot easily return to the Web site’s home page from any page.
Multimedia and Interactivity Does every element enhance the site and promote usability (i.e., buttons change colors to let users know when something is clicked)?
All elements enhance the site and promote usability.
Some elements enhance the site and promote usability.
None of the elements enhance the site and promote usability.
Do users clearly know how to use all interactive elements?
Users clearly know how to use all interactive elements.
Users know how to use most interactive elements.
Users do not know how to use any interactive elements.
Are all form elements and links clearly labeled?
All form elements and links are clearly labeled.
Some form elements and links are clearly labeled.
None of the form elements or links are clearly labeled.
Does every multimedia and interactive element work properly in a variety of browsers?
All multimedia and interactive elements work properly in a variety of browsers.
Some multimedia and interactive elements work properly in a variety of browsers.
None of the multimedia and interactive elements work properly in a variety of browsers.
Does the site display properly in a variety of different browsers at different resolutions?
Site displays properly in a variety of different browsers at different resolutions.
Site displays properly in some different browsers at different resolutions.
Site does not display properly in different browsers at different resolutions.
Are both graphic and text links included?
Both graphic and text links are included.
Some text links are included.
No text links are included.
Does a frames site offer alternatives to help users whose browsers do not support frames?
Frames site offers the option to help users whose browsers do not support frames.
Frames site offers some alternative to help users whose browsers do not support frames.
Frames site does not offer any alternative to help users whose browsers do not support frames.
Does every frame in a frames-based site have a logical title?
All frames in a frames-based site have a logical title.
Some frames in a framesbased site have a logical title.
None of the frames in a frames-based site have a logical title.
Is alternative text provided for all non-text items?
Alternative text is provided for all non-text items.
Alternative text is provided for some non-text items.
Alternative text is not provided for any non-text items.
Does every page download quickly for the target audience?
All pages download quickly for the target audience.
Some pages download quickly for the target audience.
None of the pages download quickly for the target audience.
Usability and Accessibility
Appendix D Web Design Rubric
509
A absolute link A type of link that contains the complete URL or path of the file being linked to. (p. 112) Acceptable Use Policy (AUP) See Internet Use Agreement. (p. 84) access control A security measure in which a site’s availability is restricted to a specific set of authorized users. (p. 433) accessibility Hardware and software options that allow differently abled individuals to access and use Web pages. (p. 353) accessibility option A feature that allows differently abled individuals to access and use Web pages. (p. 73) accessibility standards A series of accessibility features that make it easier for users to understand, scan, and respond to elements in a Web site. (p. 353)
applications See application software. (p. 41) archiving The process of saving and storing old Web pages and their components. (p. 432) aspect ratio The relationship between an image’s height and width. (p. 231) attribute An HTML instruction that is included in an HTML tag to specify a characteristic of a Web page element. (p. 104) audio Live, streamed, or recorded sound; often used on Web pages to attract visitors’ interest and to impart information. (pp. 12, 252)
B backup A copy of a specific set of data, usually stored in a different place such as a tape, CD-ROM, or another hard drive. (p. 426) banner ad An advertisement that, when clicked, takes the visitor to the sponsor’s home page. (p. 283)
active button A clicked button that is in the process of doing something such as transferring the user to another Web page. (p. 177)
bitmap (BMP) A graphic file format that supports millions of colors and tends to download slowly. (p. 225)
alignment The position of text on a page, such as left, right, or center. (p. 204)
blog A public journal in which one or more individuals share their thoughts on a variety of subjects. (p. 376)
alternative text Text used in place or in addition to audio, video, and graphic Web elements to assist differently abled individuals. (p. 354) analog video recorder A device that creates analog video. This video must be translated into a digital format before a computer can use it. (p. 261) anchor tag An HTML tag used to create hyperlinks. The tag identifies what is clicked on and where it links to. (p. 110) animated GIF A sequence of GIF images that are all stored in a single file along with an image transition delay value that controls the amount of time each image will stay on the screen. (p. 477)
Boolean search A type of search that combines keywords in specific ways to locate specific pages. (p. 76) border A visual break on the page that is used to add visual interest and to separate elements. (p. 120) budget The total financial resources available for a Web site’s development. (p. 326) bulleted list See unordered list. (p. 106) bulletin board An online area where users can exchange messages. (p. 377)
animation The movement of text and graphics; a common feature on the Web. (pp. 12, 253)
business-to-business (B2B) e-commerce Electronic exchanges in which both parties are businesses. (p. 323)
application software Computer programs that allow users to perform a specific task on the computer; also referred to as applications. (p. 41)
business-to-consumer (B2C) e-commerce Electronic exchanges between businesses and individual consumers. (p. 323)
510
Glossary
C cascading style sheet (CSS) A style sheet that consists of code that defines formatting and layout settings for HTML tags in a single location. (p. 338) case sensitive Distinguishing between file names that contain uppercase and lowercase letters and those that contain only lowercase letters. (p. 399) cell Each individual square within a table; the intersection of a column and a row. (p. 175) cell padding The space between a table cell’s border and its content. (p. 451) cell spacing The space between the outer border of a table and the cell border. (p. 451) check box A form field option that allows visitors to choose as many items from a list as they desire. (p. 344) class selector A selector that applies the same attribute to any HTML element that references it. Can be used multiple times in an HTML document. (p. 463) client In a network, the individual computers that are part of that network. (p. 45) In a Web site development team, the person or organization that contracts and pays for the work. (p. 314) client liaison representative The project team member who maintains contact with the client throughout the Web site development process. (p. 314) client-side script A script that is executed by the user’s Web browser. (p. 483) closing tag See ending tag. (p. 98) codec Compression and decompression scheme used with streaming media; the Web server breaks the transmission into pieces allowing the media to display more quickly on the user’s screen. (p. 253) color palette A menu of colors available in the Dreamweaver program. (p. 116) color scheme A set of selected colors used consistently for a Web site’s interface elements, such as title graphics, navigation buttons, and background. (p. 198) column Cells in a table that are arranged vertically. (p. 175)
commercial software Software that is developed and distributed with the intention of making a profit. (p. 85) Common Gateway Interface (CGI) A type of script that provides a link, or interface, between an external application and a Web server. This link allows the Web server to pass a user’s request to an application program and then return information to the user. (p. 279) conditional statement A type of code that allows a script to respond differently depending on the action taken by the user. (p. 484) consistency A similarity among parts of a whole; a rule that encourages designers to use similar design elements throughout a site. (p. 192) container page Page that defines the characteristics of each page in a frames-based site. (p. 457) content The text and graphics included on a Web page. (p. 162) content page The page that contains the main information on a frames-based site and fulfills the site’s main purpose. (p. 458) cookie A small data file that a Web site writes to a visitor’s hard drive containing personal information such as login or registration information. (p. 348) copyright A law that asserts that only the copyright’s owner has the right to sell his or her work or to allow someone else to sell it. (p. 86) cropping To remove portions of an image that you do not want to use. (p. 231) cross-platform testing The process of testing Web sites on a variety of computer hardware and software configurations to make sure that the site will function properly for different users. (p. 403)
D data encryption Security measure in which sensitive information is encoded and decoded as it is transferred across the Internet. (p. 351) database A collection of information that is organized by fields and records for easy retrieval. (p. 368) database driven Dynamic page that uses a database for its source of information. (p. 368) database interface page A Web page that connects to and interacts with a database. (p. 368) Glossary
511
debugging The process of locating and correcting any obvious errors in a Web site’s HTML code. (p. 113)
event handler The part of the script that responds to an event and defines the action that will occur when the event takes place. (p. 484)
digital camera A photographic device that saves images in a digital format so they can be easily used on the Web. (p. 229)
Extensible Hypertext Markup Language (XHTML) A markup language that is designed to bridge the differences between HTML and XML. (p. 280)
digital certificate A document issued by an independent certification authority that confirms a business’s credentials. (p. 352)
Extensible Markup Language (XML) A markup language whose tags impose a specific structure and meaning on data without providing any information about how the data should be displayed. (p. 280)
digital video recorder A device that creates digital video that a computer can use directly. (p. 261) direct server update The act of updating or revising a Web site’s files directly on the Web server where the site resides. (p. 430) directory structure A hierarchy used to organize folders and the files contained in the folders; also called folder structure. (p. 400) Document window Interface element that displays the user’s current document. (p. 22) domain name Part of a URL that identifies the entity (such as a university, individual, or business) that sponsors the Web site. (p. 72)
external hyperlink A hyperlink that takes a user to a page on a different Web site. (p. 81) external style sheet A style sheet containing format and layout settings that is stored in a separate file. (p. 339) external Web hosting When a company pays another business to host its Web sites. (p. 397) extranet A type of network that can be accessed by outside or remote users who are authorized to use the network. (p. 70)
F
domain name extension Part of the URL that tells users what type of organization uses the address. (p. 72)
fair use Allows for small portions of a copyrighted work to be used for educational purposes. (p. 86)
dots per inch (dpi) A definition of resolution that defines the number of pixels created for every linear inch of an image, such as 600 dpi. (p. 229)
feedback form A form that allows customers to voice their opinions, comments, and suggestions, and can help to cement a relationship between the customer and the business. (p. 342)
download To transfer data from a file server to a client (user) machine. (p. 401) draw program A type of software application such as PhotoDraw that is used to create vector graphics. (p. 229)
E e-commerce The electronic buying and selling of goods and services. (p. 322) empty tag An HTML tag that requires only an opening tag; also known as an orphan tag. (p. 99) ending tag The last of a pair of HTML tags; also known as a closing tag. (p. 98) event Anything that causes an effect to occur; often triggered by user action. (p. 484)
512
Glossary
field A form component that allows the user to enter information into the form. A form field often corresponds to a field database. (p. 292) file Contains information, such as text, graphics, video, or animation, that is stored on computer hardware. (p. 6) file management The process of creating, naming, moving, updating, and deleting files on a computer system. (p. 430) file name The name of the HTML document that makes up the Web page itself. (p. 148) file name extension The three or four characters after a period in a file name that tell the computer system what type of file it is reading. (p. 103) File Transfer Protocol (FTP) Provides a standardized method of uploading and downloading files on the Internet. (pp. 68, 401)
Files panel A Dreamweaver interface element that enables users to manage and navigate the files and folders in a Web site. (p. 22) folder An item that helps the user organize files. (p. 48) folder structure See directory structure. (p. 400) font A family of letters, numbers, and other symbols that share a consistent style. (pp. 51, 202) footer The bottom portion of a Web page; usually contains date information, copyright information, contact information, and text links. (p. 179) form A structure that includes fields for collecting data from visitors to a Web site. (p. 292) format The way text characters look on a page. (p. 51) formatting Determining the font sizes, colors, styles, typefaces, and alignments to use on a page. (p. 202) frame A separate region on a Web page that contains its own HTML document. (pp. 380, 486) frameset A shell page in a frames site that contains information about the size and placement of the frames within the site. (p. 381) freeware Software that can be freely copied and used for any legal purpose. (p. 85) frequently asked questions (FAQ) A list of questions and answers to questions that visitors are likely to have about the Web site, the business, or a company’s products. (p. 373) FTP See also File Transfer Protocol. (pp. 68, 401) function In JavaScript, code that performs a specific task or action. (p. 484)
G GIF (Graphic Interchange Format) A graphic file format that can save only a maximum of 256 colors. (p. 225) GIF animation A simple type of animation file in which individual GIF images are displayed one after the other. (p. 265) global access control A security measure in which groups of users are granted or denied access to computer system data; different groups of users are often given different levels of access to system data. (p. 435)
graphic A drawing, chart, diagram, painting, or photograph stored in a digital format. (p. 12) graphic link A type of link in which users click an image to activate the link. (p. 111) graphical user interface (GUI) Type of interface that allows users to interact with software by selecting words, symbols, or graphics from a desktop. (p. 40) guest book A public record of comments from visitors to a Web site. (p. 377) GUI See graphical user interface. (p. 40)
H hard drive mirroring Writing data to more than one hard drive at the same time; ensures reliability and keeps Web servers fully functional at all times. (p. 425) hardware The physical components of the computer. (p. 6) header column Column in a table that contains the titles for each row. (p. 452) header row Row in a table that contains the titles for each column. (p. 452) hierarchical navigation scheme Type of navigation plan in which pages are arranged in levels from top to bottom, with the topmost level being the Web site’s home page. (p. 141) hit counter A dynamic Web component that records how often a file is accessed from a Web server. Each file on a Web page counts as one hit. (p. 366) home page The main page on a Web site that contains general information about the site, such as an introduction and a list of the other available pages; generally the first page a visitor sees. (p. 7) host The name of the Web server on which a particular Web site resides. (p. 395) hotspot A graphic link to a related page or another area on the current page. (p. 237) hot-swappable hard drives System used by some Web servers that contains multiple hard drives; allows a Webmaster to replace one drive for another in case of failure of the drive. (p. 425) hover button A navigation button that changes appearance when touched by a mouse pointer. (p. 177) Glossary
513
HTML See also Hypertext Markup Language. (p. 98) HTML editor See text editor. (p. 78) HTML tag Text contained between two angle brackets (< >) that tells the Web browser how to display a page’s content. (p. 98) HTTP See also Hypertext Transfer Protocol. (p. 68) hyperlink A way to link Web pages together and allow users to move from one online location to another. Link may consist of text or a graphic. (p. 13)
intellectual property Creative works created and owned by individuals such as authors, software developers, and musicians. (p. 86) interaction design Part of the Web site design process in which you determine how the user is likely to navigate through the site. (p. 16) interactive button Type of button that changes to let users know that an action has taken place; also called a dynamic button. (p. 177)
Hypertext Markup Language (HTML) The code used to create Web pages. (p. 98)
interactivity Allows communication between the visitor and the Web page; the user can perform an action that the Web page responds to. (p. 278)
Hypertext Transfer Protocol (HTTP) Used to transfer files from a Web server to a Web browser. (p. 68)
interface Means by which a user interacts with a computer or a computer program. (p. 22)
I id selector A selector that identifies only one element within an HTML document. Always preceded by a # sign. (p. 463) image editing program A type of software application such as Fireworks used to create raster graphics. (p. 229) image map A graphic with clickable areas called hotspots that link to another page or to another area on the same page. (p. 237) incremental backup Copies only the data that has changed since the last full backup to the backup device. (p. 426)
internal style sheet A style sheet that embeds CSS information within an individual Web page. (p. 338) internal Web hosting When a company uses its own Web server to host its Web site. (p. 397) Internet Hardware, such as computers, cables, and telephone wires, that is connected to create a massive worldwide network. (p. 6) Internet service provider (ISP) A business that provides a network to customers that they use to access the Internet. (p. 67) Internet Use Agreement Used by organizations such as schools and businesses to regulate online use. Also called Acceptable Use Policy or AUP. (p. 84)
information design Part of the Web site design process in which you determine the content that will appear on each page. (p. 16)
InterNIC A Web site providing information about the Web name registration process; it is hosted by the Internet Corporation for Assigned Names and Numbers (ICANN), which assigns Web site names and IP addresses. (p. 399)
inline graphic Created by storing a picture in an electronic format on a hard drive and inserting the graphic into a Web page. (p. 230)
intranet A LAN or WAN that is designed to make it easy to share information within an organization, such as a business or a school. (p. 70)
input device Tool used to enter data into a computer, such as the keyboard and mouse. (p. 38)
inverted pyramid A type of narrative structure that places the most important information at the beginning of a story, where it will best catch the reader’s attention. (p. 164)
inspector Dreamweaver interface element that provides information about Web page items. The Properties inspector is a commonly used type of inspector. (p. 22) instant storefront A portal site that provides easy-to-use screens that walk businesses through the process of creating their own Web sites. (p. 326)
514
Glossary
J Java applet A short Java code program that runs in a browser. (p. 279)
JavaScript A scripting language used to enhance the capabilities of Web programming by allowing the creation of special effects such as fading backgrounds and button rollovers. (p. 279) JPEG (Joint Photographic Experts Group) A graphic file format that can support millions of colors; preferred format for saving photographs. (p. 225) jump menu A dynamic menu that allows the user to access hyperlinks from a single drop-down menu. (p. 297)
K keyword An important word related to the specific topic you are trying to locate. (p. 76)
L
lossless compression A compression scheme in which a graphic file loses no data when it is compressed. (p. 226) lossy compression A compression scheme that removes data from a graphic file so that the file is significantly smaller and downloads more quickly in a Web browser than one saved with lossless compression. (p. 226)
M Macromedia Flash A sophisticated animation formation, usually carrying a .swf extension. (p. 265) Map view Dreamweaver view used to examine a Web site’s navigation structure. (p. 143) markup language A text file that contains special sequences of characters that function as tags, such as HTML, XML, and XHTML. (p. 280)
label Text that tells the user what type of information to enter into a form’s field. (p. 292)
menu bar Interface element that features dropdown menus that contain related options. (p. 22)
layer A container within an HTML page that can include objects such as text, images, and forms. (p. 288)
meta tag A piece of HTML code that the Web author places in the page document to help search engines categorize the page; does not affect how the site is displayed. (p. 412)
left-hand navigation A frames-based Web site with a link bar on the left side of the screen. (p. 457) linear navigation scheme Type of navigation plan in which every page exists at the same level; each page in the site is accessed from the one before it. (p. 142) link bar A related group of horizontally or vertically aligned links; also known as a navigation bar or table of contents. (p. 177) Link Checker report A tool that identifies broken links within a site or particular file. (p. 407) link trading An agreement between Web site publishers to display a link to each other’s sites; inexpensive way to publicize Web sites. (p. 411) local area network (LAN) Type of network that connects computers in a single location, such as a single department within a company. (p. 43) local client update The process of revising Web pages by copying the files from the Web server to a local (client) workstation, updating the files on the local workstation, and uploading the revised files to the Web server. (p. 430) logo A symbol used to represent a business or an organization. (p. 174)
milestone A specific step in the Web site development process and the date for its completion. (p. 314) mission statement A brief statement that describes the purpose and audience of a Web site. (p. 136) multimedia The integration of elements such as graphics, text, audio, video, animation, and interactivity by means of computer technology. (p. 252) multimedia authoring tool Special software applications used by Web site designers and developers to create multimedia Web sites. (p. 255)
N named anchor A hyperlink to a specific place in another document or to a specific place within a document. (p. 373) navigation button A button that users click to locate additional information and to navigate to other Web pages. (p. 177) navigation scheme The plan that determines how Web pages will relate to each other within a Web site. (p. 140) Glossary
515
nested tag An HTML tag that is enclosed within another set of tags. (p. 99) netiquette General guidelines that have developed over the years to guide Internet interactions. (p. 85) network A system in which communication lines or wireless connections are used to connect computers together. (p. 43) newsletter A method of staying in touch with a Web site’s users, usually includes news, information, and updates about a particular topic. (p. 375)
O
parent-child relationship In a hierarchical navigation scheme, a page that is connected to another page; the page that is on the level above is the parent, and the page that is on the level below is the child. (p. 141) password A set of letters or numbers that a user enters to gain access to a Web site. (p. 433) peer-to-peer relationship In a hierarchical navigation scheme, two or more child pages with the same parent page. (p. 141) photo album A collection of photographs with brief descriptions. (p. 240)
object In JavaScript, an element in a browser window; it can have properties that define it. (p. 483)
pixel A single point in a graphic image; short for picture element. (pp. 169, 203)
opening tag See starting tag. (p. 98)
plug-in An application that works with a Web browser to play a particular file format, such as an audio or video file. (p. 259)
operating system (OS) Program that specifies how the computer receives and processes input; acts as an interface between a user and the computer hardware. (p. 40) ordered list A type of list that contains items, usually numbered, that must appear in a particular sequence. (p. 106)
Portable Network Graphics (PNG) A graphic file format that supports more colors and transparency than GIF files, and is currently becoming a more popular format. (p. 225)
orphan tag See empty tag. (p. 99)
presentation design Part of the Web site design process in which the user determines the physical appearance of the site’s pages. (p. 16)
orphaned file A file that does not link to other files on a site. (p. 407)
privacy The ethical online collection and use of visitors’ personal information. (p. 348)
output device Tool that lets users examine the results of processed data, such as a monitor, printer, or speakers. (p. 38)
privacy policy A written statement that outlines what information the site collects about visitors and explains how that information will be used. (p. 349)
P page header Page element that contains graphics and/or text, such as a site’s logo and title graphic, and helps users identify where they are in a Web site. Also called page banners. (p. 196)
project manager The project team member who oversees the work of all the team members and ensures that team members work together. (p. 314) protocol A set of rules and procedures that specify how data are formatted and transmitted between computer systems. (p. 68)
page title The name that appears in the title bar when the Web page is displayed in a browser. Also called page name. (p. 148)
proximity The closeness of elements on a page that can cause readers to make assumptions about how elements relate to each other. (p. 168)
page view Records how many times a Web page was visited. (p. 366)
publicize The process of letting the general public know that your Web site exists and telling them how to access it. (p. 410)
panel Element of Dreamweaver interface that contains tools and commands that users can use to manipulate their workspace. (p. 22)
516
Glossary
publish To transfer files from a local computer to a remote Web server so that the Web site can be viewed over the Internet. (p. 394)
pull-down menu An interactive element that looks like a text field, but operates like a set of option buttons in that users can choose only one item from a list of options; also known as a drop-down menu. (p. 479)
R radio button An interactive control that allows a user to select only one option from a list of options; also known as an option button. (pp. 344, 478) random-access navigation scheme A type of navigation plan in which a site’s pages are not organized in any particular order. (p. 142) raster graphic A graphic made up of pixels; also known as a bitmap. (p. 224) record A group of related fields in a database that contain all the information gathered about a particular person or product. (p. 368) relative link A type of link that is used when linking to a local file, such as one within the same Web site. (p. 111) repetition Design rule that encourages designers to duplicate specific elements on all (or most) of a site’s pages to make the site more user-friendly. (p. 192) reports Tools that help Web developers find errors and maintain their Web sites more easily. (p. 405) resampling Changing the number of pixels in a graphic file to match the new screen area occupied by the image; this changes the size of the graphic file. (p. 232) resizing Changing the size of the image as it appears on the screen without changing the file size of the graphic. (p. 231) rollover button A button that changes appearance when the mouse pointer passes over it. (p. 283) root folder The main folder on a Web site that contains all of the site’s other files and folders. (p. 48) row Cells in a table that are arranged horizontally. (p. 175) RSS (Really Simple Syndication) A content feed that allows syndicated Web content to be published on several different Web sites. (p. 376)
S safe area Amount of space available on every Web browser and system combination; generally defined as 640 x 480 pixels, the size of the smallest monitor available. (p. 169) sans serif A font that does not have special adornment at the end of letters or numbers. (p. 206) scanner A piece of hardware that converts a printed image into a digital format that can be used on a Web page. (p. 229) scope In a Web site development project, the features and content on a Web site that can be provided with the time and resources available. (p. 321) screen resolution The amount of pixels that a monitor can display; measured by width and height such as 640 x 480. (p. 169) script A short program that you can insert into HTML code using special tags; expands the capabilities of HTML to create dynamic Web pages. (p. 278) search capabilities A Web site feature that allows visitors to find specific words or phrases in the site’s content. (p. 372) search engine An application that locates information about Web pages and then stores this information in searchable databases that you can access from your browser. (p. 75) security The protection of data from unauthorized access, both on the Web server and during transmission over the Web. (p. 351) selector Part of HTML code that contains properties and corresponding values within curly braces that control the appearance of HTML elements. (p. 463) serif Font that has an extra line or curve on the ends of certain letters or numbers. (p. 206) server A powerful central computer that manages files and services for a network. (p. 45) server-side script A script that is executed on the Web server, with the output transferred to the user’s computer as a Web page. (p. 485) shareware Copyrighted software that an author allows to be freely distributed. (p. 85) site map A list of categories that organizes the content of large Web sites. (p. 371)
Glossary
517
software The set of instructions that tells the computer what to do. (p. 40) source code The text and HTML commands used to create the Web page. (p. 101) source control A Dreamweaver feature that protects the integrity of the Web site’s files by ensuring that only one person at a time can edit a particular file. (p. 318) spam Unsolicited e-mail messages. (p. 410) SSL (Secure Socket Layer) Data encryption method commonly used by Web site publishers because its algorithm is specifically designed to protect data transmitted across the Internet. (p. 351) starting tag The first of a pair of HTML tags; also known as an opening tag. (p. 98) status bar Interface element that provides information such as the estimated download time of the current page. (p. 22) storyboard A visual representation of a Web site and its pages. (p. 146) streaming media A downloading process that shortens the user’s wait time by breaking the transmission into small pieces. (p. 253)
template A reusable pattern that helps you place information quickly and efficiently on a Web page. (p. 171) testing The process of repeatedly checking the Web page and site to make certain that elements display as designed. (p. 113) text Consists of words, letters, numbers, and other symbols. (p. 12) text area A form field that will expand to allow visitors to enter any length comment; also known as a scroll box. (pp. 342, 479) text editor An application used to enter and edit the HTML code in a Web page. (p. 78) text link A type of link in which users click text to activate the link. (pp. 111, 180) thumbnail A small image that links to a larger version of the same image; lets users decide if they want to view the larger image, which takes longer to download. (p. 240) title bar Interface element that displays information such as the name of the current document in the Document window. (p. 22) title graphic An image that appears at the top of every page on a Web site. (p. 174)
subfolder A folder contained within a folder, used to further organize files. (p. 48)
toolbar Interface element that allows the user to select options by clicking a button. (p. 22)
subpage A page that is a child of another page. (p. 55)
top navigation A frames-based Web site with a link bar at the top of the screen. (p. 459)
T table An item consisting of columns and rows that is used to organize a Web page’s content. (p. 175) table of contents A Web site element that allows visitors to see the contents and organization of the site in one glance; similar to the table of contents of a book. (p. 372) target audience The main group of people that you want to visit your Web site. (p. 137) Target Browser Check A Dreamweaver feature that allows users to specify which types and versions of browsers they can check their site against. (p. 408) target market The potential customers for the product or service that you are selling; often defined by characteristics such as age, income, and interests. (p. 323) 518
Glossary
top-level page The highest level in a hierarchical navigation structure; usually the home page. (p. 141) tracking software Records information about Web site visitors such as what browser they used, how they navigated to the site, and what country they are from. (p. 367) trademark A name, symbol, or other feature that identifies a product with a specific owner. (p. 86) Transmission Control Protocol/Internet Protocol (TCP/IP) Basic Internet protocol that contains the specific information that allows computers to identify each other and exchange data. (p. 68) typography The style, arrangement, and appearance of text. (p. 202)
U uniform resource locator (URL) A unique address that enables a browser to locate specific page files on the Web. (p. 71)
Web server A powerful computer that maintains a constant connection to the Internet; stores Web pages and makes them available on the Internet. (p. 394)
unique visit Records how many people visit a Web site overall. (p. 367)
Web server cluster System that stores a Web site on multiple physical computers that act as a single virtual host. (p. 396)
unordered list A list that contains items that can appear in any order; also known as a bulleted list. (p. 106)
Web site A group of related files organized around a common topic; the files may include Web pages, graphics, audio, and video. (p. 7)
upload To transfer data from a client computer (user) to a server. (p. 401)
Web site development application Sophisticated application package that some Web developers use to create Web sites. (p. 78)
URL See uniform resource locator. (p. 71) user authentication The process of checking the password the user enters against the one assigned to the user. (p. 433)
V Validation report A tool that checks a site’s files to ensure they meet the W3C standards. (p. 406) variables Used by scripts to identify a value that will change when the script is executed. (p. 484) vector graphic A graphic composed of simple lines defined by mathematical equations. (p. 224) video Live or recorded moving images. (p. 12) video capture card A circuit board that can convert analog video to digital video. (p. 261)
W Web author Person who writes the text that will appear on each Web page. (p. 18) Web browser Software application that interprets files to display Web pages on the user’s computer. (p. 7) Web designer Person who focuses on the look and feel of the Web site. (p. 18)
Webmaster Person who manages and maintains Web sites. (p. 19) Web-safe colors The 216 colors that display consistently from computer to computer giving Web designers some control over their pages’ appearance. (p. 199) white space An area on a Web page without any content. (p. 168) wide area network (WAN) Network that connects computers across a wide geographical area, such as a region of the United States. (p. 43) World Wide Web Software that sends information that is stored in files along the Internet’s hardware. (p. 6) WYSIWYG Applications that allow you to create Web pages so that what you see on the screen is very similar to the appearance of the final page; stands for “what you see is what you get.” (p. 78)
X XHTML See Extensible Hypertext Markup Language. (p. 280) XML See Extensible Markup Language. (p. 280)
Web developer Person who uses programming skills to develop Web sites. (p. 18) Web host A business that provides Web server space to customers for a fee. (p. 395) Web hosting service Service that sells Web server space, usually for a monthly fee. (p. 80) Web page A single file within a Web site that has a unique name. (p. 7)
Glossary
519
A Absolute link, 112 using HTML to insert, 112 Absolute positioning, 465 Acceptable Use Policy (AUP), 84. See also Internet Use Agreement Access control, 433 global, 435 Accessibility, 73, 353 and alternative text, 354 and guidelines, 282, 354 and online content, 354 validating, in Dreamweaver, 355 Accessibility Standards, 353 Accountability, leadership and, 257 Active button, 177 Active server page (.asp), 369 Adobe Photoshop, 79, 231 Aligning text, 168 Alignment, 204 in tables, 452–453 Alternative text, accessibility and, 354 Analog video recorder, 261 Anchor, named, 373–374 Animated GIF, 477 Animation, 12, 253 adding, to a Web site, 265–268 design guidelines, 253 Animation file creating and using, 265–268 incorporating, in a Web site, 266 Antivirus program, 347 Apple QuickTime, 79, 259 Application software, 41 audio, 79 graphics, 79 text, 79 video, 79 Web page component, 79 Archiving (for Web pages), 432 ARPANET, 66 Aspect ratio, 231 Attribute, 104 adding, 104–106 alignment, 105 background, 105 font color, 105 heading, 105 HTML reference guide, 502–505 image, 109 table, 451–454
520
Index
Audio, 12, 252 design guidelines, 252 forms of, 12 input devices, 38 Audio file adding using HTML, 476 background sound, 260 creating and adding, to a Web site, 260–262 editing applications, 79, 255 formats, 258 playing, 79 using HTML to add, 476 AUP. See Acceptable Use Policy Automated updates, 431
B B2B. See Business-to-business e-commerce B2C. See Business-to-consumer e-commerce Background color adding, in Dreamweaver, 116 adding, in HTML, 105 Backup, 426 incremental, 426 Bandwidth, 44 alternatives, 227 calculating, 396 Banner ad, 283 inserting, 284 Behaviors panel, 286 Berners-Lee, Tim, 66, 236 Blended attacks, 347 Blogs, 376 Boolean operator, 76 Boolean search, 76–77 Border, 120 Broadband connection, 44 Broken links, checking for, 407–408 Browsers. See Web browsers Budget, 326 Bulletin boards, 377 Business plan, 370 Business-to-business e-commerce, 323 Business-to-consumer e-commerce, 323, 336 Buttons view of, 496
C Cable connection, 44 Careers mapping a path for, 20 Web site development, 18–19 Cascading style sheet (CSS), 282, 338, 499 modifying, in Dreamweaver, 340 page layout using, 465 use of, in HTML document, 462–466 using to modify a form element, 480 Case sensitivity, 399 and HTML, 100 and publishing Web files, 399–400 Cell(s), 175 merging, in HTML, 452 split into Dreamweaver, 200 Cell padding, 451 Cell spacing, 451 Central processing unit (CPU), 37 CGI. See Common Gateway Interface Character widths, 294 Chat room, 69 Check box, 293 adding, in Dreamweaver, 344–345 adding, in HTML, 478 Checklists, 317 Children’s Online Privacy Protection Act (COPPA), 348 Citing online sources, 88 Class selector, 463 Client in a client/server network, 45 in Web development project team, 314 Client liaison representative, 314 Client-server network, 45 Client-side script, 483–486 Clip Art, 228 Codec, 253 Collaborating as sharing ideas, 320 Color adding, in Dreamweaver, 116 choosing a color scheme, 198 selecting background, 116 Web-safe, 199, 506–507 Column, 175 Common Gateway Interface (CGI), 279, 485
Communication and good managers, 257 hardware, 424 software, 425 Community, building a sense of, 375–379 Compression scheme and download times, 226–227 lossless, 226 lossy, 226 Compression/decompression scheme. See Codec Computer avoiding physical injuries, H7, 47 and the computer system, 36 hardware, 37–39 input devices, 38, 80 memory, 37 output devices, 38, 80 processing components, 37 safe use of equipment, 47 software, 40–41 storage devices, 39 system requirements, 80 Computer hardware, 37–39 Computer software, 40–41 application, 41 operating system, 40 Connectivity needs, 80 Web hosting service, 80, 394–396 Consumer privacy. See Privacy Contact information form, using Dreamweaver to create, 293–296 Container page, 457 creating, 458 Content, 162 developing, 164–165 Content page creating, 458 Cookies, 348 blocking, 428 for targeted marketing, 414 COPPA (Children’s Online Privacy Protection Act), 348 Copying files, 85 Copyright, 86 adding, to a Web site, 86–87 importance of, H3, 210 Copyrighted work, obtaining permission to use, H3 CPU (central processing unit), 37 Creating subpages, 55–56 Cropping, 231–232 Cross-platform issues, 42 Cross-platform testing, 403 CSS. See Cascading style sheet (CSS)
D Data encryption, 351 and digital certificates, 352 Database, 368–369 linking to, 368 setting up connection to, 368–369 Database driven, 368 Database interface page, 368 Debugging code, 113, 486 Decision-making skills, 257 Designing a Web site information design, 16–17 interaction design, 16–17 presentation design, 16–17 Developing Web content, 152 DHTML (Dynamic Hypertext Markup Language), 279 using, in Dreamweaver, 286 Dial-up connection, 44 Digital camera, 38 Digital certificate, 352 Digital recording, 259 Digital subscriber line. See DSL connection Digital video recorder, 261 Direct server update, 430 Directory structure, 400 Disks, and distance-learning technology, 166 Distance learning, 10, 166 Domain name, 72 registering, 399 Domain name extensions, 72 Donate page, 286 Download, 401 Download time, 168 calculating, 226 and compression schemes, 226–227 low bandwidth alternatives, 227 Downloading files, 85 commercial software, 85 freeware, 85 shareware, 85 Dreamweaver, 17 adding animation to a Web page, 266 adding audio, 260 adding color in, 116 adding feedback form in, 343 adding graphics in, 120–121 adding links in, 120–121 adding meta tags in, 412–413 adding named anchors in, 373–374 adding privacy policy in, 349–350 adding Update Information, 285 adding video, 261–264 closing, 25–26
Code view, 25 creating a login screen in, 434 creating a one-page Web site, 49–50 creating a table using HTML, 453 creating banner ad in, 283–284 creating form in, 293–296 creating frames in, 382–384 creating guest book in, 377–379 creating headings in, 118 creating lists in, 118–119 Design view, 25 DHTML, creating rollover buttons in, 283 and Flash button, 267 formatting text in, 116 inserting graphics into, 230 inserting page banners/headers in, 196–197 interface, 21–22, 496 introduction to, 21–26 modifying CSS in, 340 MX versus MX 2004, versions of, 496–499 versus Notepad, 116–122 opening a Web site, 23–24 results in, 405–409 saving a Web page in, 48 site reports in, 405–409 source control, 318–319 split view, 25 template, 171–182 testing a Web page in, 122 toolbars, 22 using cascading style sheets in, 338–339 using DHTML Behaviors in, 286 using different views, 25–26 using Fireworks to modify images, 231–233 using frames, 382–384 using spell check, 122 viewing home pages in, 23 DSL connection, 44 Dynamic content, 486 Dynamic effects adding, 283–291 adding, to form, 297 Dynamic Hypertext Markup Language. See DHTML Dynamic Web page, 368
E E-commerce, 322–323 designing Web site for, 323–326 role of, 322 starting an e-business, 370 versus traditional shopping, 322 Index
521
types of, 323 Web sites, 8, 336–341 Editors and web content, 152 E-mail, 69 advertising, 410 as distance-learning tool, 166 link to, 181–182 Error message, 486 Ethernet card, 46 Ethical Internet use, H2, 84–85 Internet use agreement, 84 of multimedia files, 254 netiquette, H5, 85 obtaining graphics, 229 protecting privacy online, H7, 85, 428 and respecting intellectual property, H3, 210 Ethics in the workgroup, 320 Evaluating Web sites, H9, 17, 508–509 Event, 484 Extensible Hypertext Markup Language (XHTML), 280 Extensible Markup Language (XML), 115, 280 External style sheets, 339, 464 using HTML to create, 464 Extranet, 70
F Fair use laws, 86 FAQ (frequently asked questions), 373 Feedback form, 342–343 Field labels, 294 File, 6 animation, 265 audio, 258 organizing, in folders, 102 saving, 42 size guidelines, 253 video, 259 File format types of audio, 258 types of video, 259 File name, 148 assigning, 103, 193 relationship to page title, 148 specifying, 148–149 File name extension, 103 File Transfer Protocol. See FTP Files frames-based pages in, 380 transferring to a Web server, 401–402 and Web site management, 430 Firewall, 347 Fireworks creating photo album in, 240–242 522
Index
as image modifier in Dreamweaver, 231–233 toolbar in, 232 and Web Photo Album, 240–242 Flash. See Macromedia Flash Flash button, 267 Floppy disk, 39 Folder, 48 creating to organize a site, 102 organizing, 102 subfolder, 48 Folder structure. See Directory structure Font, 51, 202–209 alignment, 204 appearance, 207–208 bold, 203 color, 204, 207 consistency, 207 contrast with background, 206 italic, 203 limit number of, 207 sans serif, 206 serif, 206 size, 203, 208 standard, 208 styles, 207 substitutions, 208 system, 208 types, 202 underline, 203 Footer, 179 Form adding, to Web site, 292–298 components of, 292 creating, using Dreamweaver, 293–296 Form fields, 292–293 Format, 51 Formatting text for appearance, 207–208 for consistency, 207 in Dreamweaver, 116, 208–209 guidelines, 206–209 for readability, 206 using Style menu, 205 Formatting toolbar, 203 FPS (frames per second), 259 Frames, 380–384 creating, in Dreamweaver, 382–384 creating, in HTML, 456–461 creating links between, 460 guidelines for, 381 horizontal layout of, 459 selecting frame templates, 382 vertical layout of, 459 Frames per second (FPS), 259 Frameset, 380
Frequently asked questions (FAQ), 373 FrontPage. See Microsoft FrontPage FTP (File Transfer Protocol), 68 transferring files using, 401
G Gateway, 67 GIF, 225 adding, using HTML, 477 animated, 477 GIF animations, 265 Goals of Web site determining, 16, 136 immediate, 138 long-term, 138 target audience and, 138 Gopher, 68 Graphic designer(s), 152. See also Web designer Graphic file formats BMP, 225 converting, 227 GIF, 225 JPEG, 225 PNG, 225 Graphic Interchange Format. See GIF Graphic link, 111 Graphical user interface (GUI), 40, 66 Graphics, 12. See also Image adding, in Dreamweaver, 120–121 adding, to Web page, 52 cropping, 231–232 download times, 226–227 editing and formatting, 231–235 ethical use of, 229 and file compression, 226–227 inserting, 52–54 modifying, 231–235 obtaining pre-made, 228 raster, 224 resampling, 232 resizing, 231–232 types of, 224 vector, 224 Graphics application, 79 Guest book, 377 GUI. See Graphical user interface
H Hackers, 347 Hard disk (hard drive), 39 hot-swappable, 425 Hard drive mirroring, 425 Hardware, 37–39 components, 67 Internet is, 6
Heading, 118 creating, in Dreamweaver, 118–119 creating, in HTML, 105 Hexadecimal number, 199, 451 Hit, 366 Hit counter, 366–367 Home page, 7 Hosting company statistics, 367 Hotspot, 237 creating an image map with, 238–239 tools, 237 Hot-swappable hard drives, 425 Hover button, 177. See also Interactive button HTML (Hypertext Markup Language), 7, 98 adding animated GIFs using, 477 adding audio file using, 476 adding check boxes using, 478 adding images in, 109–110 adding interactivity using, 476–481 adding pull-down menu using, 479 adding radio buttons using, 478 adding text area using, 480 adding text boxes using, 477 and case sensitivity, 100 coding, 98–101 creating frames in, 456–461 creating lists using, 106–107 creating registration form using, 477–480 creating tables in, 450–454 entering, in text editor, 102–108 guidelines, 100–101 inserting image using, 110 inserting links using, 110–112 new Web languages versus, 115 and spacing, 100 viewing code, 101 and W3C, 100 HTML document adding attributes to, 104–106 creating, 104 and CSS, 462–464 enhancing, 109–114 parts of, 103 saving, in Notepad, 103–104 testing, 113–114 viewing, in browser, 108 HTML tag, 98 anchor, 110 attributes with, 104–106, 109 creating lists using, 106–107 empty, 99 ending tag, 98 image, 109 nested, 99
starting tag, 98 tag sets, 98 HTTP (Hypertext Transfer Protocol), 68 requirements of, 71 transferring files using, 401 Hyperlink, 13 absolute, 112 adding, in Dreamweaver, 81–82, 120–121 appearance in different browsers, 73 external, 13, 81 between frames, 460 graphic, 110 internal, 13 intrapage, 13 relative, 111 text, 81–82, 110 using HTML to insert, 110–112 Hypertext Markup Language. See HTML Hypertext Transfer Protocol. See HTTP
I ICANN (Internet Corporation for Assigned Names and Numbers), 399 Id selector, 463 IM (instant messaging), 69 Image. See also Graphics adding, in HTML, 109–110 cropping, 231–232 manipulating with Fireworks toolbar, 231–232 Image editing programs, 231 Image maps, 237–239 Image tag, 109 Images, 498 Implementing a Web site, 17 Information design, 16–17 Information sharing, 375 Inline CSS, 340 Inline graphic, 230 Input devices, 38 audio, 38 graphic, 38 used by Web developers, 80 video, 38 Insert toolbar, 22 Instant messaging (IM), 69 Instant storefront, 326 Instructional designers, 152 Integrated Services Digital Network (ISDN), 44 Intellectual property, 86, 210 Intelligent homes, 455 Interaction design, 16–17
Interactive button, 177 Interactivity, 278 design guidelines, 281 and scripting, 278 using scripting to add, 483–486 Interface, 21–22 Internal style sheets, 338, 463 Internet, 6, 66–70 citing digital sources, H2, 88 communication on, 69 and copyright protection, H3 distance learning and, 166 effects on society, 84 entertainment on, 69 ethical issues related to, 84–85 future of, 236 hardware components, 67 how it works, 67–68 how we use the Web, 404 online resources, reliability of, 87 origins of, 66 protecting your privacy online, H7, 10, 85, 348–349 software components, 67 using online resources, H6 using search tools for, H8, 76–77 verify online information, 1, 83 Internet browser, 115 Internet connection broadband, 44 dial-up, 44 types of, 44 wireless, 44 Internet Corporation for Assigned Names and Numbers (ICANN), 399 Internet protocol, 68 Internet protocol address (IP address), 68 Internet relay chat (IRC), 69 Internet service provider (ISP), 67 Internet Use Agreement, 84. See also Acceptable Use Policy (AUP) InterNIC, 399 Intranet, 70 Inverted pyramid, 164 IP address. See Internet protocol address IRC (Internet relay chat), 69 ISDN (Integrated Services Digital Network), 44 ISP (Internet service provider), 67
J Java applet, 279 client-side script, 485 JavaScript, 115 browser support of, 279 client-side script, 483 Index
523
conditional statements, 484 creating rollover button using, 484–485 event, 484 event handler, 484 function, 484 and integrated cell phones, 115 object, 483 and PDAs, 115 and portable computer systems, 115 variable, 484 JPEG (Joint Photographic Experts Group), 225 Jump menu adding to Web page, 297
K Keyboard, 38 Keyword search, 76 Kitchen computers, 455
L Label, 292 LAN (local area network), 43 Layer, 288 inserting show-hide behavior, 288–291 Leadership qualities, 257 Left-hand navigation, 457 Link. See Hyperlink Link bar, 177 creating frame page for, 457 Link checker, 407 Link trading, 411 Linking to online resources, 81–82 Lists creating, in Dreamweaver, 118–119 creating, in HTML, 107 ordered, 106 types of, 106 unordered, 106 using HTML to create, 106–107 Listserv, 69 Local area network (LAN), 43 Local client update, 430 Logo, 174
M Macromedia Director, 255 Macromedia Dreamweaver. See Dreamweaver Macromedia Flash, 265 Maintaining a Web server, 424–427 uploading and downloading capabilities, 424–425 524
Index
Maintaining a Web site, 17 updating information, 429–432 Markup language, 280 Menu, 7 Menu bar, 22 Meta tag, 412 Microphone, 38 Microsoft FrontPage, 17 Microsoft Internet Explorer browser, 7 main components, 7 Microsoft PhotoDraw, 265 Microsoft Windows Media Player, 79, 259 operating system, 40 Microsoft Word, 79 word processing tools, H4 Milestone, 314 Mission statement, 136 determining purpose and goals, 136 writing, 138–139 Modems, 45 Monitors, 38 Mouse, 38 Multimedia, 12, 252 adding using HTML, 476 design guidelines, 252–253 Web design, 252–256 Multimedia authoring tools, 255 Multimedia files downloading, 254 locating, 254 size guidelines, 253 using ethically, 254 Multimedia Web sites evaluating, 255–256, 508–509 tools for creating, 255–256 Multimodal Web, 236 Multiple technologies (Web accessibility), 282
N Named anchor, 373–374 Navigation bar. See Link bar Navigation button, 7 adding, 178 hover button, 177 interactive button, 177 Navigation buttons, 177–178, 288 Navigation link, 177 Navigation scheme, 140 charting, 147 combination, 142 hierarchical, 141 linear, 142 random-access, 142 storyboarding, 146–147
types of, 140–142 viewing, 143–145 Navigation structure, adding Web pages to, 194–195 Navigation toolbar, 143–145 Negotiation and workgroup members, 320 Netiquette, H5, 85 Network, 6, 43–46 client/server, 45 comparing, 70 hardware, 45–46 local area, 43 modem, 45 operating system, 46 provide access to Internet, 43 router, 46 software, 46 types of, 43 wide area, 43 Network interface card (NIC), 46 New Web languages, 115 News group or forum, 69 Newsletters, 375 NIC (network interface card), 46 Notepad creating HTML document in, 103–104 versus Dreamweaver, 116–122 saving HTML document in, 103–104 using, 103–104
O Online privacy, taking precautions for, 428 Online services, 404 Operating system software, 40 commonly used, 40 compatibility of, 42 graphical user interface, 40 Macintosh OS, 40 Microsoft Windows, 40 responsibilities of, 40 Operating systems (OS), 40 Ordered list, 106 Orphaned file, 407 OS (operating system), 40 Output device, 38
P Page header or banner, 196 inserting, 196–197 Page layout guidelines for, 167–168 using CSS for, 465 Page Properties dialog box, 499 Page template. See Template
Page title, 148 assigning, 193 relationship to file name, 148 Page view, 367 Page view options, 25 Parent-child relationship, 141 Password, 433 Password controls, 433 Peer-to-peer relationship, 141 Photo album, 240 creating, with thumbnails, 240–242 Photoshop. See Adobe Photoshop Picture cropping, 231 resampling, 232 resizing, 231 Pixel, 169 and font size, 203 Pixel definition and brightness, 234 and contrast, 234 Planning checklist, 150–151 Plug-in, 259 adding, to a Web page, 259 Positioning absolute, 465 relative, 465 static, 465 Presentation design, 16–17 consistency in, 192 navigation structure in, 194–195 principles of, 192–197 repetition in, 192 Printer, 38 Privacy, 348 cookies and, 428 legal protection of, 348 protecting, H7, 10, 85 site registration for, 428 Web bugs and, 428 Privacy policy, 349 adding, in Dreamweaver, 349–350 Project life cycle analysis and planning, 321 budget considerations, 326 creating the schedule, 324 determining target market, 323 human resource considerations, 326 overview of, 312 stages of, 313 tasks in, 313 Project manager, 314 Project scope, determining, 321–326 Project team evaluating progress, 316–318 forming a Web design, 314–316
identifying responsibilities of, 317–318 Protocol, 68 Publicizing a Web site, 410–413 Publishing a Web site, 394, 398–403 choosing a Web host, 396 Pull-down menu, 479
Q QuickTime. See Apple QuickTime
R Radio button, 293, 478 adding, 344 Random-access memory (RAM), 39 Readability, 206 Really Simple Syndication (RSS), 376 Refrigerators, next generation of, 455 Registration form, using HTML to create, 477–480 Relationship skills, and leadership qualities, 257 Relative link, 111 Relative positioning, 465 Reliability of Web host, 396 of Web server, 395 Remote server downloading files, 430–431 uploading files, 430–431 Removable storage devices, 39 Reports, 405 Resampling, 232 Resizing, 231–232 Rollover button creating, 283 using JavaScript to create, 484–485 Router, 46 Row, 175 RSS (Really Simple Syndication), 376 Rubric and Web design, 508–509
S Safe area, 169 Saving files, 42 Scalability, 395 Scanners, 38 Screen resolution, 169–170 viewing Web page at different, 169–170 Script, 278 client-side, 483–486 server-side, 485 Scripting adding interactivity using, 483–486 and interactivity, 278
Scripting languages, 279 Scroll box, 342 Search capabilities, 372 Search engine, 75 registering a Web site with, 411 Search tools, H8, 75–76 Secure Socket Layer (SSL), 351 Securities and Exchange Commission, 83 Security, 351–352 concern for e-commerce sites, 347 data encryption, 351 digital certificate, 352 Selector, 463 Semantic Web, 236 Server, 45 Server-side scripts, 485–486 Site map, 371 Site registration, 428 Site Reports, 405 Sites creating, 497 defining, 497 publishing, 497 Smart houses, 455 Smart workplaces, 455 Software, 40–41. See also Application software applications for creating Web page, 78–79 components, 67 graphics application, 79 text application, 79 text editor, 78 Web site development application, 78 Sound. See Audio Source code, 101 Source control, 318–319 Spam, 410 Speakers, 38 SSL (Secure Socket Layer), 351 Starting an E-business, 370 Static positioning, 465 Static Web page, 368 Storage capacity, 39 Storage device, 39 hard drive, 39 removable storage devices, 39 Storyboard, 146 Storyboarding creating sketches of individual pages, 149–150 drawing navigation structure, 147 Web site, 146–151 Streaming media, 253 Subpages, 55–56
Index
525
T T1 connection, 44 T3 connection, 44 Table, 175 controlling alignment in, 452–453 creating, in Dreamweaver, 175–176 creating, in HTML, 450–454 creating table border in HTML, 451 merging cells in HTML, 452 spliting cells in Dreamweaver, 200 Table of contents, 372 Talking Web, 236 Target audience, 137–138 Target browser check, 408–409 Target market, 323 Targeted marketing, 414 TCP/IP protocol, 68 Technical documentation, 432 Telnet, 68 Template creating, 171–176 designing, 171–173 enhancing, 177–182 tables in, 175–176 Testing a Web site, 17, 113 in different browser, 17, 403 in Dreamweaver, 122 published Web site, 403 with various hardware, 403 Text, 12 aligning, 168, 204 formatting, 51 formatting, in Dreamweaver, 208–209 inserting, 51 Text applications, 79 Text area, 292–293, 342, 479 creating, in HTML, 480 Text box, 292, 477 creating, in HTML, 477 Text editor, 78 entering HTML code in, 102–108 Notepad, 103 Text field, 293 Text link, 111, 180 adding, in Dreamweaver, 81–82, 180 adding, in HTML, 110–111 Text options, 282 Thumbnail, 240 Title bar, 7, 22 Title grapic, 174 Titles, 294 Toolbars, 22 Top-level page, 141 Tracking software, 367 Tracking visitors, 366–367 526
Index
Trademark, 210 Transmission Control Protocol/ Internet Protocol. See TCP/IP protocol Trustworthiness, as management skill, 257 Typography, 202–209
U Uniform Resource Locator (URL), 71–72 Unique visit, 367 Unordered list, 106 creating, in Dreamweaver, 118–119 creating, in HTML, 107 Update Information, 285 Updates, automated, 431 Updating a Web site, 429–432 Upload, 401 URL. See Uniform Resource Locator User authentication, 433 Utility software, 41
V Validating accessibility, 355–356 Validation report, 406 Video, 12, 253 design guidelines, 253 Video capture card, 261 Video file adding, to a site, 261–264 creating, 261 editing software, 79, 255 formats, 259 Videoconference, 166 Visitors, sharing information with, 375
W W3C. See World Wide Web Consortium WAIS (Wide area information servers), 68 WAN (wide area network), 43 Web. See World Wide Web Web author, 18, 315 Web browsers, 7 and accessibility, 73 functions, 7 menus of, 7 Microsoft Internet Explorer as a, 7 navigating to Web pages, 7 platform differences, 73 previewing, 74 restrictions, 73
retrieving a Web page, 73 testing Web sites in different, 17, 403 title bar of, 7 using, 73–75 viewing area of, 7 viewing HTML page in, 108 viewing Web site in, 13–14 Web bugs, 428 Web content developing of, 152 and editors, 152 Web design forming project team for, 314–316 multimedia and, 252–256 Web designer, 18, 20, 315 Web developer, 18 Web development, 15–19 analysis and planing, 321 careers, 18–19 designing and implementing a Web site, 16–17 determining purpose and goals, 16 evaluating and testing a Web site, 17 maintaining a Web site, 17 project life cycle of, 312 project schedule, 325 publishing a Web site, 17, 398–403 skills, 18 software, 78–79 steps in process, 15–17 tools, 78–82 Web directory, 75 Web graphic formats, 224–227 types, 224–227 Web host, 395–396 bandwidth of, 396 choosing, 396 cost of, 396 performance of, 396 reliability of, 396 storage space of, 396 technical support from, 396 Web hosting external, 397 internal, 397 Web hosting service, 80 Web logs, 83 Web pages, 7 adding graphics to, 52–54 adding jump menu to, 297–298 adding text to, 51 animation on, 12 application for creating, 78–79 archiving, 432 audio on, 12 compared to Web site, 7
component application, 79 content, 164 creating, 48–56, 193–194 creating content for, 165 creating frames-based, 459–460 developing, 165 dimensions, 169 dynamic, 368 elements of, 11–14 footer, 179 frames-based, 380 graphics on, 12 hyperlinks on, 13 layout guidelines, 167–168 maintaining file names for, 399–400 multimedia on, 12 naming, 193–194 previewing, in different browsers, 74 retrieving, in browser, 73 saving, 48 static, 368 testing, 113–114 testing, in Dreamweaver, 122 text on, 12 uniform resource locator for, 71–72 video on, 12 viewing at various screen resolutions, 169–170 Web Photo Album (using Fireworks), 240–242 Web server, 394–395 communication channel bandwidth, 395 CPU power, 395 hard drive speed and capacity, 395 maintenance, 424–427 reliability, 395 scalability, 395 storage options, 425–426 technical needs of, 394–395 transferring files to, 401–402 Web server clusters, 396 Web site accessibility, 353–356 Web site checklists, 317 Web site design, and workgroup common goals, 320 Web site development application, 78 design categories, 17 graphical user interface, 78 Web site users, threats to, 347 Web sites, 7 adding animation to, 265–268 adding audio files to, 260 adding form to, 292–296 adding meta tags to, 412–413 adding video files to, 261–264
and blended attacks, 347 calculating size of, 396 commercial, 8 compared to Web page, 7 controlling access to, 433–434 corporate presence, 8 creating content for, 162–165 determining purpose, 16, 136 development, 15–19, 312–318 e-commerce, 8, 323–324, 336–341 educational, 10 evaluation of, H9 goals, 136, 138 and graphic designers, 152 increasing traffic on, 413 informational, 9 inserting behaviors into, 286–289 linking to database, 368–369 maintaining directory structure of, 400 mission statement, 136 multimedia, 255–256 naming, 398 navigation scheme, 143–145 personal, 10 planning, 136–152 planning checklist, 150–151 portal, 9 privacy, 348–349 promoting, 410–414 publicizing, 410–413 reliability of, 87 running reports in, 406 security, 351–352 templates, 171–182 testing published, 403 threats to, 347 tracking visitors, 366–367 types of, 8–10 update information in, 285 updating, 429–432 validating, 406–407 viewing, in a browser, 13–14 Web text developing, 164–165 guidelines, 163 mission statement in, 164 organizing, 164 reading online, 163 revising, 164 Web writer. See Web author Web-based chat rooms, 166 Web-based writers, 152 Webmaster, 19 becoming a, 482 ethics and, 435–436 implementing access controls, 433 knowledge and skills, 316, 482 role of, 424, 427
Web-safe color, 199 chart, 507 choosing, 198–199 16 named colors, 506 using, 198–201 White space, 168 Wide area information servers. See WAIS Wide area network (WAN), 43 Wi-Fi Protected Access (WPA), 347 Windows versus Macintosh commands, 500–501 Wireless, 44 Wireless trend, threats of, 347 Word. See Microsoft Word Workgroup ethics in, 320 and negotiation, 320 World Wide Web (WWW), 6 accessibility on, 282 created, 66 downloading multimedia files from, 254 finding a job using, 20 future of, 404 how it works, 6 and protected information, 85–88 security threats to, 347 writing for, 162–164 World Wide Web Consortium (W3C), 66, 236, 338 and HTML, 100 WPA (Wi-Fi Protected Access), 347 Writers, web-based, 152 WWW. See World Wide Web WYSIWYG, 78
X XHTML (Extensible Hypertext Markup Language), 280 XML (Extensible Markup Language), 115, 280