New Perspectives on HTML, XHTML, and Dynamic HTML: Comprehensive, 4th edition by Patrick Carey


075742fa233f2ae.jpeg Author Patrick Carey
Isbn 9781439078334
File size 50 Mb
Year 2009
Pages 2000
Language English
File format PDF
Category web development


 

New Perspectives on HTML, XHTML, and Dynamic HTML, 4th Edition Advisory Board Members and Textbook Reviewers We are extremely grateful to the advisory board members and textbook reviewers listed below, and would like to take this opportunity to acknowledge them for their contributions in the development of this text. Their timely reviews, informed feedback, and excellent suggestions were tremendously valuable and helped us to produce an outstanding text that will meet the needs of all our New Perspectives instructors and students. Our sincere thanks to all! Advisory Board Members Lisa Macon, Valencia Community College Don Mangione, Baker College of Muskegon Chuck Riden, Arizona State University Kenneth Wade, Champlain College Textbook Reviewers Sally Catlin, Indiana University—Purdue University Indianapolis Heith Hennel, Valencia Community College Diana Kokoska, University of Maine Angela McFarland, B.T. Washington High School, Escambia Brian Morgan, Marshall University James Papademas, DeVry University Chicago Luke Papademas, DeVry University Chicago “The New Perspectives on HTML, XHTML, and DHTML text's hands-on, case-based approach is far more accessible to students than approaches taken in other books. Prior versions of this text have helped hundreds of my students to learn Web publishing techniques that have enabled them to obtain high-paying industry jobs; the 4th Edition promises to do the same. It is difficult, in general, to convince students that reading textbooks is important—but they love to read this one.” —Lisa Macon, Valencia Community College New Perspectives on HTML, XHTML, and Dynamic HTML 4th Edition Comprehensive This page intentionally left blank New Perspectives on HTML, XHTML, and Dynamic HTML 4th Edition Comprehensive Patrick Carey Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States New Perspectives on HTML, XHTML, and Dynamic HTML, 4th Edition—Comprehensive Vice President, Publisher: Nicole Jones Pinard Executive Editor: Marie L. Lee Senior Product Manager: Kathy Finnegan Associate Acquisitions Editor: Brandi Shailer Associate Product Manager: Leigh Robbins © 2010 Course Technology, Cengage Learning ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be reproduced, transmitted, stored or used in any form or by any means graphic, electronic, or mechanical, including but not limited to photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval systems, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the publisher. Editorial Assistant: Julia Leroux-Lindsey For product information and technology assistance, contact us at Cengage Learning Customer & Sales Support, 1-800-354-9706 Director of Marketing: Cheryl Costantini Marketing Manager: Ryan DeGrote For permission to use material from this text or product, submit all requests online at cengage.com/permissions Further permissions questions can be emailed to [email protected] Marketing Coordinator: Kristen Panciocco Developmental Editors: Mary Kemper, Robin M. Romer Senior Content Project Manager: Jennifer Goguen McGrail Composition: GEX Publishing Services Text Designer: Steve Deschene Art Director: Marissa Falco Cover Designer: Elizabeth Paquin Cover Art: Bill Brown Copyeditor: Suzanne Huizenga Proofreader: Kathy Orrino Indexer: Alexandra Nickerson Some of the product names and company names used in this book have been used for identification purposes only and may be trademarks or registered trademarks of their respective manufacturers and sellers. Microsoft and the Office logo are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Course Technology, Cengage Learning is an independent entity from the Microsoft Corporation, and not affiliated with Microsoft in any manner. Disclaimer: Any fictional data related to persons or companies or URLs used throughout this book is intended for instructional purposes only. At the time this book was printed, any such data was fictional and not belonging to any real persons or companies. ISBN-13: 978-1-4239-2543-9 ISBN-10: 1-4239-2543-2 Course Technology 20 Channel Center Street Boston, Massachusetts 02210 USA Cengage Learning is a leading provider of customized learning solutions with office locations around the globe, including Singapore, the United Kingdom, Australia, Mexico, Brazil, and Japan. Locate your local office at: international.cengage.com/region Cengage Learning products are represented in Canada by Nelson Education, Ltd. To learn more about Course Technology, visit www.cengage.com/coursetechnology To learn more about Cengage Learning, visit www.cengage.com Purchase any of our products at your local college store or at our preferred online store www.ichapters.com Printed in the United States of America 1 2 3 4 5 6 7 8 9 13 12 11 10 09 New Perspectives Series v Preface The New Perspectives Series’ critical-thinking, problem-solving approach is the ideal way to prepare students to transcend point-and-click skills and take advantage of all that the World Wide Web has to offer. Our goal in developing the New Perspectives Series was to create books that give students the software concepts and practical skills they need to succeed beyond the classroom. With this new edition, we’ve updated our proven case-based pedagogy with more practical content to make learning skills more meaningful to students. With the New Perspectives Series, students understand why they are learning what they are learning, and are fully prepared to apply their skills to real-life situations. "This text is filled with excellent explanations and activities. My students vary in their abilities, and this text covers exactly what they need in a logical, incremental fashion. It's a great reference book that students will find useful for years." —Kenneth Wade Champlain College About This Book This book provides complete coverage of HTML and XHTML, and includes the following: • Up-to-date coverage of using HTML and XHTML to create and design Web sites • Instruction on using CSS to create styles that enhance Web page design and layout, including table and print styles • Expanded and in-depth coverage of embedding multimedia content; using JavaScript to create Web sites with dynamic content and styles; creating Web forms; and using JavaScript to provide client-side form validation • Reinforcement of code compliance with strict applications of HTML and XHTML and compliance with Section 508 accessibility guidelines • Web demos, which give students an interactive approach to learning HTML, XHTML, CSS, and JavaScript • An Online Companion, which provides supplemental information related to the content of each tutorial as well as access to the student data files • Updated business case scenarios throughout, which provide a rich and realistic context for students to apply the concepts and skills presented System Requirements This book assumes that students have an Internet connection, a text editor, and a current Web browser that supports HTML 4.0 and XHTML 1.1 standards. The following is a list of the most recent versions of the major browsers at the time this text was published: Windows—Firefox 2.0, Internet Explorer 7.0, Opera 9.25, and Safari 3.0; Macintosh—Safari 3.0. All Web browsers interpret HTML and CSS code in slightly different ways. It is highly recommend that students have several different browsers installed on their systems, for comparison purposes. Students might also want to run older versions of these browsers to highlight compatibility issues, but the code in this book is designed to support those browser versions. The screenshots in this book were produced using Internet Explorer 7.0 running on Windows Vista, unless otherwise noted. If students are using a different browser or operating system, their screens will vary slightly from those shown in the book; this does not present any problems for students in completing the tutorials. www.cengage.com/ct/newperspectives vi New Perspectives Series "The New Perspectives Series approach, which combines definition and real-world application of content, makes it an easy choice for me when selecting textbooks. I am able to teach concepts that students can immediately apply." —Brian Morgan Marshall University InSight Tip The New Perspectives Approach Context Each tutorial begins with a problem presented in a “real-world” case that is meaningful to students. The case sets the scene to help students understand what they will do in the tutorial. Hands-on Approach Each tutorial is divided into manageable sessions that combine reading and hands-on, step-by-step work. Colorful screenshots help guide students through the steps. Trouble? tips anticipate common mistakes or problems to help students stay on track and continue with the tutorial. InSight Boxes New for this edition! InSight boxes offer expert advice and best practices to help students better understand how to work with HTML, XHTML, and Dynamic HTML. With the information provided in the InSight boxes, students achieve a deeper understanding of the concepts behind the features and skills presented. Margin Tips New for this edition! Margin Tips provide helpful hints and shortcuts for more efficient use of HTML, XHTML, and Dynamic HTML. The Tips appear in the margin at key points throughout each tutorial, giving students extra information when and where they need it. Reality Check Reality Checks New for this edition! Comprehensive, open-ended Reality Check exercises give students the opportunity to practice skills by completing practical, real-world tasks, such as creating a personal Web site and creating and posting an online resume. Review In New Perspectives, retention is a key component to learning. At the end of each session, a series of Quick Check questions helps students test their understanding of the concepts before moving on. Each tutorial also contains an end-of-tutorial summary and a list of key terms for further reinforcement. Apply Assessment Engaging and challenging Review Assignments and Case Problems have always been a hallmark feature of the New Perspectives Series. Colorful icons and brief descriptions accompany the exercises, making it easy to understand, at a glance, both the goal and level of challenge a particular assignment holds. Reference Window Reference While contextual learning is excellent for retention, there are times when students will want a high-level understanding of how to accomplish a task. Within each tutorial, Reference Windows appear before a set of steps to provide a succinct summary and preview of how to perform a task. In addition, each book includes a combination Glossary/Index to promote easy reference of material. www.cengage.com/ct/newperspectives New Perspectives Series vii Our Complete System of Instruction Brief Introductory Comprehensive Coverage To Meet Your Needs Whether you’re looking for just a small amount of coverage or enough to fill a semester-long class, we can provide you with a textbook that meets your needs. • Brief books typically cover the essential skills in just 2 to 4 tutorials. • Introductory books build and expand on those skills and contain an average of 5 to 8 tutorials. • Comprehensive books are great for a full-semester class, and contain 9 to 12+ tutorials. So if the book you’re holding does not provide the right amount of coverage for you, there’s probably another offering available. Visit our Web site or contact your Course Technology sales representative to find out what else we offer. Online Companion This book has an accompanying Online Companion Web site designed to enhance learning. This Web site, www.course.com/np/dhtml4, includes the following: • Supplemental information tied directly to the content of each tutorial, for further student exploration and reference • Student Data Files needed to complete the tutorials and end-of-tutorial exercises CourseCasts – Learning on the Go. Always available…always relevant. Want to keep up with the latest technology trends relevant to you? Visit our site to find a library of podcasts, CourseCasts, featuring a “CourseCast of the Week,” and download them to your mp3 player at http://coursecasts.course.com. Ken Baldauf, host of CourseCasts, is a faculty member of the Florida State University Computer Science Department where he is responsible for teaching technology classes to thousands of FSU students each year. Ken is an expert in the latest technology trends; he gathers and sorts through the most pertinent news and information for CourseCasts so your students can spend their time enjoying technology, rather than trying to figure it out. Open or close your lecture with a discussion based on the latest CourseCast. Visit us at http://coursecasts.course.com to learn on the go! Instructor Resources We offer more than just a book. We have all the tools you need to enhance your lectures, check students’ work, and generate exams in a new, easier-to-use and completely revised package. This book’s Instructor’s Manual, ExamView testbank, PowerPoint presentations, data files, solution files, figure files, and a sample syllabus are all available on a single CD-ROM or for downloading at http://www.cengage.com/coursetechnology. www.cengage.com/ct/newperspectives viii New Perspectives Series Skills Assessment and Training SAM 2007 helps bridge the gap between the classroom and the real world by allowing students to train and test on important computer skills in an active, hands-on environment. SAM 2007’s easy-to-use system includes powerful interactive exams, training or projects on critical applications such as Word, Excel, Access, PowerPoint, Outlook, Windows, the Internet, and much more. SAM simulates the application environment, allowing students to demonstrate their knowledge and think through the skills by performing real-world tasks. Powerful administrative options allow instructors to schedule exams and assignments, secure tests, and run reports with almost limitless flexibility. Online Content Blackboard is the leading distance learning solution provider and class-management platform today. Course Technology has partnered with Blackboard to bring you premium online content. Content for use with New Perspectives on HTML, XHTML, and Dynamic HTML, 4th Edition, Comprehensive is available in a Blackboard Course Cartridge and may include topic reviews, case projects, review questions, test banks, practice tests, custom syllabi, and more. Course Technology also has solutions for several other learning management systems. Please visit http://www.cengage.com/coursetechnology today to see what’s available for this title. Acknowledgments I would like to thank the people who worked so hard to make this book possible. Special thanks to my developmental editors, Mary Kemper and Robin Romer, for their hard work and valuable insights, and to my Product Manager, Kathy Finnegan, who has worked tirelessly in overseeing this project and made my task so much easier with her enthusiasm and good humor. Other people at Course Technology who deserve credit are Marie Lee, Executive Editor; Brandi Shailer, Associate Acquisitions Editor; Leigh Robbins, Associate Product Manager; Julia Leroux-Lindsey, Editorial Assistant; Jennifer Goguen McGrail, Senior Content Project Manager; Christian Kunciw, Manuscript Quality Assurance (MQA) Supervisor; and John Freitas, Serge Palladino, Danielle Shaw, Teresa Storch, and Susan Whalen, MQA testers. Feedback is an important part of writing any book, and thanks go to the following reviewers for their helpful ideas and comments: Sally Catlin, Indiana University—Purdue University Indianapolis; Heith Hennel, Valencia Community College; Diana Kokoska, University of Maine; Angela McFarland, B.T. Washington High School, Escambia; Brian Morgan, Marshall University; James Papademas, DeVry University Chicago; and Luke Papademas, DeVry University Chicago. My thanks as well to the members of the New Perspectives HTML Advisory Board for their insights and suggestions for this new edition: Lisa Macon, Valencia Community College; Don Mangione, Baker College of Muskegon; Chuck Riden, Arizona State University; and Kenneth Wade, Champlain College. Writing a book is like giving birth and I have the stretch marks to prove it, so I want to thank my wife Joan for her love, encouragement, and patience. This book is dedicated to my six children: Catherine, Stephen, Michael, Peter, Thomas, and John. – Patrick Carey www.cengage.com/ct/newperspectives New Perspectives Series ix Brief Contents HTML and XHTML HTML and XHTML—Level I Tutorials Tutorial 1 Developing a Web Page Creating a Product Page for a Startup Company . . . . . . . . . . . . . . . . . HTML 1 Tutorial 2 Developing a Web Site Creating a Web Site for Digital Photography Enthusiasts . . . . . . . . . . HTML 61 HTML and XHTML—Level II Tutorials Tutorial 3 Working with Cascading Style Sheets Designing a Web Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 121 Tutorial 4 Creating Special Effects with CSS Adding Advanced Styles to a Web Site . . . . . . . . . . . . . . . . . . . . . . . HTML 199 Tutorial 5 Working with Web Tables Creating a Radio Program Schedule . . . . . . . . . . . . . . . . . . . . . . . . . HTML 271 HTML and XHTML—Level III Tutorials Tutorial 6 Working with Web Forms Creating a Donation Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 345 Tutorial 7 Working with Multimedia Enhancing a Web Site with Sound, Video, and Applets . . . . . . . . . . . HTML 409 Tutorial 8 Designing a Web Site with Frames Using Frames to Organize a Web Site . . . . . . . . . . . . . . . . . . . . . . . . HTML 479 Tutorial 9 Working with XHTML Creating a Well-Formed, Valid Document . . . . . . . . . . . . . . . . . . . . . HTML 525 Tutorial 10 Programming with JavaScript Hiding E-mail Addresses on a Library Web Site . . . . . . . . . . . . . . . . . HTML 563 Additional Cases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ADD 1 HTML, XHTML, and DHTML HTML, XHTML, and DHTML—Level IV Tutorials Tutorial 11 Working with Operators and Expressions Creating a New Year’s Day Countdown Clock. . . . . . . . . . . . . . . . . . . HTML 617 Tutorial 12 Working with Arrays, Loops, and Conditional Statements Creating a Monthly Calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 669 Tutorial 13 Working with Objects and Styles Creating a Pull-Down Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML 729 Tutorial 14 Working with Forms and Regular Expressions Validating a Web Form with JavaScript . . . . . . . . . . . . . . . . . . . . . . . . HTML 781 Tutorial 15 Working with the Event Model Creating a Drag-and-Drop Jigsaw Puzzle . . . . . . . . . . . . . . . . . . . . . . HTML 861 Tutorial 16 Working with Dynamic Content and Styles Creating a Dynamic Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . HTML 935 x New Perspectives Series Appendix A Color Names and Color Values . . . . . . . . . . . . . . . . . . . . HTML A1 Appendix B HTML Character Entities . . . . . . . . . . . . . . . . . . . . . . . . . HTML B1 Appendix C Placing a Document on the World Wide Web . . . . . . . . . HTML C1 Appendix D Making the Web More Accessible. . . . . . . . . . . . . . . . . . HTML D1 Appendix E HTML and XHTML Elements and Attributes . . . . . . . . . . HTML E1 Appendix F Cascading Style Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . HTML F1 Appendix G JavaScript Objects, Properties, Methods, and Event Holders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML G1 Appendix H JavaScript Operators, Keywords, and Syntactical Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML H1 Appendix I Working with Cookies . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML I1 Appendix J Exploring Filters and Transitions . . . . . . . . . . . . . . . . . . . HTML J1 Appendix K Exploring AJAX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HTML K1 Glossary/Index REF 1 New Perspectives Series xi Table of Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v HTML and XHTML—Level I Tutorials Tutorial 1 Developing a Web Page Creating a Product Page for a Startup Company . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 1 Session 1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 2 Exploring the History of the World Wide Web . . . . . .HTML 2 Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 2 Locating Information on a Network . . . . . . . . . . . .HTML 3 Web Pages and Web Servers . . . . . . . . . . . . . . . . .HTML 3 Marking a List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 22 Ordered Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 22 Unordered Lists . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 23 Nesting Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 24 Definition Lists . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 25 Exploring Other Block-Level Elements . . . . . . . . . . .HTML 27 Working with Inline Elements . . . . . . . . . . . . . . . . . .HTML 29 Character Formatting Elements . . . . . . . . . . . . . .HTML 29 Using the Generic Elements: div and span . . . . .HTML 32 Session 1.2 Quick Check . . . . . . . . . . . . . . . . . . . . . .HTML 33 Introducing HTML . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 4 Session 1.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 34 The History of HTML . . . . . . . . . . . . . . . . . . . . . . .HTML 5 Using Element Attributes . . . . . . . . . . . . . . . . . . . . .HTML 34 Tools for Creating HTML Documents . . . . . . . . . . .HTML 7 The Style Attribute . . . . . . . . . . . . . . . . . . . . . . .HTML 34 Creating an HTML Document . . . . . . . . . . . . . . . . . . .HTML 8 Presentational Attributes . . . . . . . . . . . . . . . . . . .HTML 37 Marking Elements with Tags . . . . . . . . . . . . . . . . .HTML 9 Working with Empty Elements . . . . . . . . . . . . . . . . .HTML 37 The Structure of an HTML Document . . . . . . . . . .HTML 10 Marking a Horizontal Rule . . . . . . . . . . . . . . . . . .HTML 39 Defining the Page Title . . . . . . . . . . . . . . . . . . . .HTML 12 Inserting an Inline Image . . . . . . . . . . . . . . . . . .HTML 41 Adding Comments . . . . . . . . . . . . . . . . . . . . . . . .HTML 13 Working with Character Sets and Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 42 Displaying an HTML File . . . . . . . . . . . . . . . . . . . .HTML 14 Session 1.1 Quick Check . . . . . . . . . . . . . . . . . . . . . .HTML 15 Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 42 Numeric Character References . . . . . . . . . . . . . .HTML 43 Session 1.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 16 Character Entity References . . . . . . . . . . . . . . . .HTML 43 Working with Block-Level Elements . . . . . . . . . . . . .HTML 16 Special Characters . . . . . . . . . . . . . . . . . . . . . . . .HTML 45 Working with Headings . . . . . . . . . . . . . . . . . . . .HTML 16 Session 1.3 Quick Check . . . . . . . . . . . . . . . . . . . . . .HTML 48 Marking Paragraph Elements . . . . . . . . . . . . . . .HTML 18 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 49 White Space and HTML . . . . . . . . . . . . . . . . . . . .HTML 19 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 49 Marking a Block Quote . . . . . . . . . . . . . . . . . . . .HTML 20 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . . .HTML 50 xii New Perspectives Series Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 52 Session 2.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 89 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . . .HTML 58 Linking to Resources on the Internet . . . . . . . . . . . .HTML 89 Tutorial 2 Developing a Web Site Creating a Web Site for Digital Photography Enthusiasts . . . . . . . . . . . . . . .HTML 61 Session 2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 62 Exploring Web Site Structures . . . . . . . . . . . . . . . . .HTML 62 Linear Structures . . . . . . . . . . . . . . . . . . . . . . . . .HTML 63 Hierarchical Structures . . . . . . . . . . . . . . . . . . . .HTML 64 Mixed Structures . . . . . . . . . . . . . . . . . . . . . . . . .HTML 64 Protected Structures . . . . . . . . . . . . . . . . . . . . . .HTML 66 Creating a Hypertext Link . . . . . . . . . . . . . . . . . . . .HTML 67 Specifying a Folder Path . . . . . . . . . . . . . . . . . . . . . .HTML 69 Absolute Paths . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 71 Relative Paths . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 71 Changing the Base . . . . . . . . . . . . . . . . . . . . . . . .HTML 72 Session 2.1 Quick Check . . . . . . . . . . . . . . . . . . . . . .HTML 73 Introducing URLs . . . . . . . . . . . . . . . . . . . . . . . . .HTML 89 Linking to a Web Site . . . . . . . . . . . . . . . . . . . . . .HTML 90 Linking to FTP Servers . . . . . . . . . . . . . . . . . . . . .HTML 92 Linking to a Local File . . . . . . . . . . . . . . . . . . . . .HTML 93 Linking to an E-Mail Address . . . . . . . . . . . . . . . .HTML 94 Working with Hypertext Attributes . . . . . . . . . . .HTML 98 Opening a Secondary Window or Tab . . . . . . . . .HTML 99 Creating a Tooltip . . . . . . . . . . . . . . . . . . . . . . .HTML 100 Creating a Semantic Link . . . . . . . . . . . . . . . . . .HTML 101 Using the Link Element . . . . . . . . . . . . . . . . . . . . . .HTML 102 Working with Metadata . . . . . . . . . . . . . . . . . . . . .HTML 103 Using the Meta Element . . . . . . . . . . . . . . . . . .HTML 103 Applying Metadata to the Communication Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 105 Session 2.3 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 106 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 107 Session 2.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 74 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 107 Linking to Locations within Documents . . . . . . . . . .HTML 74 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 108 Using the id Attribute . . . . . . . . . . . . . . . . . . . . .HTML 74 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 110 Linking to an id . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 76 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 117 Creating Links between Documents . . . . . . . . . .HTML 78 Reality Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 119 Working with Linked Images and Image Maps . . . .HTML 81 Introducing Image Maps . . . . . . . . . . . . . . . . . . .HTML 81 HTML and XHTML—Level II Tutorials Tutorial 3 Working with Cascading Style Sheets Client-Side Image Maps . . . . . . . . . . . . . . . . . . .HTML 82 Designing a Web Site . . . . . . . . . . . . . . . . .HTML 121 Defining Hotspots . . . . . . . . . . . . . . . . . . . . . . . .HTML 82 Applying an Image Map . . . . . . . . . . . . . . . . . . .HTML 86 Session 3.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 122 Server-Side Image Maps . . . . . . . . . . . . . . . . . . .HTML 88 Introducing CSS . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 122 Session 2.2 Quick Check . . . . . . . . . . . . . . . . . . . . . .HTML 89 The History of CSS . . . . . . . . . . . . . . . . . . . . . . .HTML 124 Applying a Style Sheet . . . . . . . . . . . . . . . . . . . .HTML 126 New Perspectives Series xiii Using Inline Styles . . . . . . . . . . . . . . . . . . . . . . . . .HTML 126 Background Image Options . . . . . . . . . . . . . . . . . .HTML 159 Using an Embedded Style Sheet . . . . . . . . . . . . . . .HTML 126 The Background Style . . . . . . . . . . . . . . . . . . . . . . .HTML 161 Using an External Style Sheet . . . . . . . . . . . . . . . . .HTML 127 Session 3.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 161 Adding Style Comments . . . . . . . . . . . . . . . . . .HTML 128 Linking to an External Style Sheet . . . . . . . . . . .HTML 129 Setting up Alternate Style Sheets . . . . . . . . . . .HTML 131 Understanding Cascading Order . . . . . . . . . . . . . .HTML 132 Style Precedence . . . . . . . . . . . . . . . . . . . . . . . .HTML 132 Style Inheritance . . . . . . . . . . . . . . . . . . . . . . . .HTML 134 Applying a Style to a Specific ID . . . . . . . . . . . .HTML 134 Working with Color in HTML and CSS . . . . . . . . . .HTML 135 Color Values . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 135 Using Color Names . . . . . . . . . . . . . . . . . . . . . .HTML 136 Defining Text and Background Colors . . . . . . . . . .HTML 138 Session 3.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 140 Session 3.3 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 162 Floating an Element . . . . . . . . . . . . . . . . . . . . . . . .HTML 162 Working with the Box Model . . . . . . . . . . . . . . . . .HTML 165 Margin Styles . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 166 Padding Styles . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 168 Border Styles . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 168 Width and Height Styles . . . . . . . . . . . . . . . . . . .HTML 171 Controlling Page Layout with div Containers . . . . .HTML 174 Setting the Display Style . . . . . . . . . . . . . . . . . . . . .HTML 180 Session 3.3 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 184 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 185 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 185 Session 3.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 140 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 186 Working with Fonts and Text Styles . . . . . . . . . . . .HTML 140 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 188 Choosing a Font . . . . . . . . . . . . . . . . . . . . . . . . .HTML 140 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 197 Setting the Font Size . . . . . . . . . . . . . . . . . . . . .HTML 143 Controlling Spacing and Indentation . . . . . . . . .HTML 146 Tutorial 4 Creating Special Effects with CSS Applying Font Features . . . . . . . . . . . . . . . . . . .HTML 149 Adding Advanced Styles to a Web Site . . .HTML 199 Aligning Text Vertically . . . . . . . . . . . . . . . . . . .HTML 152 Combining All Text Formatting in a Single Style . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 152 Session 4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 200 Working with Selector Patterns . . . . . . . . . . . . . . .HTML 200 Working with Images . . . . . . . . . . . . . . . . . . . . . . .HTML 153 Contextual Selectors . . . . . . . . . . . . . . . . . . . . .HTML 201 Working with GIF Images . . . . . . . . . . . . . . . . .HTML 154 Attribute Selectors . . . . . . . . . . . . . . . . . . . . . . .HTML 203 JPEG Images . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 155 Applying a Selector Pattern . . . . . . . . . . . . . . . .HTML 205 PNG Images . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 156 Applying Styles to Lists . . . . . . . . . . . . . . . . . . . . .HTML 207 Setting the Image Size . . . . . . . . . . . . . . . . . . . . . .HTML 156 Choosing a List Style Type . . . . . . . . . . . . . . . . .HTML 207 Formatting Backgrounds . . . . . . . . . . . . . . . . . . . .HTML 157 Defining the List Position and Layout . . . . . . . . .HTML 211 xiv New Perspectives Series Working with Classes . . . . . . . . . . . . . . . . . . . . . . .HTML 213 Session 4.3 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 255 Using Pseudo-Classes and Pseudo-Elements . . . . .HTML 215 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 256 Creating a Link Rollover . . . . . . . . . . . . . . . . . . .HTML 216 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 256 Creating a Drop Cap . . . . . . . . . . . . . . . . . . . . .HTML 218 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 257 Generating Text with Pseudo-Elements . . . . . . .HTML 221 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 260 Session 4.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 222 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 269 Session 4.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 222 Tutorial 5 Working with Web Tables Positioning Objects with CSS . . . . . . . . . . . . . . . . .HTML 222 Creating a Radio Program Schedule . . . . .HTML 271 The Position Style . . . . . . . . . . . . . . . . . . . . . . .HTML 226 Session 5.1 . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 272 Absolute Positioning . . . . . . . . . . . . . . . . . . . . .HTML 227 Relative Positioning . . . . . . . . . . . . . . . . . . . . . .HTML 230 Fixed and Inherited Positioning . . . . . . . . . . . . .HTML 231 Working with Overflow and Clipping . . . . . . . . . . .HTML 234 Clipping an Element . . . . . . . . . . . . . . . . . . . . .HTML 235 Limiting Width and Height . . . . . . . . . . . . . . . .HTML 236 Stacking Elements . . . . . . . . . . . . . . . . . . . . . . . . .HTML 238 Session 4.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 239 Introducing Web Tables . . . . . . . . . . . . . . . . . . . . .HTML 272 Marking Tables and Table Rows . . . . . . . . . . . .HTML 273 Marking Table Headings and Table Data . . . . .HTML 274 Adding a Table Border . . . . . . . . . . . . . . . . . . .HTML 277 Spanning Rows and Columns . . . . . . . . . . . . . . . . .HTML 279 Creating a Table Caption . . . . . . . . . . . . . . . . . . . .HTML 284 Marking Row Groups . . . . . . . . . . . . . . . . . . . . . . .HTML 286 Marking Column Groups . . . . . . . . . . . . . . . . . . . .HTML 288 Session 4.3 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 239 Adding a Table Summary . . . . . . . . . . . . . . . . . . . .HTML 290 Working with Different Media . . . . . . . . . . . . . . . .HTML 239 Session 5.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 292 Media Types . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 240 Session 5.2 . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 292 The @media Rule . . . . . . . . . . . . . . . . . . . . . . . .HTML 242 Media Groups . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 242 Hiding Elements . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 245 Using Print Styles . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 248 Page Pseudo-Classes and Named Pages . . . . . .HTML 248 Setting the Page Size . . . . . . . . . . . . . . . . . . . . .HTML 249 Working with Page Breaks . . . . . . . . . . . . . . . . . . .HTML 250 Preventing a Page Break . . . . . . . . . . . . . . . . . .HTML 251 Working with Widows and Orphans . . . . . . . . . .HTML 251 Formatting Tables with HTML Attributes . . . . . . . .HTML 292 Setting Cell Spacing with HTML . . . . . . . . . . . .HTML 292 Setting Cell Padding with HTML . . . . . . . . . . . .HTML 293 Setting Table Widths and Heights in HTML . . . .HTML 294 Setting Row Heights with HTML . . . . . . . . . . . .HTML 295 Formatting Table Borders with HTML . . . . . . . .HTML 296 Aligning Cell Contents with HTML . . . . . . . . . . .HTML 297 Vertical Alignment in HTML . . . . . . . . . . . . . . . .HTML 298 New Perspectives Series xv Formatting Tables with CSS . . . . . . . . . . . . . . . . . .HTML 299 Creating a Web Form . . . . . . . . . . . . . . . . . . . . . . .HTML 348 Table Border Styles . . . . . . . . . . . . . . . . . . . . . .HTML 300 Creating a Field Set . . . . . . . . . . . . . . . . . . . . . . . .HTML 351 Applying Styles to Rows and Columns . . . . . . . .HTML 304 Creating Input Boxes . . . . . . . . . . . . . . . . . . . . . . .HTML 353 Using the Width and Height Styles . . . . . . . . . .HTML 306 Adding Field Labels . . . . . . . . . . . . . . . . . . . . . . . .HTML 355 Caption Styles . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 310 Working with Form Styles and HTML Attributes . .HTML 357 Applying Table Styles to Other Page Elements . . . .HTML 311 Setting the Width of an Input Box . . . . . . . . . . .HTML 361 Session 5.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 312 Setting the Maximum Width of an Input Box . .HTML 362 Session 5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 313 Using Tables for Page Layout . . . . . . . . . . . . . . . . .HTML 313 Setting a Default Value for a Field . . . . . . . . . . .HTML 363 Session 6.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 365 Introducing the Jigsaw Layout . . . . . . . . . . . . .HTML 314 Session 6.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 366 Defining the Structure of a Jigsaw Table . . . . . .HTML 315 Creating Option Buttons . . . . . . . . . . . . . . . . . . . . .HTML 366 Adding the Rounded Border . . . . . . . . . . . . . . .HTML 320 Creating a Selection List . . . . . . . . . . . . . . . . . . . . .HTML 370 Adding the Box Content . . . . . . . . . . . . . . . . . .HTML 322 Grouping Selection Options . . . . . . . . . . . . . . . .HTML 371 Exploring the Controversy over Table Layouts . . . .HTML 324 Setting the Selection List Size . . . . . . . . . . . . . .HTML 372 Creating a Rounded Box Using div Containers . . . .HTML 326 Allowing for Multiple Selections . . . . . . . . . . . .HTML 377 Nesting div Containers . . . . . . . . . . . . . . . . . . .HTML 326 Working with Check Boxes . . . . . . . . . . . . . . . . . . .HTML 378 Session 5.3 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 330 Working with Text Area Controls . . . . . . . . . . . . . .HTML 380 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 331 Session 6.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 384 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 331 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 332 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 334 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 342 Reality Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 344 HTML and XHTML—Level III Tutorials Tutorial 6 Working with Web Forms Creating a Donation Form . . . . . . . . . . . . .HTML 345 Session 6.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 346 Introducing Web Forms . . . . . . . . . . . . . . . . . . . . .HTML 346 Parts of a Web Form . . . . . . . . . . . . . . . . . . . . .HTML 346 Forms and Server-Based Programs . . . . . . . . . .HTML 347 Session 6.3 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 385 Working with Form Buttons . . . . . . . . . . . . . . . . . .HTML 385 Creating a Command Button . . . . . . . . . . . . . . .HTML 385 Creating Submit and Reset Buttons . . . . . . . . . .HTML 385 Designing a Custom Button . . . . . . . . . . . . . . . .HTML 388 Creating File Buttons . . . . . . . . . . . . . . . . . . . . .HTML 388 Creating Image Field Buttons . . . . . . . . . . . . . .HTML 389 Working with Hidden Fields . . . . . . . . . . . . . . . . . .HTML 390 Working with Form Attributes . . . . . . . . . . . . . . . .HTML 391 Using the mailto Action . . . . . . . . . . . . . . . . . . . . .HTML 393 Session 6.3 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 394 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 394 xvi New Perspectives Series Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 394 Exploring QuickTime Video . . . . . . . . . . . . . . . . . .HTML 439 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 395 Exploring Windows Media Player . . . . . . . . . . . . . .HTML 443 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 398 Introducing the embed Element . . . . . . . . . . . . . .HTML 446 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 407 Nesting Embedded Objects . . . . . . . . . . . . . . . . . .HTML 448 Tutorial 7 Working with Multimedia Session 7.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 453 Enhancing a Web Site with Sound, Video, and Applets . . . . . . . . . . . . . . . . . . . . . . . . .HTML 409 Session 7.3 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 454 Session 7.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 410 Working with Java Applets . . . . . . . . . . . . . . . . . . .HTML 455 Introducing Multimedia . . . . . . . . . . . . . . . . . . . . .HTML 410 Embedding a Java Applet . . . . . . . . . . . . . . . . .HTML 456 Multimedia and Bandwidth . . . . . . . . . . . . . . . .HTML 411 Inserting Java Parameters . . . . . . . . . . . . . . . . .HTML 457 External and Embedded Media . . . . . . . . . . . . .HTML 412 Exploring the Applet Element . . . . . . . . . . . . . . . .HTML 463 Exploring Digital Audio . . . . . . . . . . . . . . . . . . . . .HTML 413 Embedding Other Objects . . . . . . . . . . . . . . . . . . .HTML 464 Working with Embedded Objects . . . . . . . . . . . . . .HTML 417 Inserting Inline Images . . . . . . . . . . . . . . . . . . .HTML 464 Object Data Sources and MIME Types . . . . . . . .HTML 417 Embedding an HTML file . . . . . . . . . . . . . . . . . .HTML 464 Setting the Object Width and Height . . . . . . . .HTML 419 Session 7.3 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 466 Working with Parameters . . . . . . . . . . . . . . . . .HTML 421 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 466 Working with ActiveX Components . . . . . . . . . . . .HTML 424 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 466 The classid Attribute . . . . . . . . . . . . . . . . . . . . .HTML 425 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 467 The codebase Attribute . . . . . . . . . . . . . . . . . . .HTML 425 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 469 Internet Explorer Conditional Comments . . . . .HTML 427 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 476 Creating Background Sound . . . . . . . . . . . . . . . . .HTML 429 Session 7.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 430 Session 7.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 431 Exploring Digital Video . . . . . . . . . . . . . . . . . . . . . .HTML 431 Data Rates and Video Quality . . . . . . . . . . . . . .HTML 431 Video File Formats . . . . . . . . . . . . . . . . . . . . . . .HTML 432 Media Players . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 434 Working with Flash . . . . . . . . . . . . . . . . . . . . . . . . .HTML 434 Embedding a Flash Player . . . . . . . . . . . . . . . . .HTML 435 Flash Parameters . . . . . . . . . . . . . . . . . . . . . . . .HTML 438 Introducing Java . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 454 Tutorial 8 Designing a Web Site with Frames Using Frames to Organize a Web Site . . . .HTML 479 Session 8.1 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 480 Introducing Frames . . . . . . . . . . . . . . . . . . . . . . . .HTML 480 Planning Your Frames . . . . . . . . . . . . . . . . . . . . . . .HTML 482 Creating a Frameset . . . . . . . . . . . . . . . . . . . . . . . .HTML 483 Specifying Frame Size and Orientation . . . . . . .HTML 484 Creating a Frame . . . . . . . . . . . . . . . . . . . . . . . .HTML 487 Nesting Framesets . . . . . . . . . . . . . . . . . . . . . . .HTML 488 New Perspectives Series xvii Formatting a Frame . . . . . . . . . . . . . . . . . . . . . . . .HTML 490 Creating Well-Formed Documents . . . . . . . . . . . . .HTML 530 Hiding and Displaying Scroll Bars . . . . . . . . . . .HTML 490 Creating Valid XHTML Documents . . . . . . . . . . . . .HTML 532 Setting Frame Margins . . . . . . . . . . . . . . . . . . .HTML 491 Transitional, Frameset, and Strict DTDs . . . . . .HTML 533 Controlling Frame Resizing . . . . . . . . . . . . . . . .HTML 493 The Valid Use of Attributes . . . . . . . . . . . . . . . .HTML 535 Session 8.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 494 Inserting the DOCTYPE Declaration . . . . . . . . .HTML 538 Session 8.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 494 Working with Frames and Links . . . . . . . . . . . . . . .HTML 494 Setting the XHTML Namespace . . . . . . . . . . . . . . .HTML 539 Session 9.1 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 542 Using Reserved Target Names . . . . . . . . . . . . . . . .HTML 498 Session 9.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 542 Using the noframes Element . . . . . . . . . . . . . . . . .HTML 502 Testing under XHTML Transitional . . . . . . . . . . . . .HTML 542 Working with Frame Borders . . . . . . . . . . . . . . . . .HTML 506 Testing under XHTML Strict . . . . . . . . . . . . . . . . . .HTML 547 Setting the Frame Border Color . . . . . . . . . . . . .HTML 506 Using Style Sheets and XHTML . . . . . . . . . . . . . . .HTML 552 Setting the Frame Border Width . . . . . . . . . . . .HTML 507 Session 9.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 554 Creating Inline Frames . . . . . . . . . . . . . . . . . . . . . .HTML 509 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 554 Session 8.2 Quick Check . . . . . . . . . . . . . . . . . . . . .HTML 514 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 554 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 514 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 555 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 514 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 556 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 515 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 561 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 517 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 523 Tutorial 9 Working with XHTML Tutorial 10 Programming with JavaScript Hiding E-Mail Addresses on a Library Web Site . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 563 Creating a Well-Formed, Valid Document . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 525 Session 10.1 . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 564 Session 9.1 . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 526 Server-Side and Client-Side Programming . . . .HTML 566 Introducing XHTML . . . . . . . . . . . . . . . . . . . . . . . .HTML 526 The Development of JavaScript . . . . . . . . . . . . .HTML 568 SGML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 526 Working with the Script Element . . . . . . . . . . . . . .HTML 569 HTML as an SGML Application . . . . . . . . . . . . . .HTML 527 Creating a Script Element . . . . . . . . . . . . . . . .HTML 569 XML and XHTML . . . . . . . . . . . . . . . . . . . . . . . .HTML 528 Placing the Script Element . . . . . . . . . . . . . . . .HTML 570 Creating an XHTML Document . . . . . . . . . . . . .HTML 530 Writing a JavaScript Statement . . . . . . . . . . . .HTML 571 Introducing JavaScript . . . . . . . . . . . . . . . . . . . . . .HTML 564 xviii New Perspectives Series Writing Output to a Web Document . . . . . . . . . . . .HTML 571 The document.write() Method . . . . . . . . . . . . .HTML 573 Understanding JavaScript Syntax . . . . . . . . . . . . .HTML 575 Session 10.1 Quick Check . . . . . . . . . . . . . . . . . . . .HTML 577 Session 10.2 . . . . . . . . . . . . . . . . . . . . . . . . .HTML 578 Working with Variables . . . . . . . . . . . . . . . . . . . . . .HTML 578 Declaring a Variable . . . . . . . . . . . . . . . . . . . . .HTML 578 Assigning a Value to a Variable . . . . . . . . . . . .HTML 578 Working with Data Types . . . . . . . . . . . . . . . . .HTML 580 Additional Case 2 Creating a Culinary Web Site . . . . . . . . . . . . . . . . .ADD 9 Additional Case 3 Creating an Online Newsletter . . . . . . . . . . . . . . .ADD 15 HTML, XHTML, and DHTML— Level IV Tutorials Tutorial 11 Working with Operators and Expressions Creating a New Year’s Day Countdown Clock . . . . . . . . . . . . . . . . . . . .HTML 617 Creating a JavaScript Function . . . . . . . . . . . . . . .HTML 583 Session 11.1 . . . . . . . . . . . . . . . . . . . . . . . . .HTML 618 Calling a Function . . . . . . . . . . . . . . . . . . . . . . .HTML 584 Introducing onevent Processing . . . . . . . . . . . . . . .HTML 618 Creating a Function to Return a Value . . . . . . . . . .HTML 588 Understanding Events and Event Handlers . . . .HTML 620 Session 10.2 Quick Check . . . . . . . . . . . . . . . . . . . .HTML 589 Working with Date Objects . . . . . . . . . . . . . . . . . . .HTML 623 Session 10.3 . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 590 Retrieving the Date, Month, and Hour Values . .HTML 624 Accessing an External JavaScript File . . . . . . . . . . .HTML 590 Retrieving the Hour, Minute, and Second Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 625 Commenting JavaScript Code . . . . . . . . . . . . . . . .HTML 594 Setting Date and Time Values . . . . . . . . . . . . . .HTML 626 Inserting Single-Line and Multiline Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 594 Creating a Date and Time Function . . . . . . . . . .HTML 627 Using Comments to Hide JavaScript Code . . . .HTML 596 Session 11.1 Quick Check . . . . . . . . . . . . . . . . . . . .HTML 629 Debugging Your JavaScript Programs . . . . . . . . . .HTML 597 Session 11.2 . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 630 Debugging Tools and Techniques . . . . . . . . . .HTML 599 Working with Operators and Operands . . . . . . . . .HTML 630 Session 10.3 Quick Check . . . . . . . . . . . . . . . . . . . .HTML 603 Using Arithmetic and Unary Operators . . . . . . .HTML 630 Tutorial Summary . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 604 Using Assignment Operators . . . . . . . . . . . . . . .HTML 632 Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 604 Calculating the Days Left in the Year . . . . . . . .HTML 633 Review Assignments . . . . . . . . . . . . . . . . . . . . . . . .HTML 605 Case Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 607 Working with the Math Object and Math Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 636 Quick Check Answers . . . . . . . . . . . . . . . . . . . . . . .HTML 613 Using Math Methods . . . . . . . . . . . . . . . . . . . . .HTML 637 Reality Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . .HTML 615 Using Math Constants . . . . . . . . . . . . . . . . . . . .HTML 638 Additional Case 1 Creating a Music School Web Site . . . . . . . . . . . . .ADD 1 Calculating the Hours, Minutes, and Seconds Left in the Year . . . . . . . . . . . . . . . . . . . . . . . . .HTML 640

Author Patrick Carey Isbn 9781439078334 File size 50 Mb Year 2009 Pages 2000 Language English File format PDF Category Web Development Book Description: FacebookTwitterGoogle+TumblrDiggMySpaceShare The latest book from Cengage Learning on New Perspectives on HTML, XHTML, and Dynamic HTML, International Edition     Download (50 Mb) Hardboiled Web Design Web Design: Introductory Concepts And Techniques, 3 Edition Alexander Flexer – Html Web Guide For Absolute Beginners – Learn Html In 24 Hours A Smarter Way to Learn HTML & CSS: Learn it faster. Remember it longer HTML, XHTML & CSS QuickSteps Load more posts

Leave a Reply

Your email address will not be published. Required fields are marked *