W3C home > Mailing lists > Public > www-validator@w3.org > June 2005

Re: [VE][65] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Mon, 13 Jun 2005 07:57:43 +0100
To: K Gene Wells <techwolf@verizon.net>
Cc: www-validator@w3.org
Message-ID: <20050613065743.GA16672@us-lot.org>

(Please send responses to the mailing list, not directly to my
mailbox, thank-you).

On Mon, Jun 13, 2005 at 12:02:01AM -0500, K Gene Wells wrote:
>    Can you provide any help regarding this. I have tried to validate with IE
>    6 and Firefox both on an XP SP2 box.

>    Here is line 30:
>     <img src="./images/techwolf banner.png" width="822" height="214" alt =
>    "techwolf banner.png" title = "techwolf banner.png" />

XHTML 1.1[1] doesn't allow inline content directly in the <body>, you
need to wrap it in some block level container. I'd also suggest
replacing your alt text with real alternative[3] text, and getting rid
of your title attribute (which doesn't really convey anything useful
to the user). Note also that URLs may not contain literal spaces (they
must be represented as "%20"), but the validator will not pick up on
this issue (and should not, it falls outside the scope of
validation). You should probably also change your Doctype[4], it seems
rather odd to use a relative URL in it (do you really mirror the DTD
on your server?).


[1] Which I strongly suggest you don't use since it doesn't have an
Appendix C[2], so you can't serve it as text/html while conforming to
the spec, which means that most user agents (including a default
install of Internet Explorer) can't cope with it in a useful way. I
strongly suggest sticking to HTML 4.01, or if you really think you
need XHTML, version 1.0.

[2] http://www.w3.org/TR/xhtml1/#guidelines

[3] http://ppewww.ph.gla.ac.uk/%7Eflavell/alt/alt-text.html

[4] http://www.w3.org/QA/2002/04/valid-dtd-list.html

-- 
David Dorward                                      http://dorward.me.uk
Received on Monday, 13 June 2005 06:57:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:19 GMT