The clean, easy-to-write, and ?¬‚ exible nature of XHTML produces
code that loads fast, is easy to understand when editing, and
prepares your content for use in a variety of applications.
You can easily determine if your site complies with Web standards??”
if your markup is well-formed with valid XHTML, and your style
sheet is valid CSS.
Well-formed means that the XHTML is structured correctly according
to the markup rules described in this chapter.
Valid means that that page only uses tags that are de?¬? ned in the
DTD (document type de?¬? nition) that is associated with every modern
Web page by the page??™s DOCTYPE tag (more on DOCTYPEs
later). Certain tags that you may have been used to using in the past
are now deprecated, meaning they still work but that a different,
and usually more semantically correct, tag is now available for this
purpose. To encourage you to use the newer tags, which unlike deprecated
tags will still work in the future, deprecated tags are ?¬‚ agged
as errors by the validator. You can check to see if your page meets
these two criteria by uploading the page onto a Web server and then
going to http://validator.w3.org and entering the page??™s URL.
Press Submit, and in a few seconds you are presented with either a
detailed list of the page??™s errors or the very satisfying ???This Page Is
Valid XHTML 1.
Pages:
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36