Re: Color in pages

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
logical.

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