- From: Ville Skyttä <ville.skytta@iki.fi>
- Date: 11 May 2002 00:06:39 +0300
- To: Liam Quinn <liam@htmlhelp.com>
- Cc: Evelyn Hunter <boots@aloha.net>, www-validator@w3.org
On Fri, 2002-05-10 at 23:47, Liam Quinn wrote: > > Um, since we are on the topic of Scripts, and not to diverge, but how on > > earth do you get JavaScript passed XHTML? It wants a "type" and I don't > > know what "type will satisfy the validator and not kill the script. Any > > ideas? > > type="text/javascript" Maybe a nitpick thingy, but I'd rather not recommend using "text/javascript" since it is not officially registered in IANA [1]. "application/x-javascript" would IMHO be a better, more established choice, that's what for example Apache sends by default. See also [2]. [1] <URL:http://www.iana.org/assignments/media-types/> [2] <URL:http://www.robinlionheart.com/stds/html4/scripts.html> -- Ville Skyttä ville.skytta@iki.fi
Received on Friday, 10 May 2002 17:07:15 UTC