search for books and compare prices
Tables of Contents for Xhtml
Chapter/Section Title
Page #
Page Count
PREFACE
xvii
 
READ THIS BEFORE YOU BEGIN
xxiii
 
CHAPTER ONE Introduction to Web Pages
1
42
The World Wide Web
2
2
HTML Documents
4
9
Basic HTML Syntax
5
3
Creating an HTML Document
8
3
Web Page Design and Authoring
11
2
The W3C
13
1
Web Browsers
13
3
The Evolution of XHTML
16
3
The Basics of XML
19
14
The XML Declaration
19
2
Parsing XML Documents
21
2
Writing Well-Formed Documents
23
10
Combining XML and HTML
33
1
Chapter Summary
34
2
Review Questions
36
3
Hands-on Projects
39
2
Case Projects
41
2
CHAPTER TWO Building Document Structure
43
42
Creating XHTML Documents
44
2
Backward Compatibility
45
1
The [ ! DOCTYPE] Declaration 45
XHTML DTDs
46
6
Transitional DTD
46
2
Frameset DTD
48
1
Strict DTD
49
1
Validating Web Pages
49
3
XHTML Elements and Attributes
52
7
Block-Level and Inline Elements
52
2
Standard Attributes
54
5
Boolean Attributes
59
1
Required Elements
59
5
The [html] Element 59
The Document Head
61
2
The Document Body
63
1
Basic Body Elements
64
9
Headings
64
4
Paragraphs and Line Breaks
68
2
Horizontal Rules
70
2
Comments
72
1
Chapter Summary
73
2
Review Questions
75
2
Hands-on Projects
77
7
Case Projects
84
1
CHAPTER THREE Linking and Publishing Basic Web Pages
85
34
Linking Web Pages
86
5
Uniform Resource Locators
91
3
Absolute and Relative Links
94
1
Linking Within the Same Web Page
95
2
Publishing Your Web Pages
97
6
Domain Name Registration
98
1
File Transfer Protocol
99
3
Advertising Your Web Site
102
1
Metadata
103
5
The name Attribute
104
1
Hiding Web Pages from Search Engines
105
1
The http-equiv Attribute
106
2
Chapter Summary
108
1
Review Questions
109
3
Hands-on Projects
112
5
Case Projects
117
2
CHAPTER FOUR Text and Images
119
56
Text-Formatting Elements
120
4
Phrase Elements
124
9
Block-Level Text Elements
133
8
The [address] Element 133
The [del] and [ins] Elements 135
The [pre] Element 138
Quotations
141
4
The [blockquote] Element 141
The [q] Element 143
Special Characters
145
5
Numeric Character References
145
2
Character Entities
147
3
The [img] Element 149
The alt Attribute
150
2
Height and Width
152
5
Using Images from Other Locations
157
1
Image Maps
158
6
Chapter Summary
164
1
Review Questions
165
3
Hands-on Projects
168
5
Case Projects
173
2
CHAPTER FIVE Frames
175
38
The Framelet DTD
176
1
Creating Frames
177
5
Using the target and base Attributes
182
4
Nesting Frames
186
4
Frame Formatting
190
7
The frameborder Attribute
190
1
The longdele Attribute
191
2
The marginheight and marginwidth Attributes
193
1
The noresize Attribute
194
1
The scrolling Attribute
194
3
The [noframes] Element 196
Inline Frames
197
3
Chapter Summary
200
1
Review Questions
201
3
Hands-on Projects
204
7
Case Projects
211
2
CHAPTER SIX Tables and Lists
213
62
Creating Basic Tables
214
14
Basic [table] Elements 215
Captions and Summaries
222
3
Table Widths
225
1
Horizontal Alignment
226
2
Structuring Tables
228
13
Row Groups
228
4
Columns
232
4
Using Tables to Simulate Frames
236
5
Formatting Tables
241
16
Borders
242
1
The frame Attribute
243
1
Rules
244
2
Displaying Empty Cells
246
4
Cell Margins
250
2
Cells that Span Multiple Rows or Columns
252
3
Vertical Alignment
255
2
Creating Lists
257
5
Unordered Lists
258
2
Ordered Lists
260
1
Definition Lists
261
1
Chapter Summary
262
2
Review Questions
264
2
Hands-on Projects
266
8
Case Projects
274
1
CHAPTER SEVEN Forms
275
58
Form Elements
277
5
The [form] Element 278
Form Controls
281
1
Input Fields
282
19
Text Boxes
282
2
Password Boxes
284
2
Radio Buttons
286
2
Check Boxes
288
2
Reset Buttons
290
3
Push Buttons
293
1
Submit Buttons
294
1
Image Submit Buttons
295
2
File Boxes
297
1
Hidden Form Fields
298
3
The [button] Element 299
Selection Lists
301
5
Menu Options
302
2
Option Groups
304
2
Multiline Text Fields
306
3
E-Mailing Form Data
309
2
Labels, Access Keys, and Field Sets
311
8
Labels
312
2
Access Keys
314
3
Field Sets
317
2
Chapter Summary
319
1
Review Questions
320
3
Hands-on Projects
323
7
Case Projects
330
3
CHAPTER EIGHT Cascading Style Sheets
333
60
Introduction to Styles and Properties
334
6
CSS Properties
335
2
Inline Styles
337
3
CSS Values
340
6
Length Units
341
4
Percentage Units
345
1
Color Units
346
1
CSS Structure
346
14
Internal Style Sheets
347
2
Contextual Selectors
349
2
Class Selectors
351
4
ID Selectors
355
1
External Style Sheets
356
4
The [div] and [span] Elements 358
Cascading Order
360
1
Setting Color and Background Properties
360
7
Foreground and Background Color
361
2
Background Images
363
3
The background Shorthand Property
366
1
Setting Text Properties
367
8
Word and Letter Spacing
368
1
Text Decorations
369
2
Line Height
371
1
Indenting
372
1
Text Alignment
373
2
Setting Font Properties
375
4
Font Name
375
2
Font Size
377
1
Font Appearance
378
1
The font Shorthand Property
378
1
Validating Style Sheets
379
2
Chapter Summary
381
1
Review Questions
382
2
Hands-on Projects
384
8
Case Projects
392
1
CHAPTER NINE Introduction to JavaScript
393
52
The JavaScript Programming Language
394
5
The [script] Element 395
Logic and Debugging
397
1
Adding Comments to a JavaScript Program
398
1
Understanding JavaScript Objects
399
9
Using the write ( ) and writeln ( ) Methods
401
3
Case Sensitivity in JavaScript
404
1
Built-In JavaScript Objects
405
3
Structuring JavaScript Code
408
6
Including a [script] Element for Each Code Section 408
Positioning Code Correctly Relative to Related HTML Code
409
1
Placing JavaScript in the Document Head or Document Body
410
1
Creating a JavaScript Source File
411
2
Hiding JavaScript Code
413
1
Working with Variables and Data Types
414
6
Variable Names
415
1
Declaring Variables
416
1
Modifying Variables
417
2
Data Types
419
1
Understanding Events
420
2
Elements and Events
421
1
Event Handlers
421
1
Working with Functions
422
7
Defining Functions
423
2
Calling Functions
425
4
Chapter Summary
429
1
Review Questions
430
3
Hands-on Projects
433
10
Case Projects
443
2
CHAPTER TEN More JavaScript
445
44
Basic Expressions and Operators
446
8
Using Operators with Strings
447
2
Performing Math Operations
449
3
Assigning Values to Variables
452
2
Logical Operators
454
2
Comparison and Conditional Operators
456
3
Decision Making with if Statements
459
12
if Statements
460
6
if ... else Statements
466
2
Nested if and if ... else Statements
468
3
Controlling Program Flow with switch Statements
471
4
Chapter Summary
475
1
Review Questions
476
2
Hands-on Projects
478
8
Case Projects
486
3
CHAPTER ELEVEN Dynamic HTML (DHTML)
489
50
Introduction
490
2
Document Object Model
492
4
Document Object Properties
493
1
Document Object Methods
494
2
The Image Object
496
6
Working with Timeouts and Intervals
499
1
Simple Animation with the Image Object
500
2
DHTML and Events
502
11
Mouse Events
502
8
Form Events
510
3
JavaScript and CSS
513
9
Modifying Styles with the this Reference
514
5
Modifying Styles with the getElementById ( ) Method
519
3
Chapter Summary
522
1
Review Questions
523
3
Hands-on Projects
526
11
Case Projects
537
2
CHAPTER TWELVE Multimedia and Executable Content
539
52
Introduction to Multimedia
540
6
MIME Types and Plug-Ins
541
2
Popular Multimedia Applications
543
1
Executing Streaming Multimedia
544
1
Copyright Issues
545
1
Animated GIFs
546
3
Multimedia XHTML Elements
549
5
The [object] Element 549
The [param] Element 553
Adding Sounds to a Web Page
554
9
Audio Formats
554
2
Which Sound Format Should You Use?
556
1
Playing Sounds on a Web Page
557
6
Adding Video to a Web Page
563
10
Video Formats
563
1
Which Video Format Should You Use?
564
1
Playing Video on a Web Page
564
9
Working with Java Applets
573
5
The [applet] Element 574
The [object] Element 577
Chapter Summary
578
1
Review Questions
579
2
Hands-on Projects
581
9
Case Projects
590
1
CHAPTER THIRTEEN Organizing and Defining XML
591
36
Organizing XML Elements with Namespaces
592
1
Namespaces and URIs
592
1
Default Namespaces
593
2
Explicit Namespaces
595
3
Defining Elements with DTDs
598
1
Internal DTDs
599
1
External DTDs
600
2
Validating XML Documents against DTDs
602
2
Declaring Elements in a DTD
604
1
Character Data Elements
605
1
Empty Elements
606
2
Element Sequences
608
2
Mixed Content Elements
610
1
Declaring Attributes in a DTD
611
1
Attribute Types
612
1
Attribute Defaults
613
3
Chapter Summary
616
1
Review Questions
617
2
Hands-on Projects
619
6
Case Projects
625
2
CHAPTER FOURTEEN Extensible Stylesheet Language (XSL)
627
 
