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

validator allows border="none" on IMG

From: Phillip M. Stewart <pms@codenet.net>
Date: Tue, 12 Mar 2002 17:35:19 -0500 (EST)
Message-ID: <3C8E833E.50006@codenet.net>
To: www-validator@w3.org
I noticed that a friend of mine's website validates as XHTML 1.O
Transitional, but he uses border="none" on images.

<img src="/images/tn_shutout.jpg" width="325" height="265" border="none" 
alt="shutout" />


border = pixels [CN]
Deprecated. This attribute specifies the width of an IMG or OBJECT
order, in pixels. The default value for this attribute depends on the
user agent.

1. Pixels: The value (%Pixels; in the DTD) is an integer that represents
the number of pixels of the canvas (screen, paper). Thus, the value "50"
means fifty pixels.

I'm guessing this is a bug in the validator, but please correct me if 
I'm wrong.

  Phillip M. Stewart
Received on Thursday, 14 March 2002 01:21:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC