When an Error Isn't an Error

The error reports you've seen so far in this chapter have been fairly simple to sort out. The process of validation can become more difficult when the validator gets "confused", or gives you strange and almost irrelevant looking reports. In this section, we'll take a look at some errors that generate responses that at first glance, don't make any sense.

Listing 8.2 is similar to the calendar file created back in Chapter 5, "Working with Tables." I've introduced three specific errors into it for the validator to catch. (Can you spot them?)

Code Listing 8.2. calendar.html
 <html> <head> <title>September 2000</title> <meta name="author" content="Ann Navarro </head> <body> <table border="1"> <caption><b>September 2000</b></caption> ...

Get XHTML by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.