search for books and compare prices
Tables of Contents for Even More Excellent Html
Chapter/Section Title
Page #
Page Count
Preface
An HTML Overview
1
26
What Is HTML?
2
1
What's in a Name?
2
3
Browsers
5
4
Graphical Browsers
7
1
Text-Only Browsers
8
1
Nonvisual Browsers
9
1
What Is a URL?
9
3
Protocol
10
1
Domain
11
1
Path and Filename
12
1
HTML Terminology
12
2
Tags and Containers
12
1
Attributes
13
1
HTML Code Format
14
1
World Wide Web Consortium (W3C)
14
2
Necessary Tools
16
2
ASCII Editor
16
1
Browser
16
1
Internet Service Provider (ISP)
17
1
Nice-to-Have Tools
18
4
HTML Editor
18
2
Text-to-HTML Converter
20
1
HTML Validator
21
1
JavaScript Editor
21
1
XML Editor
22
1
Places to Get Neat Stuff on the Net
22
3
Where to Get Browsers
22
1
Where to Get HTML Editors
23
1
Where to Get Text-to-HTML Converters
23
1
Where to Get HTML Validators
24
1
Where to Get XML Editors
24
1
Shareware Sites
24
1
Search Sites
24
1
Organizations Promoting Internet Usage
25
2
Your First Web Page
27
28
Elements of a Web Page
28
8
Creating an HTML Template
28
1
<html>HTML Document</html>
29
1
dir
29
1
lang
29
2
version
31
1
<!DOCTYPE>
31
1
<head>Header Data</head>
32
1
profile
32
1
<title>Descriptive Title</title>
32
2
<body>Majority of Document</body>
34
1
Styles
34
1
Intrinsic Events
35
1
XHTML Structure Module
36
1
Common Coding Errors
36
1
More Web Page Elements
37
5
<!--Comment-->
38
1
<h1>Heading</h1><h2><h3></h3><h4></h4><h5></h5><h6></h6>
39
1
<p>Paragraph</p>
40
2
Editing an HTML Document
42
1
Commonly Used Empty Tags
42
2
<br/>
43
1
<hr/>
43
1
Body Tag Attributes
44
5
bgcolor
44
1
background
45
3
text
48
1
alink, link, and vlink
48
1
A Few Considerations
49
6
Linking: Let's Get Hyper
55
26
Why Is Hypertext Hyper?
56
1
Storyboarding Page Links
56
7
Sequential and Indexed-Sequential Designs
56
1
Hierarchical Design
57
1
Custom Design
57
2
Source Anchors
59
2
href
61
1
rel and rev
61
1
Targets
62
1
Paths to Files
63
3
Absolute Path Names
63
1
Relative Path Names
64
1
Absolute versus Relative Path Names
65
1
Intersystem Source Anchors
66
2
Linking Considerations
66
1
Domain Name or IP Address?
66
1
Sample Intersystem URLs
67
1
Intrapage Targets
68
2
name
68
1
id
68
2
name or id?
70
1
Intrapage Source Anchors
70
1
URLs with Intrapage Targets
71
1
Anchor Placement
71
1
Intrasystem Source Anchors
72
1
One-Way Streets
72
2
Links Back Using Intrapage Target
73
1
Links Back Using Intrasystem Target
73
1
The ``Click Here'' Faux Pas
74
1
Mailto: Protocol
75
1
Page Footers
75
2
Server-Side Includes
77
4
Lists: Bringing Order out of Chaos
81
28
Plain-Text Lists
82
1
List-Making Tags
82
1
Ordered and Unordered Lists
82
9
<ol>Ordered List</ol>
83
1
start
84
1
type
85
1
style
86
2
<li>List Item</li>
88
1
Blocked and Inline Elements
88
1
type
88
1
style
89
1
value
89
2
HTML-Compliant Code
91
6
<ul>Unordered List</ul>
92
1
type or style
93
1
list-style-position: outside/inside
94
3
Lists of Lists: Nesting
97
3
Combining Ordered and Unordered Lists
97
1
Nesting Unordered Lists
97
1
Nesting Ordered Lists
97
3
Readability
100
1
Lists of Definitions
100
3
<dl>Definition List</dl>
101
1
<dt>Definition Term</dt>
102
1
<dd>Definition Definition</dd>
102
1
XHTML List Module
103
1
Deprecated List Forms: Menus and Directories
103
6
<menu>Menu List</menu>
103
1
<dir>Directory List</dir>
104
5
Formatting: Is What You See What You Get?
109
28
Glyphs and Fonts
110
1
Document-Wide Style Changes
111
9
<style>Document Style Changes</style>
111
2
type
113
1
Formatting List Items
113
1
Formatting Different Tags Simultaneously
114
1
<--Comment Lines-->
115
1
Font Changes
116
4
Inline Styles
120
10
Physical Styles
120
2
XHTML Presentation Module
122
1
Logical Styles
122
1
<address>Address</address>
123
1
<strong>Strongly Emphasized Text</strong>
123
1
<em>Emphasized Text</em>
124
1
<abbr>Abbreviation</abbr>
124
1
<acronym>Acronym</acronym>
124
1
<dfn>Definitionlt;/dfn>
124
1
lt;var>Variable Valueslt;/var>
124
1
lt;samp>Outputlt;/samp>
124
1
lt;cite>Citationlt;/cite>
125
1
lt;blockquote>Block Quotelt;/blockquote>
125
1
lt;q>Quotelt;/q>
126
1
lt;ins>Insertlt;/ins>andlt;del>Deletelt;/del>
126
1
XHTML Text Module
127
1
Special Characters
128
2
Turning Off Formatting
130
2
<pre>Preformatted Text</pre>
130
2
Deprecated Font-Handling Techniques
132
1
<font>Font of Text</font>
132
1
color
132
1
size
132
1
face
133
1
Final Comment
133
4
Images: A Picture Is Worth a Thousand Words
137
32
Images and Multimedia
138
1
Image Formats
138
2
GIF
138
1
JPEG
139
1
PNG
139
1
SVG
139
1
PDF
140
1
TIFF
140
1
BMP
140
1
Choosing an Image Format
140
1
Image Sizes
140
1
Bits per Bixel (BPP)
141
1
Graphics Tips
142
2
<img>
144
9
src
144
2
alt
146
1
longdesc
147
1
height and width
148
2
Horizontal Alignment
150
2
Vertical Alignment
152
1
Line Breaks
153
1
clear
153
1
Centering Images
154
2
<center>Centering Objects</center>
154
1
Centering a Paragraph
155
1
Image Borders
156
2
border-style: dotted | dashed | solid | double | groove | ride | inset | outset | hidden | none
156
1
border-width: thin | medium | thick | absolute | inherit
156
1
border-color: color# | transparent | inherit
157
1
Image Margins
158
2
margin: margin-width | insert
158
1
vspace and hspace
158
2
Images as Bullets
160
1
list-style-image: url | none | inherit
161
1
Definition List
161
1
Image Links
161
2
Two HTML Coding Tricks
163
1
lowsrc
163
1
<nobr>No Line Break</nobr>
164
1
To Image or Not to Image
164
5
Tables: Data in Rows and Columns
169
38
What's in a Table?
170
1
Table Containers
171
7
<table>Table</table>
171
1
border
172
1
rules
173
1
frame
174
2
width
176
1
Table Background Color
177
1
summary
178
1
Changing Standards
178
3
style
178
3
Controlling White Space
181
2
Table Margins
182
1
Cell Spacing
182
1
Cell Padding
182
1
Table Text Alignment
183
3
<tr>Table Row</tr>
184
1
align
184
1
valign
184
1
char
185
1
charoff
186
1
Table Data and Headers
186
7
<td>Table Data</td>
186
1
<th>Table Header</th>
186
1
align
187
1
bgcolor
188
1
valign
188
1
colspan
188
1
rowspan
188
2
abbr
190
1
headers
190
1
scope
191
1
axis
191
1
style
191
2
Table Captions
193
2
<caption>Caption</caption>
193
2
Caption Alignment
195
1
Table Columns
195
4
<colgroup>Column Group</colgroup>
195
1
span
196
1
<col/>
197
1
width
198
1
valign
199
1
Scrolling Big Tables
199
2
<thead>Table Header</thead>
199
1
<tfoot>Table Footer</tfoot>
200
1
<tbody>Table Body</tbody>
201
1
XHTML Table Module
201
6
Style: Some Have It and Some Don't
207
34
What Is a Cascading Style Sheet?
208
1
Why Use External Style Sheets?
208
1
Applying External Style Sheets
209
3
<link>
210
2
rel, href, and type
212
1
Classes of Styles
212
3
class
213
1
Inheritance
214
1
Generic and Tag-Level Classes
214
1
Style-Sheet Elements to Divide and Span
215
4
<div>Divide Document</div>
215
3
<span>Span Area</span>
218
1
Common Style Properties
219
5
Text Manipulation and Alignment
219
2
background: color | image repeat | attachment | position
221
3
Changing Link Colors
224
1
Box Definitions
224
9
width: [absolute] | [percentage] | auto | inherit
225
1
height: [absolute] | [percentage] | auto | inherit
226
1
visibility: visible | hidden | collapse | inherit
226
1
margin: top | right | bottom | left
226
1
white-space: normal | pre | nowrap | inherit
227
1
border: width | style | color
228
2
padding: top | right | bottom | left
230
2
float: left | right | none | inherit
232
1
clear: none | left | right | both | inherit
232
1
Media Types
233
1
Paged Media
233
3
page-break-before: auto | always | avoid | left | right | inherit
233
1
page-break-after: auto | always | avoid | left | right | inherit
234
1
page-break-inside: auto | avoid | inherit
234
1
size: [length-width] | [length-height] | auto | portrait | landscape | inherit
235
1
Orphans and Widows
235
1
Crop and Cross Marks
236
1
Printer-Friendly Web Pages
236
1
Conclusions
237
4
Multimedia: Watch Your Inclusions
241
26
Using Multimedia
242
10
Inserting Object with href
242
1
<applet>Java Applet</applet>
243
2
<object>Insert Object</object>
245
1
classid and data
245
1
codetype and type
245
1
Embedding Other HTML Documents
246
1
standby and declare
247
1
Nesting Objects
247
2
<param>
249
1
name and value
250
1
value type
251
1
code base
251
1
XHTML Object Module
252
1
When to Use Code Augmentation
252
1
Adding Sound
253
1
Types of Sound Files
253
4
μ-Law (Mu-Law) Files
254
1
RIFF WAVE Files
255
1
AIFF and AIFC Files
256
1
MPEG Audio
256
1
MIDI Files
256
1
Other Formats
256
1
Choosing Formats
257
1
Aural Style Sheets
257
4
Aural Properties
258
1
speak: normal | non | spell-out | inherit
258
1
volume: [number] | [percentage] | silent | x-soft through x-loud | inherit
258
2
cue: cue-before | cue-after | inherit
260
1
pause: [time] | [percentage] | inherit
260
1
Sound Orientation
261
1
Ethical Questions
261
1
Adding Video
261
2
MPEG Video
262
1
QuickTime
262
1
AVI
263
1
Streaming Audio/Video
263
1
To Link or to Copy?
264
3
Frames: Divide and Conquer
267
30
Considerations When Using Frames
268
1
Frame Navigation
269
2
Formatting Frames
271
18
Frameset Document Type Definition
271
1
<frameset>Frame Setting</frameset>
271
1
rows and cols
272
1
onload and onunload
272
1
Nested<frameset>Containers
272
4
<frame />
276
1
src
276
1
name
276
3
id
279
1
scrolling
279
1
noresize
280
1
marginheight and marginwidth
280
1
title and longdesc
280
1
frameborder
281
1
<noframes>No Frames</noframes>
282
1
target
283
2
<base/>
285
1
Special Targets
285
2
<iframe>Inline Frame</iframe>
287
2
Alternatives to Frames
289
2
Final Comments
291
6
Forms and Forms Processing
297
48
Form and Function
298
1
Handling Electronic Mail
299
2
Designing Forms
301
21
<form>Contents of the Form</form>
301
1
action
301
1
method
302
3
enctype
305
1
target
305
1
style
306
1
name (for <form>)
307
1
title
307
1
Intrinsic Events
307
1
<input />
307
1
name (for <input />
308
1
type
309
1
type=``text''
309
1
size
310
1
maxlength
311
1
value
311
1
type=``password''
312
1
type=``file''
312
1
type=``checkbox''
313
2
checked (for checkbox)
315
1
type = ``radio''
315
2
checked (for radio button)
317
2
type=``reset''
319
1
type=``submit''
320
1
Multiple Submit Controls
321
1
type=``button''
321
1
Graphical Buttons
322
6
type=``image''
323
1
Hidden Data Fields
324
1
type=``hidden''
324
1
<button>Button Text and/or Images</button>
324
1
disabled
325
1
tabindex
325
1
Intrinsic Events
325
1
<textarea>Optional Text String</textarea>
325
1
rows and columns
326
1
wrap
327
1
wrap=``virtual''
327
1
wrap=``physical''
327
1
wrap=``off''
327
1
Drop-Down List Boxes
328
8
<select>Set of <option> Elements </option> </select>
328
2
size
330
1
multiple
330
1
disabled
331
1
<option>Option Text</option>
332
1
value
332
1
selected
333
1
<optgroup>Collection of <option></option>s</optgroup>
333
1
label
334
1
<fieldset>[<legend>]<input>[s]</fieldset
334
1
<legend>Text</legend>
334
1
accesskey
335
1
<label>Text</label>
336
1
for
336
1
XHTML Form Module
336
1
Processing Data Automagically (CGI)
336
2
How CGI Works
338
7
CGI, Metatags, and Other Tricks of the Trade
345
28
Processing Data Automagically
345
1
How CGI Works
345
9
Updating Database with CGI
347
2
Searchable Documents
349
1
<isindex/>
349
1
Data Entry Using <input> Element
349
1
Calling Document
350
1
Search Request Page
350
1
Success Page
351
1
Miss Page
352
1
The Data File
353
1
<base/>
354
1
href
355
1
target
355
1
Creating New Tags
355
8
<meta />
356
1
http-equiv
356
5
Guidelines for Using Refresh
361
1
name
362
1
Other Common Name Values
363
1
scheme
363
1
Multicolumn Pages
363
2
Headlines
365
1
Sidebars
366
1
Pseudo-Elements and Pseudo-Class
366
7
JavaScript Programs for Your Pages
373
36
What Is JavaScript?
374
1
Misconceptions About JavaScript
374
2
JavaScript Is Not Java ``Lite''
374
1
JavaScript Is Not a Wimpy Little Pseudo-Language
374
1
What JavaScript Can't Do
374
1
What JavaScript Can Do
375
1
Introducing JavaScript
376
2
<script>Script(s)</script>
377
1
src
377
1
type
377
1
<meta />
377
1
defer
378
1
language
378
1
The Hello( ) Function
378
1
Invoking Functions
379
1
Basic Programming Structures
380
3
Sequence of Statements
381
1
Selection of Code
381
1
Testing for JavaScript
381
2
Iteration of Statements
383
1
Object-Oriented Concepts in JavaScript
383
3
Date Object
386
2
Intrinsic Events
388
1
Document Object
389
2
Window Object
391
12
Status Bar
391
1
Dialog Boxes
392
3
New Windows
395
3
onload and onunload
398
1
Navigator Object
398
5
Another Interesting Bit
403
2
Things JavaScript Should Not Be Forced to Do
405
4
Dynamic HTML: Charismatic Pages
409
28
Image Maps
410
10
Server-Side Image Maps
410
1
Client-Side Image Maps
411
1
Image Coordinates for Hot Spots
411
1
usemap
411
2
<map>Contents of Image Map</map>
413
1
title
414
1
alt versus title
414
1
<area />
414
1
alt
414
1
shape
415
1
coords
415
1
href
415
1
nohref
416
1
HTML 4 Considerations
416
1
Making It Easy
416
1
Other Considerations
416
1
Simply Rollovers
417
3
Professional Rollovers
420
1
Color-Changing on the Fly
421
3
Color Preferences
421
1
Keeping Forms HTML-Compliant
421
2
Invoking the Script
423
1
A Little Fancier Color-Changing
424
2
How the Cookie Crumbles
426
11
Deleting Cookies
426
1
A Note on Testing
427
1
Checking for Cookies
427
1
Prompt Box to Input Name
428
2
Global Variables
430
1
Setting Cookie's Value
430
1
Checking to See If Cookie Exists
431
1
Leftover Legacy Code
431
1
Checking Cookie's Identity
431
1
Using Cookie Data
432
1
Using Cookies Appropriately
433
4
XML: The Next Best Thing
437
18
What Is XML, Anyway?
438
1
The Language of XML
438
1
DTD Up Close and Personal
439
1
The Reason for XML
440
1
DTD Models
441
1
XML/EDI Model
441
1
OFX Model
441
1
GedML Model
441
1
Database Models
441
1
DocBook Model
441
1
Relationship between XML and XHTML
442
1
XML Is More Than a Markup Language
443
2
Building HTML from XML
445
3
Creating PDF Output from XML
448
1
What's Next?
449
1
XML and Databases
450
5
Pragmatic Hypertext: It Ain't All Pictures!
455
20
Common Misconceptions
456
1
Text
456
1
Literature
457
2
Basic Text
457
1
Text and Illustrations
458
1
Hyperlinked Text
459
1
Corporate/Government Documentation
459
1
Electronic Books (Ebooks)
460
1
Web-Based Reference Manuals
461
2
Online Help
463
1
Online Education (Distance Learning)
464
1
The Wireless Web
465
2
WAP (Wireless Application Protocol)
466
1
Wireless Internet
467
1
Knowledge Is Power
467
1
Wireless Data
467
1
Aural Data
468
1
Web Site versus Web Page
468
1
Migrating from Text to Hypertext
469
3
Optical Scanning
470
1
Text Converters
470
1
Aural Browsing
470
1
International Considerations
471
1
Online Text Sites
472
3
Appendix A: A Style Manual
475
10
Appendix B: File Transfer Protocol
485
12
Appendix C: History of the Internet
497
6
Glossary
503
24
Index
527