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

Re: [VE][257] Error Message Feedback

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 27 Jun 2005 09:20:37 +1000
Message-ID: <42BF3845.4060109@lachy.id.au>
To: "J. Grant" <jg@jguk.org>
CC: David Håsäther <hasather@gmail.com>, www-validator@w3.org

J. Grant wrote:
  >> An attribute value literal is an attribute value that is delimited by
>> either a quotation mark (") or an apostrophe ('). So, hspace=2 must be
>> either hspace="2" or hspace='2' (but preferably none of them).
> I was wondering why you said preferably none of those though?

Because there is no hspace attribute defined in HTML4/XHTML1, it was 
removed after HTML 3.2 and should not be used anymore.  You should 
instead add margin and/or padding to the image by using CSS.

Lachlan Hunt
Received on Sunday, 26 June 2005 23:20:46 UTC

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