Re: HTML 3.2 PR color value syntax

   Yes, although it is more likely to be used by the <font> tag.  Quite
   frequently I see documents with lots of <font> tags for changing
   colours all using the same hex value .  If the colour definition was
   placed in one place and then referred to by colour attribute of the
   font tag, then this would simplify maintainance.  This is something
   that can also be solved by stylesheets, I think, but people are still
   going to use those <font> tags for the foreseeable(sp?) future.

This is already valid, I think, it just needs browser support for
the doctype declaration subset:

<!doctype html public "-//Foo//DTD HTML x.y//EN" [
<!entity pukegreen SDATA "#29D655">
]>
<html><head><title>Colors</title></head><body>
<font face="Bart-Simpson-Bold" size="10" color="&pukegreen">
<h1>Eat my shorts!</h1></font></body></html>

So far as I remember, interpretation of entity references in the
values of attributes is mandated by ISO 8879. Unfortunately not
even Author/Editor supports it :-)

///Peter

Received on Tuesday, 12 November 1996 20:42:21 UTC