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.
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 Element 198
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
The
The Creating Links Between Frames 228
Setting a Default Target Frame Using the Element 230
Nested Framesets 231
Inline or Floating Frames with