Re: color text?

H&kon W Lie (
Mon, 1 May 95 17:22:48 EDT

Eric Bina writes:

> Yes, there is a proposed format for describing colored text to go with
> your colored background. It is described at
> and supported in all Netscape 1.1 browsers.
> Dave and the others on this group know it exists, and we have proposed it
> for HTML 3.0, but they would rather require you use a style sheet for this
> which is why they havn't mentioned it to you.

"Style sheets" may sound scary, but the proposed STYLE tag for HTML3
demystifies it. Let's compare Netscape's color attributes with the
Cascading Style Sheet notation:

Netscape 1.1:

<TITLE>Color Control Example</TITLE>
<BODY TEXT="#F0F0F0" BGCOLOR="#000000">

Cascading style sheet notation:

<TITLE>Color Control Example</TITLE>
<STYLE notation=css>font.color=#FFF; back.color=#000</STYLE>

Not much difference. However, the above example shows just about
all you can do with the BODY attributes, while style sheets will give
the web much more expressive power:

<STYLE notation=css>

# Set some properties for the P element

P: = times
P: font.size = 12pt
P: font.color = #F0F0F0

# Make H1 elements be like Netscape's <FONT SIZE=+2> . </FONT> ...

H1: font.size = 20pt
H1: oversize.font.size += 2
H1: style = bold & big-caps

# blink!

EM: = bold & blink


Emacs-w3 and Arena implements the fundamentals of this notation which
is still a moving target. We will be working to make it an Internet
draft, and hope other client programmers will help us. A pre-draft is
available from



Hakon W Lie, WWW project CERN, CH-1211 Geneva 23