Extensible Stylesheet Language (XSL)
628
5
The Parts of XSL
631
1
Extensible Markup Language (XML) Processors
632
1
XSL Transformations (XSLT)
633
5
XSLT Elements
634
1
XSLT Style Sheets
635
3
Working with Templates
638
9
Patterns
638
9
The [xsl: apply-templates] Element 644
Manipulating Transformed Data
647
13
Repetition
647
2
Decision Making
649
7
Sorting
656
4
Chapter Summary
660
1
Review Questions
661
2
Hands-on Projects
663
7
Case Projects
670
 
APPENDIX A XHTML 1.0 Reference
App 1
 
Strict DTD Elements
App 1
 
Transitional DTD Elements
App 3
 
Frameset DTD Elements
App 4
 
Standard Attributes
App 5
 
APPENDIX B Numeric Character References and Character Entities
App 7
 
APPENDIX C Language and Country Codes
App 19
 
Country Codes
App 21
 
APPENDIX D CSS Level 1
App 27
 
Color Units
App 30
 
APPENDIX E JavaScript Reference
App 33
 
Comment Types
App 33
 
Line Comments
App 33
 
Block Comments
App 33
 
JavaScript Reserved Words
App 33
 
Identifiers
App 34
 
Legal Identifiers
App 34
 
Illegal Identifiers
App 34
 
Built-In JavaScript Functions
App 34
 
Built-In JavaScript Objects
App 35
 
Events
App 35
 
JavaScript Events
App 35
 
HTML Elements and Associated JavaScript Events
App 36
 
Primitive Data Types
App 37
 
JavaScript Escape Sequences
App 37
 
Data Type Conversion Functions and Methods
App 38
 
Operators
App 38
 
JavaScript Operator Types
App 38
 
Arithmetic Binary Operators
App 39
 
Arithmetic Unary Operators
App 39
 
Assignment Operators
App 39
 
Comparison Operators
App 40
 
Logical Operators
App 40
 
Operator Precedence
App 41
 
Control Structures and Statements
App 41
 
Objects
App 43
 
Array Object
App 43
 
Date Object
App 44
 
Document Object
App 46
 
Form Object
App 47
 
History Object
App 47
 
Image Object
App 48
 
Location Object
App 48
 
Math Object
App 49
 
Navigator Object
App 50
 
Number Object
App 50
 
String Object
App 51
 
Window Object
App 52
 
APPENDIX F XSL Transformations (XSLT) Elements and Functions
App 55
 
XSLT Elements
App 55
 
XSLT Functions
App 56
 
INDEX
1