Course Number: 1912A
Released: 07/2000
Delivery Guide
Introduction to Web
Development
Technologies
Part Number: X05-91013
Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
2000 Microsoft Corporation. All rights reserved.
Microsoft, ActiveX, BackOffice, FrontPage, Internet Explorer, MS-DOS, Notepad, Personal Web
Server, Visual Basic, Windows, and Windows NT are either registered trademarks or trademarks
of Microsoft Corporation in the U.S.A. and/or other countries.
The names of companies, products, people, characters, and/or data mentioned herein are fictitious
and are in no way intended to represent any real individual, company, product, or event, unless
otherwise noted.
Other product and company names mentioned herein may be the trademarks of their respective
owners.
Program Manager: Steve Merrill
Development Lead: Basabjit Chakrabarty (NIIT)
Instructional Designers: Sangeeta Nair, Vijayalakshmi Narayanaswamy (NIIT); Veena Nambier,
Yatinder Walia (NIIT)
Technical Contributors: Scott Swigart (3 Leaf Solutions); Gary Gumbiner (Great Barrier
Technologies, Inc.)
Graphic Artist: Scott Serna (Creative Assets)
Editing Manager: Jennifer Linn
Editor: Reid Bannecker
Production Manager: Miracle Davis
Production Coordinator: Linda Lu Cannon (The Write Stuff)
Build Coordinator: Eric Wagoner
Testing Lead: Eric Meyers
Testing: Bryan Urakawa, Chris and Edward
Lead Product Manager, Internet Services: Hilary Vandal
Manufacturing Manager: Rick Terek
Operations Coordinator: John Williams
Manufacturing Support: Laura King; Kathy Hershey
Lead Product Manager, Release Management: Bo Galford
Group Manager, Courseware Infrastructure: David Bramble
General Manager: Robert Stewart
Course Number: 1912A
Part Number: X05-91013
Released: 07/2000
Introduction to Web Development Technologies iii
Contents
Introduction
Course Materials ......................................................................................................5
Prerequisites.............................................................................................................6
Course Outline .........................................................................................................7
Setup ........................................................................................................................9
Microsoft Certified Professional Program .............................................................10
Facilities.................................................................................................................12
Module 1: Internet Concepts
Overview..................................................................................................................1
Introduction to the Internet ......................................................................................2
Architecture of the Internet......................................................................................9
Connecting to the Internet......................................................................................18
Services Available on the Internet .........................................................................24
Electronic Commerce.............................................................................................30
Web Development Technologies...........................................................................31
Lab 1: Working on the Internet..............................................................................36
Review ...................................................................................................................38
Module 2: Using a Web Browser
Overview..................................................................................................................1
Features for Developers ...........................................................................................2
Configuring Internet Explorer 5...............................................................................3
Downloading Files Using FTP...............................................................................12
Demonstration: Downloading Files Using FTP .....................................................13
Comparing Available Web Browsers ....................................................................14
Review ...................................................................................................................16
Module 3: Basic HTML
Overview..................................................................................................................1
Web Site Design Considerations..............................................................................3
Creating a Web Page................................................................................................5
Adding Images to a Web Page...............................................................................29
Creating Tables......................................................................................................41
Formatting Tables ..................................................................................................47
Nesting Tables .......................................................................................................54
iv Introduction to Web Development Technologies
Lab 3: Creating Web Pages Using HTML............................................................ 55
Review .................................................................................................................. 60
Module 4: Advanced HTML
Overview................................................................................................................. 1
Creating Frames Using HTML ............................................................................... 2
Lab 4.1: Creating Frames Using HTML............................................................... 11
Creating Frames Using FrontPage 2000 ............................................................... 20
Creating Forms Using HTML............................................................................... 24
Practice: Creating a Simple Form ......................................................................... 35
Formatting Forms.................................................................................................. 44
Creating Forms Using FrontPage 2000................................................................. 46
Lab 4.2: Creating a Form Using FrontPage 2000 ................................................. 49
Introduction to Style Sheets .................................................................................. 51
Using Style Sheets ................................................................................................ 53
Practice: Creating Style Sheets Using HTML....................................................... 64
Publishing a Web Page ......................................................................................... 66
Demonstration: Publishing a Web Site ................................................................. 75
Lab 4.3: Publishing a Web Site............................................................................. 77
Review .................................................................................................................. 79
Module 5: Using Server-Side Scripts
Overview................................................................................................................. 1
Introduction to Active Server Pages (ASPs)........................................................... 2
Object Oriented Programming (OOP) Concepts..................................................... 6
Using ASP Objects ................................................................................................. 9
Lab 5: Processing Form Data Using Server-Side Scripts ..................................... 24
Programming in ASP ............................................................................................ 28
Review .................................................................................................................. 48
Module 6: Using Client-Side Scripts
Overview................................................................................................................. 1
Server-Side vs. Client-Side Scripting ..................................................................... 2
Client-Side and Server-Side Objects....................................................................... 3
Introducing Client-Side Scripting ........................................................................... 5
Using Dynamic HTML ........................................................................................... 7
Using Event Procedures........................................................................................ 17
Lab 6.1: Adding a Rollover Effect........................................................................ 25
Using the Document Object Model (DOM).......................................................... 28
Validating Form Inputs ......................................................................................... 38
Lab 6.2: Validating Form Inputs........................................................................... 43
Review .................................................................................................................. 48
Module 7: Adding Active Components
Overview................................................................................................................. 1
Introduction to Active Components........................................................................ 2
List of ActiveX Controls......................................................................................... 9
Working With ActiveX Controls .......................................................................... 11
ActiveX Control Security...................................................................................... 21
Other Active Components..................................................................................... 22
Lab 7: Adding Active Components....................................................................... 28
Review .................................................................................................................. 31
Introduction to Web Development Technologies v
Module 8: Accessing a Database
Overview..................................................................................................................4
Accessing Data from a Text File Using the Tabular Data Control ..........................5
Accessing Data From an XML Document.............................................................14
Database Access Interfaces....................................................................................22
Processing Forms...................................................................................................31
Lab 8: Retrieving Data from a Database Using ASP .............................................42
Review ...................................................................................................................47
Module 9: Building Sample Sites
Overview..................................................................................................................1
Lab 9.1: Designing and Creating a Web Site for a Product-Based Company..........2
Lab 9.2: Designing and Creating a Web Site for an Educational Organization.......5
Lab 9.3: Designing and Creating a Web Site for a Web-Based Company ............10
Appendix A: Lab Answers
Lab 3: Creating Web Pages Using HTML...............................................................1
Lab 4.1: Creating Frames Using HTML..................................................................5
Lab 5: Processing Form Data Using Server-Side Scripts ......................................12
Lab 6.1: Adding a Rollover Effect........................................................................14
Lab 6.2: Validating Form Inputs............................................................................16
Lab 7: Adding Active Components .......................................................................19
Lab 8: Retrieving Data from a Database Using ASP .............................................20
Appendix B: Overview of XML Documents
Structuring Data.......................................................................................................2
What is XML? .......................................................................................................10
Creating XML Documents.....................................................................................19
Grammars and Namespaces...................................................................................34
Review ...................................................................................................................40
Appendix C: Overview of XML Technologies
XML Technologies: The Big Picture.......................................................................2
Viewing XML with Style Sheets .............................................................................6
Binding XML to HTML ........................................................................................12
Accessing XML with the Document Object Model...............................................19
Validating XML.....................................................................................................25
Review ...................................................................................................................35
Appendix D: Troubleshooting Connecting to the Internet
THIS PAGE INTEN
THIS PAGE INTENTIONALLY LEFT BLANKTIONALLY LEFT BLANK