Re: XHTML 1.0 validator at W3C

by Kynn Bartlett <kynn(at)idyllmtn.com>

 Date:  Wed, 03 Oct 2001 08:34:31 -0700
 To:  ccyrny(at)freenet.de
 Cc:  hwg-xml(at)hwg.org
 In-Reply-To:  freenet
  todo: View Thread, Original
At 08:14 AM 10/3/2001 , Claus Cyrny wrote:
>I have a short question. The validator at W3C marks the
>attribute border="0" inside an <img> tag as invalid, whereas
>the code of the validator itself (http://validator.w3.org/file-upload.html)
>includes exactly (?) the same tag, and this page validates as
>ok. What did I do wrong here?
>The URL of my site is http://www.grafik-tips.org/.

I could have answered this without checking, but I checked just to
make sure.

The Validator's page is written in XHTML Transitional.  Your page
is written in XHTML Strict.  The @border attribute is only presentational
markup and thus is allowed in Transitional and not allowed in Strict.

--Kynn

-- 
Kynn Bartlett  <kynn(at)idyllmtn.com>                http://kynn.com/
Technical Developer Liaison, Reef             http://www.reef.com/
Chief Technologist, Idyll Mountain Internet   http://idyllmtn.com/
Online Instructor, Accessible Web Design     http://kynn.com/+d201

HWG hwg-xml mailing list archives, maintained by Webmasters