W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1997

The TYPE attribute

From: E. Stephen Mack <estephen@emf.net>
Date: Tue, 29 Jul 1997 05:16:48 -0700
Message-Id: <3.0.3.32.19970729051648.00e52f78@emf.net>
To: www-html-editor@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:42 GMT