search for books and compare prices
Tables of Contents for How to Do Everything With Html & Xhtml
Chapter/Section Title
Page #
Page Count
Acknowledgments
xv
 
Introduction
xvii
 
PART I HTML Basics: Everything You Need to Build a Web Site
Get Your Feet Wet with HTML
3
12
Understand HTML
4
7
Markup 101: Four Key Concepts
5
2
Project 1: Create and Display a Home Page
7
1
Create a Home Page in Notepad
7
3
View Your Page in a Web Browser
10
1
Convert Text to HTML
11
2
Import Text into an HTML Page
11
1
Convert a Page of Text to HTML
12
1
Add Comments to Your HTML Document
13
1
Quick Reference: Creating HTML Documents
14
1
Work with Text and Lists
15
24
Designate Headings with <h#> </h#>
16
1
Use Text Elements to Describe Text
17
6
Identify Text with Text Elements
17
3
Add Superscripts and Subscripts with <sup> and <sub>
20
1
Identify Deleted and Inserted Text with <del> and <ins>
21
1
Retain Text Formatting with <pre>
22
1
Organize Your Content with Lists
23
10
Create Unordered Lists with <ul> and <li>
23
3
Project 2: Create a Multilevel List
26
2
Create Ordered Lists with <ol> and <li>
28
2
Project 3: Create an Outline with <ol>
30
1
Create Definition Lists with <dl>, <dt>, and <dd>
31
2
Insert Special Characters on Your Page
33
2
Understand Entities
33
1
Insert an Entity in a Web Page
34
1
Quick Reference: Text, Lists, and Entities
35
4
Work with Text
35
1
Create Lists
35
1
Insert Entities
36
3
Modify Text with Text Elements and CSS
39
22
Control Text Flow with Text Elements
40
5
Create Line Breaks with <br/> and Paragraphs with <p>
40
1
Insert Ruler Lines with <hr/>
41
1
Identify Quotations with <q> and <blockquote>
41
2
Project 4: Use Text Elements to Format Content
43
2
Understand Content Versus Presentation
45
1
HTML Originally Defined Structure
45
1
HTML Extended to Address Presentation Issues
45
1
Use Cascading Style Sheets for Layout and Design
45
10
Add Inline Styles with the style Attribute
46
2
Control Fonts with CSS
48
4
Project 5: Add Style to a Page
52
1
Indent Text with CSS
53
1
Position and Align Text with CSS
54
1
Understand XML and XHTML
55
2
XML Is Extensible
55
1
XML Is a ``Meta'' Language
56
1
XHTML: The Bridge between HTML and XML
56
1
Check Your Markup
57
2
HTML for Project 4
57
1
HTML for Project 5
58
1
Quick Reference: Paragraphs and Fonts
59
2
Introduce and Control Color
61
20
Understand and Experiment with Color
62
6
Experiment with the Basic Palette
62
1
Mix Your Own Colors
63
5
Use Cascading Style Sheets to Specify Color
68
5
Set Page Colors with the Color Property
69
4
Setting Colors with HTML
73
3
Specify Background Color with the bgcolor Attribute (Deprecated)
73
1
Set Text Colors with the text Attribute (Deprecated)
74
1
Set Text Colors with <basefont/> (Deprecated)
74
1
Set Link Colors with link, vlink, and alink (Deprecated)
74
2
Understand Appealing Use of Color
76
3
Project 6: Create a Color Chart
77
2
Quick Reference: Applying Color
79
2
All About Links
81
20
Understand Hypertext and Links
82
3
Understand URLs
82
2
Link to Another Web Site with the Anchor Element <a></a>
84
1
Help People Navigate Your Site with Internal Links
85
5
Link to Pages on Your Own Site
85
2
Link to Precise Spots on a Page
87
3
Open Links in a New Window
90
1
Use Special Types of Links
90
2
Use mailto: to Create E-mail Links
90
1
Use ftp:// to Link to Download Sites
91
1
Link to Usenet Newsgroups with news:
91
1
Dress Up Your Links
92
5
Give Link Details with the title Attribute
92
1
Modify Link Appearance with CSS
93
1
Modify Link Appearance with Text Elements (Discouraged)
94
1
Project 7: Link Your Pages
95
1
Select the Files You Want to Link
95
1
Write the HTML to Link Your Pages
96
1
Quick Reference: Hyperlinks and Projects
97
4
Create Hyperlinks
97
1
Code for Project 7
98
3
Enhance Your Presentation with Graphics
101
18
Understand Web Graphics
102
3
Learn the Differences in Graphics Formats
102
1
Learn Key Terms
103
2
Obtain Graphics for Use on Your Site
105
3
Capture Images from the Web
105
1
Find Royalty-Free Clip Art
106
1
Use Pictures from Your Digital Camera
107
1
Create Your Own Graphics with an Image Editor
107
1
Insert Graphics on Your Page
108
5
Project 8: Embed an Image with <img/>
108
1
Specify Graphic Size with the height and width Attributes
109
1
Wrap Text and Align Images with align (Deprecated)
110
1
Add White Space with hspace and vspace (Deprecated)
111
1
Add a Border with the border Attribute (Deprecated)
112
1
Practical Uses for Images
113
1
Use an Image as a Link
113
1
Insert a Background Image with background (Deprecated)
114
1
Create a Watermark Effect with bgproperties (Deprecated)
114
1
Use Cascading Style Sheets with Graphics
114
4
Project 9: Add a Watermark with CSS
114
3
Project 10: Place a Decorative Border Around an Image
117
1
Quick Reference: Adding Images
118
1
Enter the World of XHTML
119
26
Understand XHTML
120
7
XML Means Extensibility
120
1
Sort Out XHTML's Relationship to HTML and XML
121
3
Project 11: Create and Validate an XHTML Document
124
3
Plan Your Site Effectively
127
7
Identify Your Site's Purpose
128
1
Identify Your Target Audience
128
1
Storyboard Your Site
129
1
Gather Your Content
130
1
Develop Your Web Site
131
3
Publish Your Site
134
4
Find a Host
134
1
Register a Domain Name
135
2
Upload Your Site
137
1
Promote Your Site
138
4
Design Your Pages with Strategic Keywords
138
1
Submit Your Site to Search Engines and Directories
139
2
Promote Your Site Online and Offline
141
1
Quick Reference: XHTML Documents
142
3
PART II Structuring Your Site
Organize Data with Tables
145
34
Understand the Table Controversy
146
1
The Origins of the Table Controversy
146
1
The Accessibility Issue
147
1
The Browser Support Issue
147
1
Create a Simple Table
147
1
Modify a Table's Appearance
148
25
Add Headings and Captions
148
1
Display a Border
149
1
Position Your Content
150
2
Add Background Colors
152
3
Adjust Space In and Between Cells
155
2
Make Cells Span Multiple Columns and Rows
157
2
Adjust Height and Width
159
1
Position Tables on a Page
160
3
Modify Borders and Cell Divisions
163
2
Add Images and Links
165
3
Miscellaneous Table Features
168
3
Project 12: Create a Table-Based Web Page Layout
171
2
Quick Reference: Tables
173
6
Create and Use Tables
174
1
Code for Project 12
175
4
Create Framesets and Frames Pages
179
22
Understand Frames
180
10
Frames Allow for Multiple Page Display
180
2
Understand Frame Elements and Attributes
182
3
Project 13: Create a Simple Frameset
185
1
Build Your Display Documents
185
1
Construct a Frameset
186
4
Modify Your Frames
190
10
Use Attributes with the <frameset> Element
190
1
Use Attributes with the <frame/> Element
191
2
Address Noncompatible Browsers with <noframes>
193
1
Project 14: Create an Inline Frame
194
2
Project 15: Create a Frame-Based Web Site
196
4
Quick Reference: Creating Frame-Based Pages
200
1
Control Presentation with Style Sheets
201
38
Understand CSS
202
11
HTML and the Problem of Style
202
1
Understand the Idea of Style Sheets
203
1
Understand CSS Terminology
203
1
Learn Style Sheet Types
204
2
Understand the Cascade
206
1
Project 16: Create and Use Style Sheets
206
2
Apply an Inline Style Sheet
208
1
Add an Embedded Style Sheet
209
1
Create and Link to an External Style Sheet
210
3
Understand CSS Basics
213
5
Apply Style with Selectors
214
2
Understand CSS Measurement Units
216
1
Understand <div>, <span>, and Inheritance
217
1
Understand and Use CSS Properties
218
21
Use Font Properties for Controlling Font Display
218
3
Apply Text Properties for Spacing and Alignment
221
2
Use Color and Background Properties
223
2
Control Margins, Padding, and Borders with Box Properties
225
5
Project 17: Create a Layout with CSS
230
1
Copy the XHTML Code
230
2
Write the Style Sheet
232
7
PART III Bells and Whistles to Adorn Your Site
Add Multimedia and other Objects
239
18
Understand Formats and Delivery Methods
240
3
Compare Audio Formats
240
1
Compare Video Formats
241
1
Understand Delivery Methods
242
1
Find Multimedia Files
243
1
Link to Audio or Video Files
244
1
Embed Sound in Your Page
245
9
Embed Files with <object>
245
2
Add Background Sound with <bgsound/> (Internet Explorer Only)
247
1
Use <embed> for Inline Sounds (Netscape Extension)
248
3
Project 18: Embed Video in Web Pages
251
1
Add Video with the dynsrc Attribute (Internet Exporer Only)
251
2
Add Video with <object>
253
1
Add Video with <embed>
254
1
Add Streaming Audio and Video
254
2
Quick Reference: Audio and Video
256
1
Make Your Pages Come Alive with Animation
257
22
Create and Use GIF Animation
258
11
Understand GIF Animation Tools
258
1
Create Frames for an Animated Banner
259
2
Create a GIF Animation
261
4
Optimize Your GIF Animation
265
4
Additional Animation Options
269
7
Project 19: Add a Java Applet
269
3
Create a Scrolling Marquee (Discouraged)
272
2
Create Blinking Text (Discouraged)
274
1
Use Downloadable GIF Animations
275
1
Understand Flash and Shockwave Animation
276
1
Principles for Using Animation
276
1
Quick Reference: Adding Animation
277
2
All About Image Maps
279
20
Understand Image Maps
280
11
Understand Image-Mapping Terms
280
1
Understand Image Map Elements
281
1
Understand Image Map Attributes
281
1
Project 20: Create a Client-Side Image Map
282
1
Choose an Image
283
1
Find the Coordinates
284
2
Plot Coordinates
286
4
Complete the Image Map
290
1
Understand Image-Mapping Software
291
1
Use Image-Mapping Software for Complex Tasks
292
3
Understand the Sliced Image Alternative
295
1
Quick Reference: Image Maps
296
3
Add Interactivity with Forms
299
28
Understand Form Elements
300
17
Project 21: Create a Simple Guestbook Form
300
2
Use Tables to Add Structure to Your Form
302
1
Add Controls to Your Guestbook Form
303
3
Project 22: Create a Visitor Survey
306
1
Plan Your Survey
306
1
Build Your Survey
307
7
Use Special Form Controls
314
3
Make Your Form Work with CGI
317
5
Understand CGI
317
1
Consider Alternative Form Processing
317
1
Understand CGI Form Processing
318
4
Quick Reference: Forms
322
5
Code for Project 22
323
4
Improve Interactivity with JavaScript
327
22
Understand Web Page Scripting
328
7
Scripts Speed Information Processing
329
1
Scripts Add Interactivity
329
1
Scripts Can Give HTML a Boost
330
1
Scripts Have Their Disadvantages
331
1
Project 23: Work with JavaScript
332
1
Add a Script to a Web Page
332
1
Link to an External Script
333
2
Understand Key JavaScript Concepts
335
9
Avoid Common Errors in Coding
335
2
Project 24: Experiment with JavaScript
337
1
Write a ``Last Modified'' Script
337
2
Write a Script that Identifies Browsers
339
3
Write a Script that Displays the Current Date
342
2
Work with Events and Event Handlers
344
3
Experiment with Event Handlers
345
2
Quick Reference: Scripting with JavaScript
347
2
Understand the Future of XHTML
349
16
Understand XHTML Modularization
350
7
Understand XHTML 1.0
350
1
Understand XHTML 1.1
350
3
Project 25: Create a Page with XML
353
1
Create a Document Type Description (DTD)
353
1
Add an XML Declaration
354
1
Add a Document Type Declaration
355
2
Create a Style Sheet for Your XML Page
357
6
Design Your Style Sheet
357
5
Link to Your Style Sheet
362
1
Write XHTML Standards-Compliant Pages
363
2
Index
365