prosposal: addition of type attribute to <link>

In the CSS (Cascading Style Sheet) draft [1], use of 
the link element is shown as such:

  <LINK REL=STYLESHEET TYPE="text/css" 
      HREF="http://style.com/cool" TITLE="Cool">

Problem: this does not validate under the Wilbur DTD. [2]

It seems that if it were valid under whatever DTD
is next, then the transition to style sheets would
be much smoother, since validated documents utilizing 
CSS would be already be out on the web when browsers 
that support it arrive.

The Wilbur DTD shows the attributes of link as such:

<!ATTLIST LINK
        id      ID      #IMPLIED    -- SGML ID attribute --
        href    %URL    #IMPLIED    -- URL for linked resource --
        rel     %Types  #IMPLIED    -- forward link types --
        rev     %Types  #IMPLIED    -- reverse link types --
        title   CDATA   #IMPLIED    -- advisory title string --
        >

I propose that the following be added:

        type    %Content-Type #IMPLIED    -- MIME Content type --

I'm *reasonably* sure that type would be defined as
"%Content-Type".  Correct me if I'm wrong.

Also, as it's been said before, it would be worthwhile 
if the CLASS attribute were added to all other elements 
in HTML.

Is it worthwhile for me to have written this message?
I don't know, really.  The more I think about it, the
more I think that others on this list could have probably 
done a better write-up of the DTD part. OTOH, perhaps
the lack of type in the link was overlooked, and this
message will draw attention.

[1] http://www.w3.org/pub/WWW/TR/WD-css1-960220.html
[2] http://www.w3.org/hypertext/WWW/MarkUp/Wilbur/HTML3.2.dtd

C  h a r l e s    P e y t o n   T a y l o r        
ctaylor@nps.navy.mil

The opinions and views expressed       ##  even though we're on
our own,

are my own and do not reflect          ##        we are never all
alone,

Those of the Naval PostGraduate School ##  when we are singing,
singing.

                   http://vislab-www.nps.navy.mil/%7ectaylor/

Received on Tuesday, 21 May 1996 20:24:40 UTC