On Sat, 25 Jun 2005 03:18:02 +0200, Jonathan N. Little
<lw*****@centralva.net> wrote:
Caversham wrote:
I notice that Dreamweaver automatically adds both name and id
attributes to form input tags. Are both of these required? Is there
some recommendation both should be used?
Caversham
name is for backward compatibility with legacy browsers, like NN4x.
Not for form elements. Try
<form ...>
<input type="text" id="foo" value="bar"> <input type="submit">
</form>
and see if it works :)
ID and name have different semantics and uses, like Lachlan explained.