- From: DU <drunclear@netscape.net>
- Date: Fri, 28 May 2004 11:28:12 -0400
- To: "www-validator@w3.org" <www-validator@w3.org>
Hello W3C validator people, I think that the <script language="javascript"> is sooooo common on the web that you should design a message just for it. How about this: {{ Line kkk, column mm: required attribute "type" not specified <script language="javascript"> or <script> The attribute "type" is required for the "script" element that you've used, but you have omitted it. A typical value for type is type="text/javascript" for <script>. <link> for more explanations, hints pointing to another file <link> reference to the HTML 4.01 spec. http://www.w3.org/TR/html401/interact/scripts.html#adef-type-SCRIPT }} Whenever possible, the validator message should EXPLAIN the direct, concrete benefit(s) (quantitatively or qualitatively speaking) of correcting a validation error: words should be clearly directed to the web author. E.g.: not specifying the content-type of the script language may do a, b and c and may not do d, e and f in this or that browser. DU
Received on Tuesday, 1 June 2004 22:55:10 UTC