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
Introduction | p. 1 |
Part I Learning XHTML | p. 7 |
1 XHTML Fundamentals | p. 9 |
XHTML Document Well-Formedness and Validity | p. 10 |
Choosing an XHTML Document Type | p. 10 |
XHTML 1.0 Strict | p. 11 |
XHTML 1.0 Transitional | p. 14 |
XHTML 1.0 Frameset | p. 15 |
Meta Information--The Document Head | p. 15 |
The Doctype Declaration | p. 15 |
Head, Title, and Meta Tags | p. 18 |
Building Blocks of XHTML Documents | p. 19 |
Block-Level Elements | p. 19 |
Inline Elements | p. 20 |
What's Next | p. 21 |
2 Adding Semantics to Structure | p. 23 |
The Semantics of Semantics | p. 24 |
Organizing Documents with Headings | p. 24 |
Grouping and Ordering Data with Lists | p. 25 |
Unordered Lists | p. 26 |
Ordered Lists | p. 29 |
Definition Lists | p. 36 |
Emphasizing Important Content | p. 38 |
Inline Emphasis | p. 38 |
Block-Level Emphasis | p. 39 |
What's Next | p. 40 |
3 Working with Images | p. 43 |
Image Formats for the Web | p. 44 |
GIF Images | p. 44 |
JPEG Images | p. 44 |
PNG Images--The Web's Newest Format | p. 45 |
Web Graphics Editors | p. 45 |
Adding Graphics Using the Image Element | p. 46 |
Image and Text Alignment | p. 47 |
Using Images as Links | p. 48 |
Image Maps | p. 52 |
Creating an Image Map with CuteMAP | p. 53 |
What's Next | p. 56 |
4 Collecting Data with Forms | p. 59 |
The Components of Every Form | p. 60 |
The [form] Element | p. 60 |
Form Input Controls | p. 60 |
Putting Together a Complete Form | p. 71 |
Form Processing Options | p. 73 |
mailto: Form Action | p. 74 |
A Simple CGI Script in Perl | p. 74 |
What's Next | p. 77 |
5 Working with Tables | p. 79 |
Basic Tabular Structure | p. 80 |
Managing Columns and Rows | p. 85 |
Nesting Tables | p. 92 |
Data Alignment--axis and id | p. 95 |
What's Next | p. 104 |
6 Using Frames | p. 107 |
The XHTML 1.0 Frameset Doctype | p. 108 |
Building a Frameset | p. 108 |
Managing Frame Sizes | p. 109 |
Presentational Attributes for Frames | p. 111 |
Nesting Framesets: Frames Within Frames | p. 112 |
Linking Between Frames: The target Attribute | p. 113 |
A Navigation System Based on Frames | p. 114 |
Design Tips for Frames | p. 122 |
Interoperability | p. 122 |
User Manipulation | p. 123 |
Size with Care | p. 123 |
What's Next | p. 124 |
7 Universal Accessibility on the Web | p. 127 |
The Scope of Accessibility | p. 128 |
The W3C Web Accessibility Initiative | p. 129 |
The Web Content Authoring Guidelines | p. 130 |
Techniques for Web Content Authoring Guidelines | p. 131 |
Designing Documents Structurally | p. 131 |
Defining Languages | p. 132 |
Emphasizing Text with Additional Structure | p. 132 |
A List Is a List Is a List | p. 133 |
Tables: Tabular Data or Layout? | p. 133 |
Links | p. 134 |
Provide Alternative Information for Images | p. 134 |
Applets and Objects | p. 135 |
Audio and Video | p. 135 |
If You Must Frame | p. 135 |
Collect Data with Forms | p. 136 |
Script Management with Non-Traditional Browsers | p. 136 |
The Checkpoints | p. 136 |
What's Next | p. 139 |
8 Validating XHTML Documents | p. 141 |
Grammar Checking for the Web | p. 142 |
Why Validate? | p. 142 |
Typo Control | p. 142 |
What You See Is What You Intended to See | p. 143 |
Interoperability | p. 144 |
Using the W3C Validator | p. 145 |
How the Process Works | p. 145 |
The Meaning of Success | p. 146 |
Interpreting Error Reports | p. 147 |
When an Error Isn't an Error | p. 151 |
What's Next | p. 155 |
9 Implementing XHTML Today | p. 157 |
Smoothing the Transition | p. 158 |
XML Processing Instructions | p. 158 |
Working with Empty Elements | p. 159 |
Elements Instances with Empty Content | p. 160 |
Working with Embedded Scripts | p. 161 |
White Space in Attribute Values | p. 162 |
Using the isindex Element | p. 162 |
Identifying the Natural Language of a Document or Element | p. 162 |
Managing Fragment Identifiers | p. 163 |
Specifying Character Encoding | p. 164 |
Expanding Boolean Attributes | p. 165 |
Accessing the Document Object Model (DOM) | p. 165 |
Attributes That Contain Ampersands | p. 166 |
Using CSS with XHTML | p. 166 |
Remaining Compatibility Issues | p. 166 |
Internet Media Types for XHTML | p. 166 |
Tools That Support XHTML | p. 166 |
HTML Tidy | p. 167 |
TidyGUI | p. 168 |
HTML-Kit | p. 170 |
Writing XHTML with HTML-Based Tools | p. 171 |
What's Next | p. 171 |
Part II XHTML Style and Structure | p. 173 |
10 XHTML as the Bridge to XML | p. 175 |
The Freedom of XML--Defining It All Yourself | p. 176 |
The Concept of Well-Formedness | p. 178 |
Improving on Well-Formedness with Schemata or DTDs | p. 181 |
Overview of Document Type Definitions | p. 181 |
Overview of Schemas | p. 182 |
What's Next | p. 183 |
11 Using Cascading Style Sheets with XHTML | p. 185 |
Style in the XHTML World | p. 186 |
Identifying Selectors | p. 188 |
Elements as Selectors | p. 188 |
Creating Classes | p. 189 |
Single-Occurrence Style Rules | p. 190 |
Applying Style | p. 191 |
Styles for Text | p. 191 |
Block Level Formatting | p. 191 |
Spacing Within Blocks | p. 194 |
What's Next | p. 197 |
12 XSL--Style the XML Way | p. 199 |
Understanding XSLT | p. 200 |
XML 101 | p. 200 |
XSLT and Other Pieces of the Jigsaw | p. 201 |
What Is XSL? | p. 202 |
What Does XSLT Do? | p. 203 |
XSLT Processors | p. 204 |
Namespaces in XML | p. 206 |
XPath--XML Path Language | p. 208 |
How Does XPath Work? | p. 208 |
XPath Nodes | p. 209 |
Location Paths | p. 210 |
Abbreviated and Unabbreviated Syntax | p. 211 |
Relative and Absolute Location Paths | p. 212 |
XSL-FO--Formatting Objects | p. 213 |
Creating an XSL Style Sheet | p. 215 |
Basic Style Sheet Concepts | p. 215 |
A Simple Example Style Sheet | p. 216 |
Combining a CSS Style Sheet with XSLT | p. 220 |
What's Next | p. 222 |
13 Document Type Definitions--The Syntax Rulebook | p. 225 |
Building Blocks of a Basic DTD | p. 226 |
EBNF: The Syntax of DTDs | p. 226 |
Defining Elements | p. 227 |
Creating Attributes | p. 229 |
Reading the XHTML DTDs | p. 232 |
Parameter Entities | p. 234 |
Planning for Global Entities and Attributes | p. 239 |
What's Next | p. 239 |
Part III Modularization | p. 241 |
14 XHTML Modularization | p. 243 |
How Modularization Works | p. 244 |
Abstract Module Definitions | p. 244 |
Module DTDs or Schemas | p. 248 |
Combining Predefined Modules | p. 254 |
DTD Drivers: The Glue That Holds Modules Together | p. 254 |
Using a Modularized DTD on the Web | p. 260 |
What's Next | p. 261 |
15 Creating a Custom XHTML Module | p. 263 |
Planning the Content Model | p. 264 |
What Data Needs to Be Stored? | p. 264 |
How Will the Data Be Used? | p. 265 |
The Abstract Module Definition | p. 265 |
Creating the Module Using a DTD | p. 266 |
Working with QNames | p. 266 |
What's Next | p. 272 |
16 Combining Custom Modules with Standard XHTML | p. 275 |
A Look at the XHTML Modular Framework Module | p. 276 |
Integrating the New Module | p. 279 |
The Finished DTD | p. 287 |
Using the New Doctype | p. 289 |
What's Next | p. 291 |
Part IV The Future of XHTML | p. 293 |
17 Subsetting XHTML: XHTML Basic | p. 295 |
Using XHTML on Small-Footprint Devices | p. 296 |
Miniature Computers | p. 296 |
Nontraditional Appliances | p. 296 |
Wireless Access | p. 297 |
Limited Use Devices | p. 297 |
Exploring the XHTML Basic DTD | p. 297 |
Developing to XHTML Basic | p. 297 |
Evaluating the Results | p. 305 |
What's Next | p. 305 |
18 XHTML Document Profiling | p. 307 |
Meta Information | p. 308 |
What Current Techniques Tell Us | p. 308 |
Using Metadata for Machine Instructions | p. 310 |
Tools for Developing meta Elements | p. 313 |
What's Missing? | p. 314 |
What's Next | p. 315 |
19 Next Steps for XHTML | p. 317 |
CC/PP--Composite Capabilities/Preferences Profiles | p. 318 |
Metadata and the Resource Description Framework | p. 320 |
CC/PP Terminology | p. 320 |
Flexible, Extensible, and Distributed | p. 322 |
Current Scope of CC/PP | p. 322 |
CC/PP and XML or XHTML | p. 322 |
The W3C Documentation on CC/PP | p. 323 |
Security | p. 324 |
Position-Dependent Information | p. 325 |
CC/PP and Web-Orientated TV | p. 326 |
TV and the Web | p. 326 |
Use of Television to Browse the Web | p. 326 |
Addition of Web Content to Television | p. 327 |
XForms | p. 327 |
Part V Appendix | p. 333 |
A XHTML Modularization Abstract Module Definitions | p. 335 |
Index | p. 361 |