The TYPE attribute

Arnaud,

In HTML 4.0's style.html file [1] is written:

-----excerpt----
The style attribute specifies style information for a single
element. The style information is specified using the default
style sheet language. 

This example sets color and font size information for the text 
in a specific paragraph. 

<P type="text/css" style="font-size: 12pt; color: fuschia">Aren't
style sheets wonderful?
-----end_excerpt----

Here you're using a TYPE attribute, except the TYPE attribute
is not a legal attribute for P according to the DTD and the
list of elements.

I'm sure that this TYPE attribute is here in error, since
you have that pararaph taht refers to the default style
sheet language.

[1] http://www.w3.org/TR/WD-html40/present/styles.html#h-8.1.1.2 

Merci,
-- 
E. Stephen Mack <estephen@emf.net>    http://www.emf.net/~estephen/

Received on Tuesday, 29 July 1997 08:15:39 UTC