Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day 1465161937, 9780672330964, 0672330962

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day, Sixth Edition is a new edition of the best-selli

526 86 11MB

English Pages 735 [764] Year 2010

Report DMCA / Copyright

DOWNLOAD FILE

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
 1465161937, 9780672330964, 0672330962

Table of contents :
Cover......Page 1
Table of Contents......Page 5
Introduction......Page 26
What This Book Contains......Page 27
What You Need Before You Start......Page 28
Special Elements......Page 29
Workshop......Page 30
Lesson 1: Navigating the World Wide Web......Page 32
How the World Wide Web Works......Page 33
Web Browsers......Page 40
Web Servers......Page 44
Uniform Resource Locators......Page 45
Workshop......Page 46
Lesson 2: Preparing to Publish on the Web......Page 50
Anatomy of a Website......Page 51
What Do You Want to Do on the Web?......Page 53
Setting Your Goals......Page 55
Breaking Up Your Content Into Main Topics......Page 56
Ideas for Organization and Navigation......Page 57
Storyboarding Your Website......Page 67
Web Hosting......Page 69
Summary......Page 71
Workshop......Page 72
Lesson 3: Introducing Html and Xhtml......Page 74
What Html Is (And What It Isn’T)......Page 75
The Current Standard: Xhtml 1.1......Page 79
What Html Files Look Like......Page 80
Using Cascading Style Sheets......Page 86
Programs to Help You Write Html......Page 87
Workshop......Page 89
Lesson 4: Learning the Basics of Html......Page 92
Structuring Your Html......Page 93
The Title......Page 95
Headings......Page 97
Comments......Page 100
Workshop......Page 103
Lesson 5: Organizing Information With Lists......Page 106
Lists: An Overview......Page 107
Numbered Lists......Page 108
Unordered Lists......Page 112
Glossary Lists......Page 115
Nesting Lists......Page 117
Other Uses for Lists......Page 119
Summary......Page 120
Workshop......Page 121
Lesson 6: Adding Links to Your Web Pages......Page 124
Creating Links......Page 125
Linking Local Pages Using Relative and Absolute Pathnames......Page 130
Links to Other Documents on the Web......Page 133
Linking to Specific Places Within Documents......Page 138
Anatomy of a Url......Page 145
Kinds of Urls......Page 148
Summary......Page 152
Workshop......Page 153
Lesson 7: Formatting Text With Html and Css......Page 156
Character-Level Elements......Page 157
Character Formatting Using Css......Page 162
Preformatted Text......Page 164
Horizontal Rules......Page 167
Line Break......Page 170
Quotations......Page 172
Special Characters......Page 174
Text Alignment......Page 178
Fonts and Font Sizes......Page 180
Summary......Page 192
Workshop......Page 196
Lesson 8: Using Css to Style a Site......Page 198
Including Style Sheets in a Page......Page 199
Selectors......Page 201
Units of Measure......Page 205
The Box Model......Page 207
Css Positioning......Page 221
The Tag......Page 230
Links......Page 231
Workshop......Page 232
Lesson 9: Adding Images, Color, and Backgrounds......Page 236
Images on the Web......Page 237
Image Formats......Page 238
Inline Images in Html: The Tag......Page 239
Images and Text......Page 244
Images and Links......Page 253
Other Neat Tricks With Images......Page 257
Using Color......Page 259
Image Backgrounds......Page 263
Using Images As Bullets......Page 267
What Is An Imagemap?......Page 268
Image Etiquette......Page 279
Summary......Page 280
Workshop......Page 281
Lesson 10: Building Tables......Page 284
Table Parts......Page 285
Sizing Tables, Borders, and Cells......Page 294
Table and Cell Color......Page 305
Aligning Your Table Content......Page 307
Spanning Multiple Rows or Columns......Page 312
More Advanced Table Enhancements......Page 321
How Tables Are Used......Page 328
Summary......Page 329
Workshop......Page 334
Lesson 11: Designing Forms......Page 336
Understanding Form and Function......Page 337
Using the Tag......Page 342
Using the Tag......Page 345
Creating Form Controls With the Tag......Page 346
Using Other Form Controls......Page 355
Grouping Controls With Fieldset and Legend......Page 365
Applying Cascading Style Sheet Properties to Form Elements......Page 368
Planning Your Forms......Page 374
Summary......Page 375
Workshop......Page 376
Lesson 12: Integrating Multimedia: Sound, Video, and More......Page 380
Embedding Video the Simple Way......Page 381
Hosting Your Own Video......Page 386
Video and Container Formats......Page 387
Converting Video to H.264......Page 388
Embedding Video Using ......Page 391
Embedding Flash Using the Tag......Page 395
The Tag......Page 400
Embedding Flash Movies Using Swfobject......Page 401
Flash Video Players......Page 403
Embedding Audio in Your Pages......Page 408
Summary......Page 410
Workshop......Page 411
Lesson 13: Advanced Css: Page Layout in Css......Page 414
Laying Out the Page......Page 415
The Role of Css in Web Design......Page 428
Workshop......Page 433
Lesson 14: Introducing Javascript......Page 436
Why Would You Want to Use Javascript?......Page 437
The Tag......Page 439
The Javascript Language......Page 440
The Javascript Environment......Page 453
Events......Page 454
Summary......Page 457
Workshop......Page 458
Lesson 15: Using Javascript in Your Pages......Page 460
Validating Forms With Javascript......Page 461
Hiding and Showing Elements......Page 468
Adding New Content to a Page......Page 477
Workshop......Page 481
Lesson 16: Using Javascript Libraries......Page 484
Reviewing the Popular Javascript Libraries......Page 485
Getting Started With Jquery......Page 487
Your First Jquery Script......Page 488
Binding Events......Page 490
Modifying Styles on the Page......Page 491
Modifying Content on the Page......Page 493
Special Effects......Page 503
Ajax and Jquery......Page 505
Workshop......Page 510
Lesson 17: Working With Frames and Linked Windows......Page 514
What Are Frames?......Page 515
Working With Linked Windows......Page 516
Working With Frames......Page 523
Changing Frame Borders......Page 529
Creating Complex Framesets......Page 532
Inline Frames......Page 546
Opening Linked Windows With Javascript......Page 548
Summary......Page 551
Workshop......Page 554
Lesson 18: Writing Good Web Pages: Do’s and Don’Ts......Page 556
Standards Compliance and Web Browsers......Page 557
Writing for Online Publication......Page 563
Design and Page Layout......Page 568
Using Links......Page 571
Using Images......Page 577
Making the Most of Css and Javascript......Page 581
Other Good Habits and Hints......Page 583
Summary......Page 587
Workshop......Page 589
Lesson 19: Designing for the Real World......Page 592
What Is the Real World, Anyway?......Page 593
Considering User Experience Level......Page 594
Determining User Preference......Page 598
Migrating to Html5......Page 600
What Is Accessibility?......Page 604
Alternative Browsers......Page 606
Writing Accessible Html......Page 607
Designing for Accessibility......Page 611
Validating Your Sites for Accessibility......Page 613
Workshop......Page 615
Lesson 20: Putting Your Site Online......Page 618
What Does a Web Server Do?......Page 619
How to Find Web Hosting......Page 620
Organizing Your Html Files for Publishing......Page 623
Publishing Your Files......Page 625
Troubleshooting......Page 628
Registering and Advertising Your Web Pages......Page 630
Site Indexes and Search Engines......Page 634
Search Engine Optimization......Page 636
Finding Out Who’s Viewing Your Web Pages......Page 637
Workshop......Page 641
Lesson 21: Taking Advantage of the Server......Page 644
How Php Works......Page 645
Getting Php to Run on Your Computer......Page 646
The Php Language......Page 647
Loops......Page 655
User-Defined Functions......Page 659
Processing Forms......Page 661
Using Php Includes......Page 672
Expanding Your Knowledge of Php......Page 675
Other Application Platforms......Page 677
Summary......Page 678
Workshop......Page 679
Lesson 22: Content Management Systems and Publishing Platforms......Page 682
The Rise of Content Management......Page 683
Is a Content Management System Right for You?......Page 684
Types of Content Management Systems......Page 685
Working With Packaged Software......Page 689
Typepad: A Hosted Blogging Application......Page 692
Wordpress......Page 694
Mediawiki......Page 699
Drupal......Page 702
Incorporating Dynamic Content From Other Sites Into Your Pages......Page 707
Summary......Page 712
Workshop......Page 713
Appendix A: Sources for Further Information......Page 716
Browsers......Page 718
Collections of Html and Web Development Information......Page 719
Html Validators, Link Checkers, and Simple Spiders......Page 720
Log File Parsers......Page 721
Sound and Video......Page 722
Server-Side Scripting......Page 723
Tools and Information for Images......Page 724
Web Hosting Providers......Page 725
A......Page 726
B......Page 728
C......Page 729
D......Page 732
F......Page 734
H......Page 737
I......Page 741
J......Page 742
L......Page 743
M......Page 745
O......Page 746
P......Page 747
S......Page 749
T......Page 752
V......Page 755
W......Page 756
X,Y,Z......Page 760

Polecaj historie