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: <>
To: www-html-editor@w3.org

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

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?

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- 

E. Stephen Mack <estephen@emf.net>    http://www.emf.net/~estephen/
Received on Tuesday, 29 July 1997 08:15:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:19 UTC