name
is used by the server-side, this is necessary if you plan to process the field. id
is only so label
elements, when clicked and accessed by screen-readers, can trigger/invoke the form controls ( inputs, selects ).
name
is used by the server-side, this is necessary if you plan to process the field. id
is only so label
elements, when clicked and accessed by screen-readers, can trigger/invoke the form controls ( inputs, selects ).
沒有留言:
張貼留言