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

[VE][127] New Error Message Suggestion

From: DU <drunclear@netscape.net>
Date: Fri, 28 May 2004 11:28:12 -0400
Message-ID: <40B75A8C.2070009@netscape.net>
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.

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.

Received on Tuesday, 1 June 2004 22:55:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:41 UTC