| |
| |
| |
The Internet and World Wide Web | |
| |
| |
| |
The Internet | |
| |
| |
| |
A Brief History of the Internet | |
| |
| |
| |
Intranets | |
| |
| |
| |
Controlling Traffic on the Internet (TCP/IP) | |
| |
| |
| |
IP Addresses | |
| |
| |
| |
Routers and Packets | |
| |
| |
| |
The World Wide Web | |
| |
| |
| |
The Internet vs. the World Wide Web | |
| |
| |
| |
Named Addresses and Domains | |
| |
| |
| |
Domain Name Servers | |
| |
| |
| |
Domains and Web Servers | |
| |
| |
| |
Web Server Accounts | |
| |
| |
| |
Domain Suffixes | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Transactions on the Web | |
| |
| |
| |
Platform Independence | |
| |
| |
| |
The HTML Document | |
| |
| |
| |
The file Protocol | |
| |
| |
| |
The http Protocol | |
| |
| |
| |
The ftp Protocol vs. http | |
| |
| |
| |
Public Directories on Web Servers | |
| |
| |
| |
Web Servers and ftp | |
| |
| |
| |
Hiding Directories on Web Servers | |
| |
| |
| |
The telnet Protocol | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Text Markup | |
| |
| |
| |
HTML Tags and Document Structure | |
| |
| |
| |
Container Elements | |
| |
| |
| |
Formatting Text | |
| |
| |
| |
Horizontal Space | |
| |
| |
| |
Header Elements | |
| |
| |
| |
Preformatted Text and Quoted Material | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Controlling Text Markup | |
| |
| |
| |
Default Settings | |
| |
| |
| |
The HR Element and HTML Attributes | |
| |
| |
| |
HTML Attributes in General | |
| |
| |
| |
Paragraph Alignment | |
| |
| |
| |
Attributes of the BODY Element | |
| |
| |
| |
The FONT Element (Depreciated) | |
| |
| |
| |
Putting It All Together: A Practical Example | |
| |
| |
| |
Style Sheets (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Hypertext Markup and Web Sites | |
| |
| |
| |
HREF Anchors (Links) | |
| |
| |
| |
Absolute and Relative URLs | |
| |
| |
| |
Site Portability | |
| |
| |
| |
Web Site Design Strategies | |
| |
| |
| |
Named Anchors | |
| |
| |
| |
Links to Named Anchors in Other Documents | |
| |
| |
| |
The Mailto Link | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Image Markup | |
| |
| |
| |
Image Files | |
| |
| |
| |
Image Markup | |
| |
| |
| |
Creating Space: The Width and Height Attributes | |
| |
| |
| |
Positioning Images with Text | |
| |
| |
| |
Images as Links | |
| |
| |
| |
Organizing Image Files | |
| |
| |
| |
Putting Images on a Web Server | |
| |
| |
| |
Transparent GIFs and Animated GIFs | |
| |
| |
| |
Background Images | |
| |
| |
| |
Image Maps (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
HTML Lists and Tables | |
| |
| |
| |
HTML Editors | |
| |
| |
| |
Unordered Lists | |
| |
| |
| |
Ordered Lists | |
| |
| |
| |
HTML Tables | |
| |
| |
| |
Controlling TABLE Properties | |
| |
| |
| |
Controlling Row Properties | |
| |
| |
| |
Controlling Properties of Individual Cells | |
| |
| |
| |
HTML Tables as Page Organizers | |
| |
| |
| |
Spanning Rows and Columns | |
| |
| |
| |
Advanced Page Layout | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
HTML Frames | |
| |
| |
| |
Framed Web Pages | |
| |
| |
| |
Attributes of the FRAMESET Element | |
| |
| |
| |
Attributes of the FRAME Element | |
| |
| |
| |
Targeting Links to Frames | |
| |
| |
| |
Nested Frames | |
| |
| |
| |
The Pros and Cons of Frames | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
What is Javascript? | |
| |
| |
| |
Overview of HTML Forms | |
| |
| |
| |
The Client-Server Model | |
| |
| |
| |
Interpreted Programming Languages | |
| |
| |
| |
JavaScript is Not Java | |
| |
| |
| |
Why Learn JavaScript? | |
| |
| |
| |
Related Technologies | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Processing User Input | |
| |
| |
| |
Using JavaScript to Generate HTML | |
| |
| |
| |
Interpreting JavaScript and HTML | |
| |
| |
| |
Where Can JavaScript Be Located? | |
| |
| |
| |
Prompting for and Storing User Input | |
| |
| |
| |
Using Variables to Process Information | |
| |
| |
| |
Variables Names | |
| |
| |
| |
Variable Types | |
| |
| |
| |
Concatenation of Strings | |
| |
| |
| |
Variable Assignment | |
| |
| |
| |
Parsing User Input | |
| |
| |
| |
Statements and Punctuation | |
| |
| |
| |
Errors | |
| |
| |
| |
Flexibility | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Making Decisions | |
| |
| |
| |
Boolean Variables | |
| |
| |
| |
The "if" Statement: Making Decisions | |
| |
| |
| |
A Concatenation Shortcut | |
| |
| |
| |
The "if...else" Structure | |
| |
| |
| |
Basic Input Verification | |
| |
| |
| |
Writing Programs | |
| |
| |
| |
An Advanced Example (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Objects | |
| |
| |
| |
The Nature of Objects | |
| |
| |
| |
JavaScript Objects | |
| |
| |
| |
Objects and Primitives | |
| |
| |
| |
A Simple Program Using Objects | |
| |
| |
| |
Compound Objects | |
| |
| |
| |
The Object Model for the Browser Window | |
| |
| |
| |
Using Window and Document Properties | |
| |
| |
| |
Object Methods | |
| |
| |
| |
Methods of the Window Object | |
| |
| |
| |
The Math Object | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Introduction to Processing Html Forms | |
| |
| |
| |
User Events | |
| |
| |
| |
The Form Object | |
| |
| |
| |
Using Local Variables in Functions | |
| |
| |
| |
The With Statement | |
| |
| |
| |
Organizing Forms with HTML Tables | |
| |
| |
| |
Verification of Text Input | |
| |
| |
| |
An Advanced Example (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Options in HTML forms | |
| |
| |
| |
The Checkbox | |
| |
| |
| |
Using Hidden Values for Checkboxes | |
| |
| |
| |
Radio Buttons and the elements[] Array | |
| |
| |
| |
Using Radio Buttons and the elements[] Array | |
| |
| |
| |
The Pull-Down Menu | |
| |
| |
| |
The onchange Event Handler | |
| |
| |
| |
Verification of User Choices | |
| |
| |
| |
An Advanced Example (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Loops for Repetition | |
| |
| |
| |
The for Loop | |
| |
| |
| |
Counters in Loops | |
| |
| |
| |
Using Loops to Process Forms | |
| |
| |
| |
The while Loop | |
| |
| |
| |
Indefinite Verification of Prompt Input | |
| |
| |
| |
Nested Loops (Optional) | |
| |
| |
| |
An Example Using Nested Loops (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
More on Arrays | |
| |
| |
| |
Parallel Arrays | |
| |
| |
| |
The Array Object | |
| |
| |
| |
The Image Object and Images[] Array | |
| |
| |
| |
Preloading Images into Arrays | |
| |
| |
| |
The Onload Event Handler | |
| |
| |
| |
Displaying a Randomly Selected Image | |
| |
| |
| |
Cycling Image Displays | |
| |
| |
| |
Searching Arrays (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
More on Functions | |
| |
| |
| |
Calling Self-Defined Procedure Functions Without Event Handlers | |
| |
| |
| |
Using Parameters in Procedure Functions | |
| |
| |
| |
Opening New Windows With Form Buttons | |
| |
| |
| |
Image Rollovers | |
| |
| |
| |
Self-Defined Value Functions | |
| |
| |
| |
Using Boolean Return Functions to Verify Form Input | |
| |
| |
| |
The String Object and Verification | |
| |
| |
| |
Advanced Form Verification Using the String Object (Optional) | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
Javascript Security and Submitting form Data | |
| |
| |
| |
The Password Input Element | |
| |
| |
| |
Importing External Scripts | |
| |
| |
| |
Other Security Tricks on the Client | |
| |
| |
| |
CGI Programs | |
| |
| |
| |
The Submit Button | |
| |
| |
| |
Using Hidden Form Elements | |
| |
| |
| |
Summary | |
| |
| |
| |
Review Questions | |
| |
| |
| |
Exercises | |
| |
| |
| |
Project Threads | |
| |
| |
| |
HTML Quick Reference | |
| |
| |
| |
Javascript Objects | |
| |
| |
JavaScript Reserved Words | |
| |
| |
| |
Hexadecimal Color Representations | |
| |
| |
| |
Answers to Selected Review Questions | |
| |
| |
Index | |