Cover image for HTML & XML for beginners
HTML & XML for beginners
Morrison, Michael, 1970-
Personal Author:
Publication Information:
Redmond, Wash. : Microsoft Press, 2001.
Physical Description:
xvi, 358 pages : illustrations ; 23 cm
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.76.H94 M68 2001 Adult Non-Fiction Central Closed Stacks

On Order



HTML and XML for Beginners provides Web coding beginners with a concise guide to the world of Hypertext Markup Language (HTML), and previews even more powerful alternatives such as Extensible Markup Language (XML). Rich in examples, the book walks the Web beginner through basic HTML techniques such as creating and publishing Web pages, formatting text, adding graphics, and creating hyperlinks. It shows how to use tables to organize content, forms to gather input from site visitors, image maps to support point-and-click navigation, and styles, properties, and multimedia to add visual and sonic interest. It clearly demonstrates how to spice up Web pages with interactive elements by using Dynamic HTML (DHTML). The book ends with an extensive discussion of the most important new language on the Web, XML, and its relevance for data exchange. The book also explores XML variants such as Vector Markup Language (VML), the standard for creating, storing, and exchanging vector drawings on the Internet, and XHTML the merger of XML and HTML. All in all, this title provides the fastest way to get started coding a Web page.

Table of Contents

Acknowledgmentsp. xvi
Part 1 Getting Started with HTML
Chapter 1 HTML Essentialsp. 2
What Is HTML?p. 3
Your Pen Pal, the Web Browserp. 3
Putting on Your HTML X-Ray Glassesp. 4
Why Do I Need to Know HTML?p. 5
Inside a Web Pagep. 6
The Brains of a Web Pagep. 8
Jesse "The Body" Ventura and HTMLp. 8
Common HTML Tags and Attributesp. 9
Writing Your First Web Page in HTMLp. 11
Honor Thyselfp. 12
Adding a Splash of Colorp. 12
Tell Me Something About Yourselfp. 13
Listing Your Activitiesp. 14
The Finished Pagep. 15
Publishing Your First Web Pagep. 16
Conclusionp. 21
Chapter 2 Formatting Textp. 22
Organizing Textp. 23
Text and the Head of a Pagep. 23
A Body Full of Textp. 24
Basic Text Formatting: The Look or the Meaning?p. 26
Content-Based Text Formattingp. 28
Physical Text Formattingp. 29
VH-1 and The Listp. 31
Unordered Listsp. 31
Ordered Listsp. 32
Definition Listsp. 34
One Last Commentp. 35
Conclusionp. 36
Chapter 3 Dressing Up Pages with Imagesp. 37
The Scoop on Imagesp. 37
Working with Imagesp. 39
Displaying Inline Imagesp. 40
Formatting Imagesp. 41
Tweaking the Size of Imagesp. 42
Giving Images Room to Breathep. 43
Building Walls Around Imagesp. 44
Aligning Imagesp. 44
Linking to External Imagesp. 46
Using Background Imagesp. 48
Using Animated Imagesp. 50
Conclusionp. 50
Chapter 4 Connecting Pages with Hyperlinksp. 51
What Is a Hyperlink?p. 52
Understanding URLsp. 53
Host Names and URLsp. 54
Dissecting a URLp. 54
URLs and Web Resourcesp. 55
Working with the [left angle bracket]a[right angle bracket] Tagp. 56
Linking to Web Pagesp. 57
Linking to Other Resourcesp. 57
Practical Linking with the [left angle bracket]a[right angle bracket] Tagp. 58
Anchor Hyperlinksp. 59
Conclusionp. 62
Part 2 Beyond the Basics
Chapter 5 Visual Navigation with Image Mapsp. 64
Image Map Basicsp. 64
Two Approaches to Image Mapsp. 66
Let the Server Do the Workp. 67
Maybe the Client Needs Some Responsibilityp. 67
Using Image Map Development Toolsp. 69
Coding Image Maps by Handp. 71
Creating the Mapp. 71
Associating the Map with an Imagep. 74
Constructing a Practical Image Mapp. 74
Conclusionp. 77
Chapter 6 Organizing Pages with Tablesp. 78
Table Basicsp. 79
Getting to Know the Table Tagsp. 81
Drawing Borders Around Tablesp. 82
Heading Up Your Tablesp. 83
Spanning Cellsp. 84
Setting the Size of Tablesp. 84
Digging Deeper into Table Formattingp. 86
Aligning Tablesp. 86
Giving Tables Some Spacep. 88
Dressing Up Tables with Colors and Imagesp. 90
Revisiting Bordersp. 93
Using Tables for Page Layoutp. 94
Working Out the Designp. 94
Putting the Table Togetherp. 95
Adding the Contentp. 96
Conclusionp. 97
Chapter 7 Gathering Information with Formsp. 98
Understanding Formsp. 98
Processing Forms with Scriptsp. 102
Using Scriptsp. 102
Finding Scriptsp. 103
Borrowing Scriptsp. 104
Getting to Know Form Controlsp. 104
The Text Box and Password Box Controlsp. 105
The Text Area Controlp. 106
The Check Box Controlp. 107
The Radio Button Controlp. 108
The Menu Controlp. 109
The Button Controlsp. 111
Creating Formsp. 112
Establishing the Form's Actionp. 112
Laying Out the Controlsp. 113
The Complete Formp. 115
Testing the Formp. 116
Advanced Form Tips and Tricksp. 118
Creating Read-Only Controlsp. 118
Hiding Controlsp. 119
Organizing Controls into Field Setsp. 119
Setting the Tab Order of Controlsp. 120
Providing Keyboard Shortcutsp. 121
Conclusionp. 122
Chapter 8 Integrating Multimedia with Your Web Pagesp. 123
Understanding Plug-ins and Helper Applicationsp. 124
Working with Soundp. 126
Creating Your Own Soundsp. 127
Finding Soundsp. 128
Adding Sounds to Your Pagesp. 129
Working with Videop. 135
Creating Your Own Videosp. 135
Finding Videosp. 136
Adding Videos to Your Pagesp. 136
Tinkering with Streaming Mediap. 140
Preparing Multimedia Files for Streamingp. 140
Linking to Streaming Multimedia Filesp. 144
Other Types of Multimediap. 145
Conclusionp. 146
Chapter 9 Graphical Tools and HTMLp. 147
Why Use a Graphical Tool?p. 148
Getting Acquainted with Graphical Toolsp. 148
Image Editing Toolsp. 149
Image Map Toolsp. 152
Web Page Design Toolsp. 153
HTML Editorsp. 155
Working with HTML in FrontPagep. 156
Using Different Viewsp. 157
Creating Tablesp. 160
Creating Image Mapsp. 162
Publishing Your Pagesp. 162
Conclusionp. 162
Chapter 10 Publishing Pages on the Webp. 163
Web Publishing Basicsp. 163
Finding a Good Home for Your Web Pagesp. 166
Hosting Your Own Web Sitep. 167
Paying for a Web Hosting Servicep. 167
Hosting with Your Internet Accountp. 169
Using a Free Web Hosting Servicep. 169
Foregoing Web Hosting Entirelyp. 170
Obtaining a Domain Namep. 170
Selecting Web Publishing Softwarep. 172
Conclusionp. 173
Part 3 Adding Style to Your Pages
Chapter 11 Style Sheet Basicsp. 176
What Are Style Sheets?p. 176
The Essentials of Stylep. 180
Applying Styles to Web Pagesp. 182
Internal Style Sheetsp. 182
External Style Sheetsp. 183
Classes of Stylesp. 184
Styling Individual Tagsp. 185
Local Stylesp. 186
Linking with Stylep. 186
Styles and Custom Style Tagsp. 188
Creating Custom Style Tagsp. 189
Putting Custom Style Tags to Workp. 190
Conclusionp. 191
Chapter 12 Using Styles to Format Textp. 192
Assessing Cascading Style Sheets Text Stylesp. 192
Working with Font Stylesp. 193
Setting Individual Font Propertiesp. 193
Setting Font Properties as a Groupp. 195
Putting the Font Styles Togetherp. 196
Dressing Up Text with Stylep. 197
Altering the Spacing of Textp. 200
Using Styles for Text Alignmentp. 202
Aligning Textp. 202
Adjusting the Marginsp. 203
Putting the Text Alignment Styles Togetherp. 204
Digging Into the Bag of Style Tricksp. 205
Conclusionp. 207
Chapter 13 Using Styles for Web Page Positioningp. 209
The Basics of Positioning with Stylep. 209
Using Relative and Absolute Positioningp. 213
Managing Overlapping Elementsp. 214
Tweaking the Appearance of Elementsp. 216
Changing the Size of Elementsp. 216
Showing and Hiding Elementsp. 218
Giving Your Elements a Borderp. 218
Controlling Space on a Pagep. 220
Controlling the Flow of Textp. 223
Flowing Text Around Other Elementsp. 223
Stopping the Flow of Textp. 224
Thy Text Overflowethp. 225
A Complete Positional Style Examplep. 225
Conclusionp. 227
Part 4 Adding Interactivity to Your Pages
Chapter 14 Dynamic HTMLp. 230
DHTML Basicsp. 230
The Least You Need to Know About Scriptsp. 231
Scripting Languagesp. 231
Using Scripts in Web Pagesp. 232
Responding to Eventsp. 232
Getting to Know the Document Object Modelp. 233
Working with Dynamic Stylesp. 234
Manipulating Dynamic Contentp. 237
Fun with Dynamic Positioningp. 240
Getting Practical with DHTMLp. 241
Displaying an Animated Ad Bannerp. 242
Displaying Random Quotesp. 244
Conclusionp. 247
Chapter 15 Creating Special Effectsp. 248
The Basics of Special Effectsp. 248
Working with Visual Filtersp. 249
The Shadow and Drop Shadow Filtersp. 250
The Emboss and Engrave Filtersp. 252
The Glow Filterp. 253
The Blur Filterp. 254
The Basic Image Filterp. 255
Animating Content Changes with Transitionsp. 257
The RandomDissolve Transitionp. 259
The Fade Transitionp. 259
The Strips Transitionp. 260
The Wheel Transitionp. 261
The Barn Transitionp. 261
The Blinds Transitionp. 262
The Checker Board Transitionp. 263
The Gradient Wipe Transitionp. 264
The Radial Wipe Transitionp. 264
Putting on a Slide Showp. 266
Creating Interpage Transitionsp. 267
Conclusionp. 270
Chapter 16 Assessing the Capabilities of a Clientp. 271
What are Client Capabilities?p. 271
Client Capabilities and Internet Explorerp. 273
Obtaining Client Capabilitiesp. 274
Reacting to Client Capabilitiesp. 276
Conclusionp. 280
Part 5 Leveraging XML
Chapter 17 Understanding XMLp. 282
What is XML?p. 282
XML and HTMLp. 284
Getting to Know XMLp. 285
Understanding Elements and Tagsp. 290
Referencing Entitiesp. 290
Using Commentsp. 291
Using Processing Instructionsp. 292
Declaring the Document Typep. 293
Modeling XML Datap. 294
Working with DTDsp. 295
Working with XML Schemap. 296
The Practical Side of XMLp. 298
Conclusionp. 299
Chapter 18 Styling XML with XSLp. 300
Style Sheets and XMLp. 301
Understanding XSLp. 302
Applying XSL to XML Documentsp. 302
Peeking Inside a Style Sheetp. 303
Drilling for Data with Patternsp. 304
Transforming Information with Templatesp. 305
Constructing Your Own XSL Style Sheetp. 308
Conclusionp. 313
Chapter 19 XHTML: XML Meets HTMLp. 314
The Significance of XHTMLp. 315
The Problem with HTMLp. 315
The XHTML Solutionp. 315
The Leap from HTML to XHTMLp. 316
The Need to Accept XHTMLp. 317
The Three XHTML DTDsp. 318
Document Validation Requirementsp. 319
Declaring an XHTML DTD and Namespacep. 319
Validating an XHTML Documentp. 320
Creating an XHTML Documentp. 321
Converting to XHTMLp. 323
XHTML Conversion Guidelinesp. 323
Converting an HTML Document to XHTMLp. 324
An Alternative HTML Conversion Optionp. 328
Conclusionp. 328
Part 6 Appendixes
Appendix A HTML Quick Referencep. 332
Structural Tagsp. 332
Text Tagsp. 333
List Tagsp. 333
Table Tagsp. 334
Form Tagsp. 334
Miscellaneous Tagsp. 335
Appendix B HTML Resources on the Webp. 336
Microsoft's Web Workshopp. 336
Webmonkeyp. 336
HTML Goodiesp. 336
HTML Helpp. 337
The HTML Writer's Guildp. 337
World Wide Web Consortiump. 337
Network Solutionsp. 337
Electronic Frontier Foundationp. 337
Appendix C Using Custom Colorsp. 338
Indexp. 340