W3C home > Mailing lists > Public > www-validator@w3.org > May 2002

Re: Strict Not so strict.

From: Thanasis Kinias <tkinias@optimalco.com>
Date: Thu, 23 May 2002 10:16:54 -0700
To: Jamey Weare <jamey.weare@santafe.cc.fl.us>
Cc: www-validator@w3.org
Message-ID: <20020523101654.A8969@glaux.ph.cox.net>
scripsit Jamey Weare:
>    I was demonstrating to my students the validator for
>    strict XHTML today and found it to not be so strict.
>    It allowed align, valign, border, and width attributes.

The Strict DTD [1] gives, for example:

# <!ATTLIST table
#   %attrs;
#   summary     %Text;         #IMPLIED
#   width       %Length;       #IMPLIED
#   border      %Pixels;       #IMPLIED
#   frame       %TFrame;       #IMPLIED
#   rules       %TRules;       #IMPLIED
#   cellspacing %Length;       #IMPLIED
#   cellpadding %Length;       #IMPLIED
#   >

Tables are an exception to the elimination of presentational markup in

>    I was under the understanding that all of those attributes
>    were deprecated. I seem to remember these being found
>    as errors in the past. Is there a bug or is it now allowed?

On <img>, for example, `border' is disallowed.  See [2].

1. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul
Received on Thursday, 23 May 2002 13:18:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:27 UTC