Cover image for XHTML by example
Title:
XHTML by example
Personal Author:
Publication Information:
Indianapolis, Ind. : Que Publishing, 2001
ISBN:
9780789723857

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000004879718 QA76.76.H94 N38 2001 Open Access Book Book
Searching...
Searching...
30000004879759 QA76.76.H94 N38 2001 Open Access Book Book
Searching...

On Order

Summary

Summary

XHTML by Example explains the differences in syntax between HTML and XHTML, and the concept of 'well-formedness', which is underused in HTML but crucial and required in XHTML. Further coverage includes authoring guidelines for a smooth transition to XHTML, XML DTDs and Schemas, and how they relate to XHTML, how XHTML modularization provides content to non-traditional browsers such as Palm devices, pagers, and cell phones, adding custom XHTML modules to standard XHTML, XHTML document profiling, and plans for XHTML 1.1. The final chapters cover advanced features, including Extended Forms, XHTML Basic, and Profiling content for different types of browsers.


Author Notes

Ann Navarro has published many previous books on web development, including HTML By Example. Ann is a principal architect of the XHTML language as a member of the W3C¿s HTML Working Group, composed of 18 acknowledged experts in the HTML world. As such, her experience with the language is unrivaled. She will be able to provide insight into the decisions made during the development of XHTML, and provide a look ahead at the work in progress within the group as the book goes to press.


Table of Contents

