W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: Please clarify that type=text/javascript is optional

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 5 Aug 2008 20:40:41 +0000 (UTC)
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTML Working Group <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808052040340.5140@hixie.dreamhostps.com>

On Thu, 22 May 2008, Henri Sivonen wrote:
> 
> > When used to include dynamic scripts, the scripts may either be 
> > embedded inline or may be imported from an external file using the src 
> > attribute. If the language is not that described by "text/javascript", 
> > then the type of the script's language must be given using the type 
> > attribute.
> > 
> > When used to include script data, the script data must be embedded 
> > inline, the format of the data must be given using the type attribute, 
> > and the src attribute must not be specified.
> 
> It isn't quite clear if type=text/javascript is optional as far as 
> conformance goes. (It should be optional.)

Fixed, I hope.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 5 August 2008 20:41:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:57 UTC