W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

[VE][127] New Error Message Suggestion

From: Home <gmvanvugt@home.nl>
Date: Mon, 31 May 2004 19:31:22 +0200
Message-ID: <000601c44735$18448900$e63a79d9@tilbu1.nb.home.nl>
To: <www-validator@w3.org>
Hello,

The 127 error message provided by you does not inform people on HOW to correct this appropriate.
For an element that has been perfectly good for years, and now should not be valid anymore, the
information provided on how to correct this is not clear to me (and I suspect a lot more people).
The text provided as is placed below, does not state where the type="text/javascript" tag should be placed.

<script language="JavaScript">
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. 

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>. 

Should it be placed within the <script> tag like: <script>type="text/javascript"<script> or not? 

Thanks,

GM
Received on Monday, 31 May 2004 14:32:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT