[Pdx-pm] CGI.pm -- names verses ids
David Wheeler
david at kineticode.com
Tue May 3 17:15:08 PDT 2005
On May 3, 2005, at 17:09 , Randall Hansen wrote:
> it is a little tedious; hard to avoid, though. "id" is a unique
> identifier for the element in the document (in short, a DOM id).
> even if you don't use any style sheets or active scripting, "id" is
> useful for labels. "name" is the control name for the associated
> control (e.g. an input box); it does not need to be unique.
The "name" attribute has been deprecated in XHTML 1.1 for certain
tags (e.g., <a>).
Cheers,
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2369 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/pdx-pm-list/attachments/20050503/bbeb3e3c/smime.bin
More information about the Pdx-pm-list
mailing list