Please clarify that type=text/javascript is optional

> 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.)

Henri Sivonen

Received on Thursday, 22 May 2008 11:49:01 UTC