Introductionp. 1
Part I Learning XHTMLp. 7
1 XHTML Fundamentalsp. 9
XHTML Document Well-Formedness and Validityp. 10
Choosing an XHTML Document Typep. 10
XHTML 1.0 Strictp. 11
XHTML 1.0 Transitionalp. 14
XHTML 1.0 Framesetp. 15
Meta Information--The Document Headp. 15
The Doctype Declarationp. 15
Head, Title, and Meta Tagsp. 18
Building Blocks of XHTML Documentsp. 19
Block-Level Elementsp. 19
Inline Elementsp. 20
What's Nextp. 21
2 Adding Semantics to Structurep. 23
The Semantics of Semanticsp. 24
Organizing Documents with Headingsp. 24
Grouping and Ordering Data with Listsp. 25
Unordered Listsp. 26
Ordered Listsp. 29
Definition Listsp. 36
Emphasizing Important Contentp. 38
Inline Emphasisp. 38
Block-Level Emphasisp. 39
What's Nextp. 40
3 Working with Imagesp. 43
Image Formats for the Webp. 44
GIF Imagesp. 44
JPEG Imagesp. 44
PNG Images--The Web's Newest Formatp. 45
Web Graphics Editorsp. 45
Adding Graphics Using the Image Elementp. 46
Image and Text Alignmentp. 47
Using Images as Linksp. 48
Image Mapsp. 52
Creating an Image Map with CuteMAPp. 53
What's Nextp. 56
4 Collecting Data with Formsp. 59
The Components of Every Formp. 60
The [form] Elementp. 60
Form Input Controlsp. 60
Putting Together a Complete Formp. 71
Form Processing Optionsp. 73
mailto: Form Actionp. 74
A Simple CGI Script in Perlp. 74
What's Nextp. 77
5 Working with Tablesp. 79
Basic Tabular Structurep. 80
Managing Columns and Rowsp. 85
Nesting Tablesp. 92
Data Alignment--axis and idp. 95
What's Nextp. 104
6 Using Framesp. 107
The XHTML 1.0 Frameset Doctypep. 108
Building a Framesetp. 108
Managing Frame Sizesp. 109
Presentational Attributes for Framesp. 111
Nesting Framesets: Frames Within Framesp. 112
Linking Between Frames: The target Attributep. 113
A Navigation System Based on Framesp. 114
Design Tips for Framesp. 122
Interoperabilityp. 122
User Manipulationp. 123
Size with Carep. 123
What's Nextp. 124
7 Universal Accessibility on the Webp. 127
The Scope of Accessibilityp. 128
The W3C Web Accessibility Initiativep. 129
The Web Content Authoring Guidelinesp. 130
Techniques for Web Content Authoring Guidelinesp. 131
Designing Documents Structurallyp. 131
Defining Languagesp. 132
Emphasizing Text with Additional Structurep. 132
A List Is a List Is a Listp. 133
Tables: Tabular Data or Layout?p. 133
Linksp. 134
Provide Alternative Information for Imagesp. 134
Applets and Objectsp. 135
Audio and Videop. 135
If You Must Framep. 135
Collect Data with Formsp. 136
Script Management with Non-Traditional Browsersp. 136
The Checkpointsp. 136
What's Nextp. 139
8 Validating XHTML Documentsp. 141
Grammar Checking for the Webp. 142
Why Validate?p. 142
Typo Controlp. 142
What You See Is What You Intended to Seep. 143
Interoperabilityp. 144
Using the W3C Validatorp. 145
How the Process Worksp. 145
The Meaning of Successp. 146
Interpreting Error Reportsp. 147
When an Error Isn't an Errorp. 151
What's Nextp. 155
9 Implementing XHTML Todayp. 157
Smoothing the Transitionp. 158
XML Processing Instructionsp. 158
Working with Empty Elementsp. 159
Elements Instances with Empty Contentp. 160
Working with Embedded Scriptsp. 161
White Space in Attribute Valuesp. 162
Using the isindex Elementp. 162
Identifying the Natural Language of a Document or Elementp. 162
Managing Fragment Identifiersp. 163
Specifying Character Encodingp. 164
Expanding Boolean Attributesp. 165
Accessing the Document Object Model (DOM)p. 165
Attributes That Contain Ampersandsp. 166
Using CSS with XHTMLp. 166
Remaining Compatibility Issuesp. 166
Internet Media Types for XHTMLp. 166
Tools That Support XHTMLp. 166
HTML Tidyp. 167
TidyGUIp. 168
HTML-Kitp. 170
Writing XHTML with HTML-Based Toolsp. 171
What's Nextp. 171
Part II XHTML Style and Structurep. 173
10 XHTML as the Bridge to XMLp. 175
The Freedom of XML--Defining It All Yourselfp. 176
The Concept of Well-Formednessp. 178
Improving on Well-Formedness with Schemata or DTDsp. 181
Overview of Document Type Definitionsp. 181
Overview of Schemasp. 182
What's Nextp. 183
11 Using Cascading Style Sheets with XHTMLp. 185
Style in the XHTML Worldp. 186
Identifying Selectorsp. 188
Elements as Selectorsp. 188
Creating Classesp. 189
Single-Occurrence Style Rulesp. 190
Applying Stylep. 191
Styles for Textp. 191
Block Level Formattingp. 191
Spacing Within Blocksp. 194
What's Nextp. 197
12 XSL--Style the XML Wayp. 199
Understanding XSLTp. 200
XML 101p. 200
XSLT and Other Pieces of the Jigsawp. 201
What Is XSL?p. 202
What Does XSLT Do?p. 203
XSLT Processorsp. 204
Namespaces in XMLp. 206
XPath--XML Path Languagep. 208
How Does XPath Work?p. 208
XPath Nodesp. 209
Location Pathsp. 210
Abbreviated and Unabbreviated Syntaxp. 211
Relative and Absolute Location Pathsp. 212
XSL-FO--Formatting Objectsp. 213
Creating an XSL Style Sheetp. 215
Basic Style Sheet Conceptsp. 215
A Simple Example Style Sheetp. 216
Combining a CSS Style Sheet with XSLTp. 220
What's Nextp. 222
13 Document Type Definitions--The Syntax Rulebookp. 225
Building Blocks of a Basic DTDp. 226
EBNF: The Syntax of DTDsp. 226
Defining Elementsp. 227
Creating Attributesp. 229
Reading the XHTML DTDsp. 232
Parameter Entitiesp. 234
Planning for Global Entities and Attributesp. 239
What's Nextp. 239
Part III Modularizationp. 241
14 XHTML Modularizationp. 243
How Modularization Worksp. 244
Abstract Module Definitionsp. 244
Module DTDs or Schemasp. 248
Combining Predefined Modulesp. 254
DTD Drivers: The Glue That Holds Modules Togetherp. 254
Using a Modularized DTD on the Webp. 260
What's Nextp. 261
15 Creating a Custom XHTML Modulep. 263
Planning the Content Modelp. 264
What Data Needs to Be Stored?p. 264
How Will the Data Be Used?p. 265
The Abstract Module Definitionp. 265
Creating the Module Using a DTDp. 266
Working with QNamesp. 266
What's Nextp. 272
16 Combining Custom Modules with Standard XHTMLp. 275
A Look at the XHTML Modular Framework Modulep. 276
Integrating the New Modulep. 279
The Finished DTDp. 287
Using the New Doctypep. 289
What's Nextp. 291
Part IV The Future of XHTMLp. 293
17 Subsetting XHTML: XHTML Basicp. 295
Using XHTML on Small-Footprint Devicesp. 296
Miniature Computersp. 296
Nontraditional Appliancesp. 296
Wireless Accessp. 297
Limited Use Devicesp. 297
Exploring the XHTML Basic DTDp. 297
Developing to XHTML Basicp. 297
Evaluating the Resultsp. 305
What's Nextp. 305
18 XHTML Document Profilingp. 307
Meta Informationp. 308
What Current Techniques Tell Usp. 308
Using Metadata for Machine Instructionsp. 310
Tools for Developing meta Elementsp. 313
What's Missing?p. 314
What's Nextp. 315
19 Next Steps for XHTMLp. 317
CC/PP--Composite Capabilities/Preferences Profilesp. 318
Metadata and the Resource Description Frameworkp. 320
CC/PP Terminologyp. 320
Flexible, Extensible, and Distributedp. 322
Current Scope of CC/PPp. 322
CC/PP and XML or XHTMLp. 322
The W3C Documentation on CC/PPp. 323
Securityp. 324
Position-Dependent Informationp. 325
CC/PP and Web-Orientated TVp. 326
TV and the Webp. 326
Use of Television to Browse the Webp. 326
Addition of Web Content to Televisionp. 327
XFormsp. 327
Part V Appendixp. 333
A XHTML Modularization Abstract Module Definitionsp. 335
Indexp. 361