You are previewing XHTML by Example.
O'Reilly logo
XHTML by Example

Book Description

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.

Table of Contents

  1. Copyright
  2. About the Author
  3. About the Contributor
  4. Acknowledgments
  5. Tell Us What You Think!
  6. Introduction
  7. Learning XHTML
    1. XHTML Fundamentals
      1. XHTML Document Well-Formedness and Validity
      2. Choosing an XHTML Document Type
      3. Meta Information—The Document Head
      4. Building Blocks of XHTML Documents
      5. What's Next
    2. Adding Semantics to Structure
      1. The Semantics of Semantics
      2. Organizing Documents with Headings
      3. Grouping and Ordering Data with Lists
      4. Emphasizing Important Content
      5. What's Next
    3. Working with Images
      1. Image Formats for the Web
      2. Web Graphics Editors
      3. Adding Graphics Using the Image Element
      4. Image Maps
      5. What's Next
    4. Collecting Data with Forms
      1. The Components of Every Form
      2. Form Processing Options
      3. What's Next
    5. Working with Tables
      1. Basic Tabular Structure
      2. Managing Columns and Rows
      3. Nesting Tables
      4. Data Alignment—axis and id
      5. What's Next
    6. Using Frames
      1. The XHTML 1.0 Frameset Doctype
      2. Building a Frameset
      3. A Navigation System Based on Frames
      4. Design Tips for Frames
      5. What's Next
    7. Universal Accessibility on the Web
      1. The Scope of Accessibility
      2. The W3C Web Accessibility Initiative
      3. The Web Content Authoring Guidelines
      4. Techniques for Web Content Authoring Guidelines
      5. The Checkpoints
      6. What's Next
    8. Validating XHTML Documents
      1. Grammar Checking for the Web
      2. Why Validate?
      3. Using the W3C Validator
      4. Interpreting Error Reports
      5. When an Error Isn't an Error
      6. What's Next
    9. Implementing XHTML Today
      1. Smoothing the Transition
      2. Remaining Compatibility Issues
      3. Tools That Support XHTML
      4. What's Next
  8. XHTML Style and Structure
    1. XHTML as the Bridge to XML
      1. The Freedom of XML—Defining It All Yourself
      2. The Concept of Well-Formedness
      3. Improving on Well-Formedness with Schemata or DTDs
      4. What's Next
    2. Using Cascading Style Sheets with XHTML
      1. Style in the XHTML World
      2. Identifying Selectors
      3. Applying Style
      4. What's Next
    3. XSL—Style the XML Way
      1. Understanding XSLT
      2. XPath—XML Path Language
      3. XSL-FO—Formatting Objects
      4. Creating an XSL Style Sheet
      5. What's Next
    4. Document Type Definitions—The Syntax Rulebook
      1. Building Blocks of a Basic DTD
      2. Reading the XHTML DTDs
      3. What's Next
  9. Modularization
    1. XHTML Modularization
      1. How Modularization Works
      2. Combining Predefined Modules
      3. What's Next
    2. Creating a Custom XHTML Module
      1. Planning the Content Model
      2. Creating the Module Using a DTD
      3. What's Next
    3. Combining Custom Modules with XHTML
      1. A Look at the XHTML Modular Framework Module
      2. Integrating the New Module
      3. The Finished DTD
      4. Using the New Doctype
      5. What's Next
  10. The Future of XHTML
    1. Subsetting XHTML: XHTML Basic
      1. Using XHTML on Small-Footprint Devices
      2. Exploring the XHTML Basic DTD
      3. Developing to XHTML Basic
      4. What's Next
    2. XHTML Document Profiling
      1. Meta Information
      2. What's Missing?
      3. What's Next
    3. Next Steps for XHTML
      1. CC/PP—Composite Capabilities/Preferences Profiles
      2. TV and the Web
      3. XForms
  11. Appendix
    1. XHTML Modularization Abstract Module Definitions
      1. Syntactic Conventions
      2. Attribute Types
      3. Attribute Collections
      4. The Core Modules
      5. Optional Modules
  12. Index