- From: Peter Flynn <pflynn@curia.ucc.ie>
- Date: 13 Nov 1996 01:44:19 +0000 (GMT)
- To: S.N.Brodie@ecs.soton.ac.uk
- Cc: sja20@hermes.cam.ac.uk, www-html@w3.org
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