Web Standards Programmer's Reference : HTML, CSS, JavaScript, Perl, Python, and PHP

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"

I new this book was not for beginners as I have done some html programming before. However I think this book is total waste if you never done any html programming before. The content sometimes can be confusing and just today I realised there was a bug in one of the examples. If there wasnt google or reference websites like [...] I think I would really srtuggle with this book. I am refering to most of the references from w3schools and trying to get some theory from this book. I think I should of done some more search before I baught this book because I definitely think there are much better books than this.

Author(s): Steven M. Schafer
Publisher: Wrox
Year: 2005

Language: English
Pages: 812

Web Standards Programmer’s Reference: HTML, CSS, JavaScript , Perl, Python , and PHP......Page 3
What Is the World Wide Web?......Page 31
Hyper text Markup Language......Page 37
Your First Web Page......Page 41
Summary......Page 42
About the Author......Page 6
Contents......Page 7
Introduction......Page 25
A Word about Standards......Page 26
How This Book Is Organized......Page 27
Conventions Used in this Book......Page 28
What You Need to Work with Examples in This Book......Page 30
Understanding Document-Level Tags......Page 43
Document Type Tag......Page 44
Head Tag Section......Page 45
Body Section......Page 50
Summary......Page 51
Paragraphs — The Basic Block Element......Page 53
Manual Line Breaks......Page 55
Headings......Page 57
Horizontal Rules......Page 58
Preformatted Text......Page 60
Block Divisions......Page 61
Summary......Page 63
Understanding Lists......Page 65
Ordered (Numbered) Lists......Page 67
Unordered (Bulleted) Lists......Page 72
Definition Lists......Page 76
Nesting Lists......Page 77
Summary......Page 79
Image Formats......Page 81
Creating Images......Page 87
Inserting Images into Web Documents......Page 88
Image Attributes......Page 90
Image Maps......Page 93
Summary......Page 97
Understanding URLs......Page 99
Using the Anchor Tag......Page 101
Attributes of the Anchor Tag......Page 102
Document Relationships......Page 105
The Link Tag......Page 106
Summary......Page 107
Methods of Formatting Text......Page 109
Special In-Line Text Elements......Page 112
Bold and Italic......Page 114
Superscript, Subscript, Big, and Small Text......Page 115
Insertions and Deletions......Page 116
Grouping In-Line Elements......Page 117
Summary......Page 118
Par ts of a Table......Page 119
Formatting Tables......Page 121
Using Tables for Page Layout......Page 141
A Word About Frames......Page 151
Summary......Page 152
Understanding Forms......Page 153
Form Handling......Page 157
Passing Form Data......Page 158
The Input Tag......Page 159
Text Input Boxes......Page 160
Radio Buttons......Page 161
List Boxes......Page 162
Large Text Areas......Page 164
Buttons......Page 165
Images......Page 166
Submit and Reset Buttons......Page 167
Fieldsets and Legends......Page 168
Tab Order and Keyboard Shortcuts......Page 170
Preventing Changes to Fields......Page 171
Summary......Page 172
Understanding Plugins......Page 173
The Old Way — The Embed Tag......Page 174
The Object Tag......Page 176
Object Examples......Page 177
Support for Older, Netscape Browsers......Page 180
Summary......Page 181
XML Basics......Page 183
XML Syntax......Page 185
Using XML......Page 190
Summary......Page 192
The Purpose of Styles......Page 193
Styles and HTML......Page 194
CSS Levels 1, 2, and 3......Page 195
Defining Styles......Page 196
Cascading Styles......Page 197
Summary......Page 199
The Style Definition Format......Page 201
Property Values......Page 202
Understanding Selectors......Page 203
Using Pseudoclasses......Page 209
Pseudoelements......Page 211
Shorthand Expressions......Page 215
Summary......Page 217
Aligning Text......Page 219
Indenting Text......Page 224
Controlling White Space......Page 225
Letter and Word Spacing......Page 228
Text Decorations......Page 230
Formatting Lists......Page 231
Autogenerating Text......Page 235
Fonts......Page 240
Summary......Page 244
Understanding the CSS Box Formatting Model......Page 245
Element Padding......Page 248
Element Borders......Page 249
Element Margins......Page 253
Dynamic Outlines......Page 254
Summary......Page 255
Element Colors......Page 257
Background Images......Page 261
Summary......Page 266
CSS Properties and Table Attributes......Page 267
Summary......Page 274
Understanding Positioning Methods......Page 275
Specifying an Element’s Position......Page 282
Floating Elements......Page 285
Controlling an Element’s Size......Page 286
Element Layers......Page 288
Controlling Visibility......Page 291
Summary......Page 292
History of JavaScript......Page 293
Determining the Document Object Model......Page 294
Uses for JavaScript......Page 295
Incorporating JavaScript in Your Documents......Page 296
Summary......Page 298
Basic JavaScript Syntax......Page 299
Data Types and Variables......Page 300
Calculations and Operators......Page 302
Control Structures......Page 304
Labels......Page 308
Built-in Functions......Page 309
User-Defined Functions......Page 310
Objects......Page 311
Event Handling......Page 314
JavaScript Errors and Troubleshooting......Page 316
Summary......Page 320
The History of the DOM......Page 321
Understanding the Document Object Model......Page 322
DOM Node Properties and Methods......Page 325
Traversing a Document’s Nodes......Page 326
Changing Nodes......Page 332
Summary......Page 340
Built-in JavaScript Objects......Page 341
Dynamic HTML......Page 346
Summary......Page 352
How and When to Use JavaScript......Page 353
JavaScript Resources......Page 354
JavaScript Examples......Page 355
Summary......Page 391
CGI History and Operation......Page 393
Serving CGI......Page 397
A Simple CGI Example......Page 398
Summary......Page 400
Additional Perl Resources......Page 401
Data Types and Variables......Page 402
Calculations and Operators......Page 407
Control Structures......Page 410
Regular Expressions......Page 413
Built-in Functions......Page 416
File Operations......Page 417
Objects......Page 421
Using Perl for CGI......Page 423
Perl Errors and Troubleshooting......Page 424
Summary......Page 426
The History of Python......Page 427
Python Interpreter......Page 428
Data Types and Variables......Page 430
Calculations and Operators......Page 438
Control Structures......Page 440
Regular Expressions......Page 443
Built-in Functions......Page 445
User-Defined Functions......Page 446
File Operations......Page 447
Objects......Page 450
Troubleshooting in Python......Page 451
Summary......Page 452
Requirements for CGI......Page 453
Sample CGI Using Bash Shell Scripting......Page 454
Summary......Page 460
How and When to Use CGI......Page 461
Sample Data......Page 462
Perl Examples......Page 469
Python Examples......Page 487
Summary......Page 499
The History of PHP......Page 501
Requirements for PHP......Page 502
PHP Fundamentals......Page 503
A Sample PHP Script......Page 505
Summary......Page 507
Calculations and Operators......Page 509
Control Structures......Page 512
Built-in PHP Functions......Page 516
User-Defined Functions......Page 520
Objects......Page 521
File Operations......Page 525
PHP Errors and Troubleshooting......Page 530
Summary......Page 536
How and When to Use PHP......Page 537
PHP Resources......Page 538
PHP Examples......Page 539
Summary......Page 556
Appendix A: XHTML Reference......Page 557
Element Listings......Page 558
Event Attributes......Page 600
Other Common Attributes......Page 601
Selector Examples......Page 607
Property Listings......Page 608
Selector Review......Page 630
Constants......Page 633
Operators......Page 634
Statements......Page 636
Standard Elements......Page 640
Top-Level Functions......Page 641
Objects......Page 642
Command Line Arguments......Page 679
Perl Symbolic Debugger Commands......Page 680
Operators......Page 682
Standard Variables......Page 685
Statements......Page 687
Functions......Page 690
Regular Expressions......Page 703
Built-in Functions......Page 705
Apache......Page 747
Arrays......Page 748
BCMath......Page 752
BZip2......Page 753
Calendar......Page 754
Class/Object......Page 755
Curl......Page 756
Date and Time......Page 757
Error Handling......Page 759
Filesystem......Page 760
FTP......Page 763
Function Handling......Page 766
Iconv Library......Page 767
Image......Page 768
IMAP......Page 775
Mail......Page 780
Math......Page 781
MIME......Page 783
Miscellaneous......Page 784
MS SQL......Page 785
MySQL......Page 787
Network Functions......Page 790
ODBC......Page 791
Output Buffering......Page 795
PHP Options and Info......Page 796
Regular Expressions......Page 799
Sessions......Page 800
Simple XML......Page 801
Sockets......Page 802
SQLite......Page 804
Streams......Page 806
Strings......Page 808
Variable Functions......Page 814
XML......Page 816
ZLib......Page 817
Index......Page 819