CHAPTER 3 WEB VOCABULARIES XHTML 2.0 At
CHAPTER 3 WEB VOCABULARIES XHTML 2.0 At the time of writing, the W3C had prepared a working draft of the XHTML 2.0 specification (http:// www.w3.org/TR/xhtml2/). This vocabulary removes backward compatibility and all presentation elements in favor of stylesheets. It allows for more flexible organization using sections and headers, and it introduces separator and line elements, as well as navigation lists. It introduces links to every element and overhauls tables and forms. The most recent XHTML specification, XHTML 1.1, became a recommendation in May 2001. It has only one document type to choose from: XHTML 1.1, which is very similar to XHTML 1.0 strict. Each of these four document types has a slightly different set of allowable elements. Choosing the right type of document should be the first step in building your XHTML page. I ll explain each of these document types in more detail. The examples in this chapter show you how to create pages for an imaginary web site called Mars Travel. I ll keep the examples simple so you can focus on the XHTML content. Transitional XHTML Documents You use the transitional document type for web sites that need to work in many different web browsers, because it supports the deprecated elements not allowed in the strict DTD. If you re not ready or able to remove all presentation from your documents, you should use the transitional DTD. Let s look at an example of some transitional markup:
Mars Travel
Visits to a faraway place
Your spacecraft
Your spacecraft is the Mars Explorer, which provides the latest in passenger luxury and travel speed.
XHTML 1.0 Transitional Document
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.