- From: James Justin Harrell <herorev@yahoo.com>
- Date: Sun, 5 Nov 2006 21:46:13 -0800 (PST)
- To: www-html@w3.org
> > 3. The document also contains a "script" element > having > type="text/javascript" and src="ext.js", but no > "charset" attribute. > The HTML 4.01 specification claims that the value of the script element's type attribute should specify a content type, and that a content type is a MIME type. It references RFC2046 (http://tools.ietf.org/html/rfc2046) which specifies that text media types (text/***) should be treated as US-ASCII by default. However, if the value of the type attribute should really be treated as a MIME type, it's strange that the script element has a charset attribute since MIME types can also specify a character encoding. example: text/javascript; charset=iso-8859-1 ____________________________________________________________________________________ Sponsored Link Degrees online in as fast as 1 Yr - MBA, Bachelor's, Master's, Associate Click now to apply http://yahoo.degrees.info
Received on Monday, 6 November 2006 05:46:31 UTC