Sams teach yourself HTML and XHTML in 24 hours

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Sams Teach Yourself HTML and XHTML in 24 Hours is a carefully organized well-written tutorial that teaches the beginning Web page author just what he needs to know in order to get a Web page up in the shortest time possible.The book covers only those HTML and XHTML tags and technologies that are likely to be used on a beginner's Web page, and it is organized in a logical step-by-step order that reflects the natural progression in a new Web page author will follow in developing a Web site.

Author(s): Dick Oliver, Michael Morrison
Series: Sams Teach Yourself in 24 Hours
Edition: 6
Publisher: Sams
Year: 2003

Language: English
Pages: 496

Sams Teach Yourself HTML and XHTML in 24 Hours......Page 2
Copyright © 2003 by Sams Publishing......Page 3
Contents at a Glance......Page 4
Table of Contents......Page 6
About the Authors......Page 18
We Want to Hear from You!......Page 20
Beyond HTML......Page 22
How to Use This Book......Page 24
Special Highlighted Elements......Page 26
The 24-Hour HTML Café......Page 27
PART I Your First Web Page......Page 28
HOUR 1 Understanding HTML and XHTML......Page 30
What Is a Web Page?......Page 32
How Web Pages Work......Page 34
The Pieces and Parts of a Web Page......Page 36
The Many Faces of HTML......Page 37
The Scoop on HTML, XML, and XHTML......Page 40
Q&A......Page 42
Workshop......Page 43
HOUR 2 Create a Web Page Right Now......Page 46
Getting Started with a Simple Web Page......Page 48
HTML Tags Every Web Page Must Have......Page 50
Organizing a Page with Paragraphs and Line Breaks......Page 51
Calling Out Text with Headings......Page 54
Summary......Page 56
Q&A......Page 57
Workshop......Page 58
HOUR 3 Linking to Other Web Pages......Page 60
Linking to Another Web Page......Page 61
Linking Between Your Own Pages......Page 63
Addressing Web Pages......Page 65
Summary......Page 67
Q&A......Page 68
Workshop......Page 69
HOUR 4 Publishing Your HTML Pages......Page 72
Setting Up Web Space on the Internet......Page 73
Transferring Pages to a Web Server......Page 75
Other HTML Publishing Options......Page 86
Testing Your Web Pages......Page 88
Summary......Page 89
Q&A......Page 90
Workshop......Page 91
PART II Web Page Text......Page 94
HOUR 5 Basic Text Alignment and Formatting......Page 96
Aligning Text on a Page......Page 97
The Three Types of HTML Lists......Page 100
Placing Lists Within Lists......Page 102
Summary......Page 107
Workshop......Page 108
HOUR 6 Advanced Text Formatting......Page 112
Boldface, Italics, and Special Formatting......Page 113
Tweaking the Font Size and Color......Page 117
Selecting a Font Typeface......Page 118
Working with Special Characters......Page 120
Summary......Page 122
Q&A......Page 123
Workshop......Page 124
Linking Within a Page Using Anchors......Page 126
Linking to a Specific Part of Another Page......Page 130
Linking Your Email Address into a Page......Page 132
Q&A......Page 134
Workshop......Page 135
PART III Web Page Graphics......Page 138
HOUR 8 Creating Your Own Web Page Graphics......Page 140
Choosing Graphics Software......Page 141
The Least You Need to Know About Graphics......Page 142
Preparing Photographic Images......Page 143
Creating Banners and Buttons......Page 147
Reducing the Number of Colors in an Image......Page 150
Interlaced GIFs and Progressive JPEGs......Page 152
Creating Animated Web Graphics......Page 153
Assembling Images into an Animation......Page 154
Generating Transitions and Text Effects......Page 156
Q&A......Page 158
Workshop......Page 159
HOUR 9 Putting Graphics on a Web Page......Page 162
Placing an Image on a Web Page......Page 163
Describing an Image with Text......Page 165
Turning Images into Links......Page 166
Aligning Images......Page 167
Vertical Image Alignment......Page 168
Q&A......Page 171
Workshop......Page 172
HOUR 10 Custom Backgrounds and Colors......Page 174
Exploring Background and Text Colors......Page 175
Specifying Custom Colors......Page 177
Using Background Image Tiles......Page 178
Working with Transparent Images......Page 180
Creating Your Own Backgrounds......Page 182
Q&A......Page 184
Workshop......Page 185
HOUR 11 Graphical Links and Imagemaps......Page 188
Why Imagemaps Aren’t Always Necessary......Page 189
Mapping Regions Within an Image......Page 191
Creating Client-Side Imagemaps......Page 193
Q&A......Page 196
Workshop......Page 197
PART IV Web Page Design......Page 200
HOUR 12 Page Design and Layout......Page 202
The Essentials of Web Page Design......Page 203
Fine-Tuning Image Spacing and Borders......Page 204
The Old Background Banner Trick......Page 208
Specifying Image Width and Height......Page 211
Summary......Page 212
Workshop......Page 213
HOUR 13 Advanced Layout with Tables......Page 216
Creating a Simple Table......Page 217
Controlling the Size of Tables......Page 219
Alignment and Spanning Within Tables......Page 220
Table Backgrounds and Spacing......Page 222
Creative Page Layout with Tables......Page 223
Summary......Page 225
Q&A......Page 226
Workshop......Page 227
HOUR 14 Formatting Pages with Style Sheets......Page 230
A Basic Style Sheet......Page 231
Understanding CSS......Page 236
A CSS Style Primer......Page 237
Using Style Classes......Page 242
Specifying Inline Styles......Page 243
Summary......Page 244
Workshop......Page 245
HOUR 15 Making the Most of Style Sheets......Page 248
The Whole Scoop on Positioning......Page 249
Controlling the Way Things Stack Up......Page 253
Working with Margins......Page 255
A Little Padding for Safety......Page 257
Keeping Everything Aligned......Page 258
Managing the Flow of Text......Page 259
Summary......Page 260
Q&A......Page 261
Workshop......Page 262
HOUR 16 Multi-Page Layout with Frames......Page 264
What Are Frames?......Page 265
Building a Frameset......Page 266
Linking Between Frames and Windows......Page 269
Nested Frames......Page 271
Controlling Frame Margins, Borders, and Scrolling......Page 272
Summary......Page 276
Q&A......Page 277
Workshop......Page 278
PART V Dynamic Web Pages......Page 280
HOUR 17 Web Page Scripting for Non-Programmers......Page 282
Jazzing Things Up with Interactive Highlighting......Page 283
Preloading Images for Speed......Page 287
Creating an Animated Banner Ad......Page 288
Q&A......Page 292
Workshop......Page 293
HOUR 18 Setting Pages in Motion with Dynamic HTML......Page 296
Learning How to Fly......Page 297
Dividing a Web Page into Layers......Page 300
Offering Alternate Content in Plain HTML......Page 301
Being Compatible with Incompatible Browsers......Page 303
Moving a Layer Around with JavaScript......Page 306
Interactive Layer Animation......Page 308
Summary......Page 311
Q&A......Page 312
Workshop......Page 313
HOUR 19 Gathering Information with HTML Forms......Page 316
How HTML Forms Work......Page 317
Creating a Form......Page 318
Accepting Text Input......Page 321
Identifying Each Piece of Form Data......Page 322
Exploring Form Input Controls......Page 323
Submit!......Page 326
Creating an Online Order Form......Page 328
Summary......Page 332
Workshop......Page 334
HOUR 20 Embedding Multimedia in Web Pages......Page 336
Multimedia the Old-Fashioned Way......Page 338
Embedding Sound in a Web Page......Page 339
Embedding Video in a Web Page......Page 342
Multimedia the New Way......Page 343
Summary......Page 346
Workshop......Page 347
PART VI Building a Web Site......Page 350
HOUR 21 Organizing and Managing a Web Site......Page 352
When One Page Is Enough......Page 353
Organizing a Simple Site......Page 355
Organizing a Larger Site......Page 357
Including Comments in a Page......Page 360
Q&A......Page 362
Workshop......Page 363
HOUR 22 Helping People Find Your Web Pages......Page 366
Publicizing Your Web Site......Page 367
Listing Your Pages with the Major Search Sites......Page 368
Providing Hints for Search Engines......Page 370
Loading Another Page Automatically......Page 377
Documenting the Full Address of a Page......Page 379
Q&A......Page 381
Workshop......Page 382
Introducing XML......Page 384
XML Meets HTML......Page 386
XML and Web Browsers......Page 387
Inside the XML Language......Page 388
Creating an XML Document......Page 391
Styling an XML Document......Page 394
Q&A......Page 396
Workshop......Page 397
HOUR 24 Planning for the Future of HTML......Page 398
HTML Beyond the Web......Page 399
HTML as the New User Interface......Page 400
The Digital Media Revolution......Page 401
XHTML, the New HTML......Page 402
HTML Applications of the Future......Page 405
Preparing Yourself for Tomorrow......Page 406
Q&A......Page 408
Workshop......Page 409
PART VII Appendixes......Page 410
APPENDIXA Readers’ Most Frequently Asked Questions......Page 412
The 24 Top Questions from Readers of Sams Teach Yourself HTML in 24 Hours......Page 413
General HTML and XHTML Information......Page 418
Software......Page 419
Multimedia and Virtual Reality......Page 420
Advanced Developer Resources......Page 421
Web Site Services......Page 422
Free Web Site Hosting......Page 423
APPENDIX C Complete HTML 4 and XHTML 1 Quick Reference......Page 424
Structure......Page 426
Text Phrases and Paragraphs......Page 431
Text Formatting Elements......Page 437
Lists......Page 440
Links......Page 443
Tables......Page 445
Frames......Page 451
Embedded Content......Page 454
Forms......Page 458
Scripts......Page 464
Differences Between XHTML 1 and HTML 4......Page 468
XHTML and Document Validity......Page 469
Declaring XHTML Namespaces......Page 470
Converting HTML Documents to XHTML......Page 471
INDEX......Page 472