W3C home > Mailing lists > Public > www-validator@w3.org > January 2003

Button Type validation

From: Charles Hildebrant <childebrant@bookeseminars.com>
Date: Wed, 22 Jan 2003 10:21:05 -0500
To: <www-validator@w3.org>
Message-ID: <000201c2c229$e1b44290$3111ac0a@CEHSEM>
One thing that should be checked during validation is the presents of a
type attribute in the button tag.  In Mozilla when button is a child of
a form, its default type is submit.  This can lead to unexpected results
when you simply want the button to trigger a bit of JavaScript code.
Script and Style tags require type attributes and I believe button
should require type as well.
Received on Wednesday, 22 January 2003 10:24:11 UTC

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