Beginning XHTML | 2 | WebReference

Beginning XHTML | 2

Beginning XHTML

Beginning XHTML book cover The below articles are from Chapter 13 of the Wrox Press book Beginning XHTML. Beginning XHTML covers media types, CSS2 and, of course, therelationship of both to XHTML.

Different Media Types

The World Wide Web is a wonderful thing: computers all over the world - connected together - sharing documents and multimedia. In recent years, the World Wide Web has begun to grow beyond this comfy computer-based family of devices. The Web is now accessible on mobile phones, handheld digital assistants, and televisions.

This phenomenon has placed a considerable burden on content authors. No longer can they write their documents with expectations on how that content will be displayed. Each of these new devices represents a quite different medium from the computer: the physical characteristics of the devices are different, the relationship between the device and the user is different, and the cost of using the device is different.

Until recently, authors had little choice but to author or re-author their content with each device in mind. With the advent of Cascading Style Sheets (CSS) and something called 'media types,' this began to change.

In this chapter, we will learn how to use CSS and media types to tailor our documents to different devices.

In this chapter we will cover the following:

First, we will define media types and try to understand why they are important.

Created: March 27, 2001
Revised: March 27, 2001