peschkaj has asked for the wisdom of the Perl Monks concerning the following question:

I'm using CGI to generate html, and I recently noticed that it has the nasty habit of generating name="" attributes for input tags. Which is quite annoying when trying to validate code against XHTML 1.0 strict.

Does anyone know of a way to turn this off or at least to supress it?

Thanks in advance,

If you make something idiot-proof, eventually someone will make a better idiot.
I am that better idiot.

Replies are listed 'Best First'.
Re: Unnecessary tag attributes with CGI
by peschkaj (Pilgrim) on Nov 04, 2002 at 23:18 UTC
    To clarify: I confused myself on a number of HTML/XHTML issues in regards to which attributes are and are not valid under XHTML 1.0 Strict. I used zvon.org's excellent XHTML sidebar for Mozilla to search out the appropriate section . Which I could have found by visiting the W3 and looking it up in the XHTML 1.0 Specification.

    If you make something idiot-proof, eventually someone will make a better idiot.
    I am that better idiot.
Re: Unnecessary tag attributes with CGI
by peschkaj (Pilgrim) on Nov 04, 2002 at 00:54 UTC
    Somebody please delete this, it appears that I cannot read a specification.

    If you make something idiot-proof, eventually someone will make a better idiot.
    I am that better idiot.