Beginning HTML, XHTML, CSS, and JavaScript by Jon DuckettBeginning HTML, XHTML, CSS, and JavaScript by Jon Duckett

Beginning HTML, XHTML, CSS, and JavaScript

byJon Duckett

Paperback | December 30, 2009

Pricing and Purchase Info


Earn 240 plum® points

Prices and offers may vary in store

Out of stock online

Not available in stores


An indispensable introductory guide to creating web pages using the most up-to-date standards

This beginner guide shows you how to use XHTML, CSS, and JavaScript to create compelling Web sites. While learning these technologies, you will discover coding practices such as writing code that works on multiple browsers including mobile devices, how to use AJAX frameworks to add interactivity to your pages, and how to ensure your pages meet accessible requirements.

Packed with real-world examples, the book not only teaches you how to write Web sites using XHTML, CSS and JavaScript, but it also teaches you design principles that help you create attractive web sites and practical advice on how to make web pages more usable. In addition, special checklists and appendices review key topics and provide helpful references that re-enforce the basics you've learned.

  • Serves as an ideal beginners guide to writing web pages using XHTML
  • Explains how to use CSS to make pages more appealing and add interactivity to pages using JavaScript and AJAX frameworks
  • Share advice on design principles and how to make pages more attractive and offers practical help with usability and accessibility
  • Features checklists and appendices that review key topics

This introductory guide is essential reading for getting started with using XHTML, CSS and JavaScript to create exciting and compelling Web sites.

Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

Jon Duckett has spent over a decade helping a wide range of companies implement innovative web strategies. Taking a hands-on approach, he designs many of the projects he works on and helps to code them. During this time, Jon has written several books covering web design, programming, accessibility and usability.
Title:Beginning HTML, XHTML, CSS, and JavaScriptFormat:PaperbackDimensions:864 pages, 9.3 × 7.4 × 1.66 inPublished:December 30, 2009Publisher:WileyLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0470540702

ISBN - 13:9780470540701

Look for similar items by category:


Table of Contents

Introduction xxi

Chapter 1: Structuring Documents for the Web 1

A Web of Structured Documents 1

Introducing HTML and XHTML 2

Basic Text Formatting 10

Presentational Elements 19

Phrase Elements 23

Lists 30

Editing Text 38

Using Character Entities for Special Characters 39

Comments 40

The Element (Deprecated) 40

Understanding Block and Inline Elements 41

Grouping Elements with

and 42

Core Elements and Attributes 45

Attribute Groups 47

Summary 51

Exercises 52

Chapter 2: Links and Navigation 55

Basic Links 55

Understanding Directories and Directory Structures 61

Understanding URLs 62

Creating Links with the Element 66

Advanced E-mail Links 76

Summary 78

Exercises 78

Chapter 3: Images, Audio, and Video 79

Adding Images Using the Element 79

Using Images as Links 88

Image Maps 89

Choosing the Right Image Format 95

Adding Flash, Video, and Audio to Your Web Pages 104

Summary 127

Exercises 128

Chapter 4: Tables 131

Introducing Tables 131

Basic Table Elements and Attributes 139

Adding a to a Table 151

Grouping Sections of a Table 151

Nested Tables 158

Accessible Tables 160

Summary 164

Exercises 165

Chapter 5: Forms 167

Introducing Forms 168

Creating a Form with the Element 171

Form Controls 175

Creating Labels for Controls and the

Structuring Your Forms with

and Elements 200

Focus 202

Disabled and Read-Only Controls 205

Sending Form Data to the Server 207

Summary 211

Exercises 212

Chapter 6: Frames 215

Introducing the Frameset 216

When To Use Frames 218

The Element 219

The Element 225

The Element 228<p /> <p>Creating Links Between Frames 228</p> <p>Setting a Default Target Frame Using the <base /> Element 230</p> <p>Nested Framesets 231</p> <p />Inline or Floating Frames with <iframe> 234<p /> <p>Summary 240</p> <p>Exercises 240</p> <p><strong>Chapter 7: Cascading Style Sheets 243</strong></p> <p>Introducing CSS 244</p> <p>Where You Can Add CSS Rules 250</p> <p>CSS Properties 254</p> <p>Controlling Text 255</p> <p>Text Formatting 264</p> <p>Text Pseudo-Classes 273</p> <p>Selectors 276</p> <p>Lengths 283</p> <p>Introducing the Box Model 285</p> <p>Summary 304</p> <p>Exercises 304</p> <p><strong>Chapter 8: More Cascading Style Sheets 307</strong></p> <p>Links 308</p> <p>Backgrounds 309</p> <p>Lists 317</p> <p>Tables 320</p> <p>Outlines 328</p> <p>The :focus and :active Pseudo-Classes 330</p> <p>Generated Content 331</p> <p>Miscellaneous Properties 335</p> <p>Additional Rules 338</p> <p>Positioning and Layout with CSS 340</p> <p>Summary 355</p> <p>Exercises 355</p> <p><strong>Chapter 9: Page Layout 357</strong></p> <p>Understanding the Site’s Audience 358</p> <p>Page Size (and Screen Resolution) 365</p> <p>Designing Pages 373</p> <p>Coding Your Design 391</p> <p>Developing for Mobile Devices 408</p> <p>Summary 419</p> <p>Exercises 419</p> <p><strong>Chapter 10: Design Issues 421</strong></p> <p>Typography 422</p> <p>Navigation 440</p> <p>Tables 454</p> <p>Forms 456</p> <p>Summary 479</p> <p>Exercises 479</p> <p><strong>Chapter 11: Learning JavaScript 481</strong></p> <p>What Is Programming About? 482</p> <p>How to Add a Script to Your Pages 484</p> <p>The Document Object Model 488</p> <p>Starting to Program with JavaScript 501</p> <p>Variables 502</p> <p>Operators 503</p> <p>Functions 506</p> <p>Conditional Statements 508</p> <p>Looping 511</p> <p>Events 514</p> <p>Built-in Objects 516</p> <p>Writing JavaScript 528</p> <p>Summary 530</p> <p>Exercises 531</p> <p><strong>Chapter 12: Working with JavaScript 533</strong></p> <p>Practical Tips for Writing Scripts 533</p> <p>Form Validation 535</p> <p>Form Enhancements 556</p> <p>JavaScript Libraries 570</p> <p>Summary 584</p> <p>Exercises 585</p> <p><strong>Chapter 13: Putting Your Site on the Web 587</strong></p> <p>Meta Tags 588</p> <p>Testing Your Site 593</p> <p>Taking the Leap to Live 601</p> <p>Telling the World about Your Site 607</p> <p>Understanding Your Visitors 613</p> <p>What Next? 616</p> <p>Summary 626</p> <p><strong>Chapter 14: Checklists 627</strong></p> <p>Search Engine Optimization Checklist 627</p> <p>Accessibility Checklist 631</p> <p>Differences Between HTML and XHTML 635</p> <p>HTML 5 637</p> <p>Appendix A: Answers to Exercises 641</p> <p>Appendix B: XHTML Element Reference 677</p> <p>Appendix C: CSS Properties 713</p> <p>Appendix D: Color Names and Values 741</p> <p>Appendix E: Character Encodings 749</p> <p>Appendix F: Special Characters 753</p> <p>Appendix G: Language Codes 767</p> <p>Appendix H: MIME Media Types 771</p> <p>Appendix I: Deprecated and Browser - Specific Markup 783</p> <p>Index 815</p></iframe>