W3C home > Mailing lists > Public > www-validator@w3.org > February 2003

Re: Bug in img tag?

From: Ville Skyttä <ville.skytta@iki.fi>
Date: 19 Feb 2003 20:53:30 +0200
To: Melle Boersma <scariz@hotmail.com>
Cc: www-validator@w3.org
Message-Id: <1045680810.1280.169.camel@bobcat.ods.org>

On Mon, 2003-02-17 at 12:56, Melle Boersma wrote:

> Line 17, column 26: there is no attribute "border" (explain...).
>    <img src="foobar" border="0" alt="alt tag" />
> 
> Replacing it with style="border:0px" works fine.
> 
> is the border attribute being deprecated??

Kind of, yes, but it depends on your doctype.  The border attribute to
img does not exist eg. in ISO-HTML or XHTML 1.0 Strict, but does in
XHTML 1.0 Transitional.

-- 
\/ille Skyttä
ville.skytta at iki.fi
Received on Wednesday, 19 February 2003 13:53:21 GMT

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