You simply create a different
style sheet for each device type, or let the XHTML display as is.
2. Improve performance. Pages are much lighter (smaller in ?¬? le size) and therefore download faster, because your
content only needs minimal structural markup. We can now replace all of the presentational markup we used to
load into the tags in every page of a site with a single style sheet. As you will see, a single style sheet can de?¬? ne the
presentation of an entire site, and the user??™s browser only needs to download it once.
3. Serve all browsers. With a little effort, you can have your pages degrade nicely in older browsers, so all users get
the best experience possible with their available technology.
4. Separate content and presentation. You can modify, or entirely change, either the content or the presentation
(read: design) of your site without affecting the other.
(continued on next page)
XHTML: GIVING STRUCTURE TO CONTENT 7
The Times They Are A-Changing
Web standards are now quite widely adopted. Designers are moving
away from using tables to lay out their pages and using clean structural
markup, free of nested tables, spacers, and numerous
(line breaks) and (non-breaking spaces). These techniques
were used only to force everything into the right place and had no
meaning with respect to the content.
Pages:
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29