• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Validating XHTML Documents > Interpreting Error Reports

Interpreting Error Reports

Although it's certainly nice to get a "no errors" report on the first pass through the validator, not every document will succeed. Your next task, then, is learning how to interpret the error reports given by the validator. Listing 8.1 is a simple XHTML document that contains a few well- formedness errors.

Code Listing 8.1. trip.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Shopping List
</head>
<body>
<h1>Things to get before the trip</h2>
<p>Before we leave, we need:
<ul>
<li>Beach towels</li>
<li>Sunblock</li>
<li>New snorkels
<li>Flippers for Linda</li>
</Ul>
</body>
</html>
					


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint