Chapter 2
Introduction
to XHTML
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-2
FIGURE 2.1 Filling lines
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-3
FIGURE 2.2 Display of greet.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-4
FIGURE 2.3 The paragraph element
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-5
FIGURE 2.4 Display of file-upload.html,
the W3C HTML validation document
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-6
FIGURE 2.5
HTML validation output for greet.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-7
FIGURE 2.6 Line breaks
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-8
FIGURE 2.7 Display of headings.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-9
FIGURE 2.8 Display of blockquote.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-10
FIGURE 2.9 The <big> element
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-11
FIGURE 2.10 The <small> element
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-12
FIGURE 2.11
The <sub> and <sup> elements
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-13
FIGURE 2.12 The <tt> element
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-14
TABLE 2.1
Some Commonly Used Entities
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-15
FIGURE 2.13 Display of image.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-16
FIGURE 2.14 Display of link.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-17
FIGURE 2.15
Following the link from link.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-18
FIGURE 2.16 Display of unordered.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-19
FIGURE 2.17 Display of ordered.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-20
FIGURE 2.18 Display of nested_lists.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-21
FIGURE 2.19 Display of definition.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-22
FIGURE 2.20 Display of table.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-23
FIGURE 2.21 Two levels of column labels
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-24
FIGURE 2.22 Display of cell_span.html:
multiple-labeled columns and labeled rows
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-25
FIGURE 2.23 Display of cell_align.html:
the align and valign attributes
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-26
FIGURE 2.24 Display of space_pad.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-27
FIGURE 2.25 Display of checkbox.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-28
FIGURE 2.26 Display of radio.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-29
FIGURE 2.27 Display of menu.html
(default size of 1)
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-30
FIGURE 2.28 Display of menu.html after
the scroll arrow is clicked
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-31
FIGURE 2.29 Display of menu.html with
size set to 2
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-32
FIGURE 2.30 Display of textarea.html
after some text entry
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-33
FIGURE 2.31 Submit and Reset buttons
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-34
FIGURE 2.32 Display of popcorn.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-35
FIGURE 2.33
A simple frameset of six frames
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-36
FIGURE 2.34 Display of frames.html
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
2-37
FIGURE 2.35 Display of frames.html after
taking the bananas link
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.