Type attribute in script elememt - content-type format

Your validator accepts <script type="javascript" ...> as a valid element.

Internet Explorer 6, Netscape 8, Firefox 1, and Opera 8 for Windows all
ignore such script element.

As I read http://www.ietf.org/rfc/rfc2045.txt page 10, the type attribute
must have a type/subtype format, i.e. text/javascript. Shouldn't the
validator mark type="javascript" as an error?

http://www.risoe.dk/pbk/test/ScriptTest.htm with two script elements and two
type attribute formats will be available for a limited time. The validator
checks the page valid.

Regards - Bent Lynggård.

Received on Sunday, 14 August 2005 03:35:38 UTC