Reply LinkBack Thread Tools Search this Thread
Old 03-11-2004, 11:11   #1 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
My weekly id/name/input/fieldset/form XHTML Strict question.

Just having a bit of a discussion, and have been talking about various different things to the point where confusion is setting in, so set me straight people:

XHTML elements should only need an id, and not a name.

However, FORM elements need a name?
  Reply With Quote
Old 03-11-2004, 11:15   #2 (permalink)
seen.to
unusual suspect ™
 
seen.to's Avatar
 
Join Date: Jul 2004
Location: DE, USA
Posts: 2,710
I believe, and someone will correct me if I'm wrong I hope, that name is deprecated for all elements except FORM.

FORM elements need a name to pass their variables to the right place.

I think.
__________________
  Reply With Quote
Old 03-11-2004, 11:48   #3 (permalink)
secretagentgel
Senior Member
 
secretagentgel's Avatar
 
Join Date: May 2004
Location: new york, ny
Posts: 118
Send a message via ICQ to secretagentgel Send a message via AIM to secretagentgel Send a message via MSN to secretagentgel Send a message via Yahoo to secretagentgel
sounds right from my (still learning) experience.

corey
  Reply With Quote
Old 03-11-2004, 12:02   #4 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,193
Quote:
Originally Posted by seen.to
I believe, and someone will correct me if I'm wrong I hope, that name is deprecated for all elements except FORM.

FORM elements need a name to pass their variables to the right place.

I think.

Yeah, seen.to is right - form elements need id and name
__________________
Random goodness at The Blog

  Reply With Quote
Old 03-11-2004, 12:09   #5 (permalink)
halcheung
DAC
 
Join Date: Oct 2004
Posts: 32
Send a message via MSN to halcheung
I can tell you that form submissions using fields without name attributes do not register those fields with the when using IE5.5.

Also, for some kinds of forms, like Radio, you need more than one Radio buttons with same name in order to group them. but id must be unique.
  Reply With Quote
Old 03-11-2004, 12:50   #6 (permalink)
sleepingfish
css is for divs
 
sleepingfish's Avatar
 
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
Cheers people, until next week...
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8