Skip to:Content
|
Bottom
Cover image for Introduction to interactive programming on the internet : using HTML and JavaScript
Title:
Introduction to interactive programming on the internet : using HTML and JavaScript
Personal Author:
Publication Information:
New York : John Wiley, 2001
ISBN:
9780471383666

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000004748376 QA76.625 K58 2001 Open Access Book Book
Searching...

On Order

Summary

Summary

This unique text provides an introduction to programming on the internet. Class tested, over a two-year period, this text covers the "nuts and bolts" of internet programming. In addition to core fundamentals, students are introduced to web page construction HTML, managing an account on a web server, client-server model, and JavaScript programming.

Suitable for an introductory course on Internet programming. Course can be found in Computer Science, Computer Information Systems, and Management Information Systems departments.


Author Notes

Craig D. Knuckles is the author of Introduction to Interactive Programming on the Internet: Using HTML and JavaScript, published by Wiley.


Table of Contents

Lesson 1 The Internet and World Wide Webp. 1
1.1 The Internetp. 1
1.2 A Brief History of the Internetp. 3
1.3 Intranetsp. 4
1.4 Controlling Traffic on the Internet (TCP/IP)p. 5
1.5 IP Addressesp. 5
1.6 Routers and Packetsp. 6
1.7 The World Wide Webp. 7
1.8 The Internet vs. the World Wide Webp. 10
1.9 Named Addresses and Domainsp. 11
1.10 Domain Name Serversp. 12
1.11 Domains and Web Serversp. 12
1.12 Web Server Accountsp. 14
1.13 Domain Suffixesp. 15
1.14 Summaryp. 16
1.15 Review Questionsp. 17
1.16 Exercisesp. 17
1.17 Project Threadsp. 18
Lesson 2 Transactions on the Webp. 20
2.1 Platform Independencep. 20
2.2 The HTML Documentp. 22
2.3 The file Protocolp. 23
2.4 The http Protocolp. 25
2.5 The ftp Protocol vs. httpp. 28
2.6 Public Directories on Web Serversp. 31
2.7 Web Servers and ftpp. 33
2.8 Hiding Directories on Web Serversp. 37
2.9 The telnet Protocolp. 41
2.10 Summaryp. 42
2.11 Review Questionsp. 43
2.12 Exercisesp. 44
2.13 Project Threadsp. 44
Lesson 3 Text Markupp. 45
3.1 HTML Tags and Document Structurep. 46
3.2 Container Elementsp. 49
3.3 Formatting Textp. 50
3.4 Horizontal Spacep. 52
3.5 Header Elementsp. 54
3.6 Preformatted Text and Quoted Materialp. 56
3.7 Summaryp. 58
3.8 Review Questionsp. 59
3.9 Exercisesp. 59
3.10 Project Threadsp. 60
Lesson 4 Controlling Text Markupp. 61
4.1 Default Settingsp. 61
4.2 The HR Element and HTML Attributesp. 62
4.3 HTML Attributes in Generalp. 66
4.4 Paragraph Alignmentp. 68
4.5 Attributes of the BODY Elementp. 69
4.6 The FONT Element (Depreciated)p. 71
4.7 Putting It All Together: A Practical Examplep. 73
4.8 Style Sheets (Optional)p. 76
4.9 Summaryp. 84
4.10 Review Questionsp. 86
4.11 Exercisesp. 87
4.12 Project Threadsp. 87
Lesson 5 Hypertext Markup and Web Sitesp. 88
5.1 HREF Anchors (Links)p. 88
5.2 Absolute and Relative URLsp. 90
5.3 Site Portabilityp. 96
5.4 Web Site Design Strategiesp. 97
5.5 Named Anchorsp. 100
5.6 Links to Named Anchors in Other Documentsp. 104
5.7 The Mailto Linkp. 105
5.8 Summaryp. 106
5.9 Review Questionsp. 108
5.10 Exercisesp. 108
5.11 Project Threadsp. 109
Lesson 6 Image Markupp. 111
6.1 Image Filesp. 111
6.2 Image Markupp. 114
6.3 Creating Space: The Width and Height Attributesp. 116
6.4 Positioning Images with Textp. 118
6.5 Images as Linksp. 121
6.6 Organizing Image Filesp. 123
6.7 Putting Images on a Web Serverp. 124
6.8 Transparent GIFs and Animated GIFsp. 124
6.9 Background Imagesp. 125
6.10 Image Maps (Optional)p. 126
6.11 Summaryp. 131
6.12 Review Questionsp. 134
6.13 Exercisesp. 134
6.14 Project Threadsp. 135
Lesson 7 HTML Lists and Tablesp. 136
7.1 HTML Editorsp. 136
7.2 Unordered Listsp. 137
7.3 Ordered Listsp. 139
7.4 HTML Tablesp. 141
7.5 Controlling TABLE Propertiesp. 142
7.6 Controlling Row Propertiesp. 144
7.7 Controlling Properties of Individual Cellsp. 144
7.8 HTML Tables as Page Organizersp. 146
7.9 Spanning Rows and Columnsp. 149
7.10 Advanced Page Layoutp. 151
7.10 Summaryp. 153
7.11 Review Questionsp. 155
7.12 Exercisesp. 155
7.13 Project Threadsp. 156
Lesson 8 HTML Framesp. 158
8.1 Framed Web Pagesp. 158
8.2 Attributes of the FRAMESET Elementp. 160
8.3 Attributes of the FRAME Elementp. 161
8.4 Targeting Links to Framesp. 163
8.5 Nested Framesp. 165
8.6 The Pros and Cons of Framesp. 168
8.7 Summaryp. 169
8.8 Review Questionsp. 171
8.9 Exercisesp. 171
8.10 Project Threadsp. 172
Lesson 9 What is Javascript?p. 174
9.1 Overview of HTML Formsp. 175
9.2 The Client-Server Modelp. 178
9.3 Interpreted Programming Languagesp. 180
9.4 JavaScript is Not Javap. 181
9.5 Why Learn JavaScript?p. 182
9.6 Related Technologiesp. 183
9.7 Summaryp. 184
9.8 Review Questionsp. 185
9.9 Exercisesp. 185
9.10 Project Threadsp. 185
Lesson 10 Processing User Inputp. 186
10.1 Using JavaScript to Generate HTMLp. 186
10.2 Interpreting JavaScript and HTMLp. 189
10.3 Where Can JavaScript Be Located?p. 189
10.4 Prompting for and Storing User Inputp. 191
10.5 Using Variables to Process Informationp. 193
10.6 Variables Namesp. 195
10.7 Variable Typesp. 196
10.8 Concatenation of Stringsp. 198
10.9 Variable Assignmentp. 199
10.10 Parsing User Inputp. 200
10.11 Statements and Punctuationp. 203
10.12 Errorsp. 205
10.13 Flexibilityp. 206
10.14 Summaryp. 210
10.15 Review Questionsp. 211
10.16 Exercisesp. 212
10.17 Project Threadsp. 212
Lesson 11 Making Decisionsp. 213
11.1 Boolean Variablesp. 213
11.2 The "if" Statement: Making Decisionsp. 216
11.3 A Concatenation Shortcutp. 220
11.4 The "if...else" Structurep. 221
11.5 Basic Input Verificationp. 225
11.6 Writing Programsp. 227
11.7 An Advanced Example (Optional)p. 227
11.8 Summaryp. 234
11.9 Review Questionsp. 236
11.10 Exercisesp. 237
11.11 Project Threadsp. 238
Lesson 12 Objectsp. 239
12.1 The Nature of Objectsp. 239
12.2 JavaScript Objectsp. 240
12.3 Objects and Primitivesp. 241
12.4 A Simple Program Using Objectsp. 242
12.5 Compound Objectsp. 244
12.6 The Object Model for the Browser Windowp. 245
12.7 Using Window and Document Propertiesp. 247
12.8 Object Methodsp. 249
12.9 Methods of the Window Objectp. 250
12.10 The Math Objectp. 252
12.11 Summaryp. 253
12.12 Review Questionsp. 254
12.13 Exercisesp. 255
12.14 Project Threadsp. 255
Lesson 13 Introduction to Processing Html Formsp. 256
13.1 User Eventsp. 256
13.2 The Form Objectp. 258
13.3 Using Local Variables in Functionsp. 260
13.4 The With Statementp. 264
13.5 Organizing Forms with HTML Tablesp. 264
13.6 Verification of Text Inputp. 265
13.7 An Advanced Example (Optional)p. 267
13.8 Summaryp. 270
13.9 Review Questionsp. 271
13.10 Exercisesp. 272
13.11 Project Threadsp. 272
Lesson 14 Options in HTML formsp. 273
14.1 The Checkboxp. 273
14.2 Using Hidden Values for Checkboxesp. 276
14.3 Radio Buttons and the elements[] Arrayp. 278
14.4 Using Radio Buttons and the elements[] Arrayp. 280
14.5 The Pull-Down Menup. 283
14.6 The onchange Event Handlerp. 286
14.7 Verification of User Choicesp. 287
14.8 An Advanced Example (Optional)p. 288
14.9 Summaryp. 291
14.10 Review Questionsp. 292
14.11 Exercisesp. 292
14.12 Project Threadsp. 293
Lesson 15 Loops for Repetitionp. 294
15.1 The for Loopp. 294
15.2 Counters in Loopsp. 297
15.3 Using Loops to Process Formsp. 299
15.4 The while Loopp. 304
15.5 Indefinite Verification of Prompt Inputp. 307
15.6 Nested Loops (Optional)p. 309
15.7 An Example Using Nested Loops (Optional)p. 311
15.8 Summaryp. 315
15.9 Review Questionsp. 315
15.10 Exercisesp. 316
15.11 Project Threadsp. 317
Lesson 16 More on Arraysp. 318
16.1 Parallel Arraysp. 318
16.2 The Array Objectp. 321
16.3 The Image Object and Images[] Arrayp. 323
16.4 Preloading Images into Arraysp. 325
16.5 The Onload Event Handlerp. 326
16.6 Displaying a Randomly Selected Imagep. 328
16.7 Cycling Image Displaysp. 329
16.8 Searching Arrays (Optional)p. 331
16.9 Summaryp. 336
16.10 Review Questionsp. 337
16.11 Exercisesp. 338
16.12 Project Threadsp. 339
Lesson 17 More on Functionsp. 340
17.1 Calling Self-Defined Procedure Functions Without Event Handlersp. 340
17.2 Using Parameters in Procedure Functionsp. 342
17.3 Opening New Windows With Form Buttonsp. 345
17.4 Image Rolloversp. 347
17.5 Self-Defined Value Functionsp. 349
17.6 Using Boolean Return Functions to Verify Form Inputp. 354
17.7 The String Object and Verificationp. 356
17.8 Advanced Form Verification Using the String Object (Optional)p. 358
17.9 Summaryp. 361
17.10 Review Questionsp. 362
17.11 Exercisesp. 363
17.12 Project Threadsp. 364
Lesson 18 Javascript Security and Submitting form Datap. 365
18.1 The Password Input Elementp. 366
18.2 Importing External Scriptsp. 368
18.3 Other Security Tricks on the Clientp. 369
18.4 CGI Programsp. 370
18.5 The Submit Buttonp. 372
18.6 Using Hidden Form Elementsp. 374
18.7 Summaryp. 379
18.8 Review Questionsp. 380
18.9 Exercisesp. 381
18.10 Project Threadsp. 382
Appendix A HTML Quick Referencep. 383
Appendix B Javascript Objectsp. 399
JavaScript Reserved Wordsp. 405
Appendix C Hexadecimal Color Representationsp. 406
Appendix D Answers to Selected Review Questionsp. 409
Indexp. 419
Go to:Top of Page