W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: Color in pages

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 23 Nov 2004 17:02:56 +0200 (EET)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0411231656510.20971@korppi.cs.tut.fi>

On Tue, 23 Nov 2004, David Dorward wrote:

> >     <font color="mauve">
> I'd suggest avoiding deprecated examples if possible.

A matter of policy. I think the example is a good one (and
color="000000" would be too), but maybe it's a good idea to avoid
deprecated features.

> Perhaps using
> the "width" attribute of the <img> element would be a better bet.
>      <img ... width="100px">

Well, it's still presentational, though not deprecated. In other words,
it's non-deprecated because the W3C wanted to be "practical" rather than

And it's a bit impractical example in the sense that the incorrect
markup "works" on most browsers (probably simply because they stop parsing
when they see a letter).

You could use <a href="foo bar">, which is valid, yet syntactically
incorrect (by URL syntax).

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 23 November 2004 15:03:29 UTC

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