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
http://lachy.id.au/
Received on Sunday, 26 June 2005 23:20:46 GMT

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