110k views
4 votes
What attribute should be used in the associated form element?

1) class
2) name
3) id
4) value

User Aknon
by
7.9k points

1 Answer

4 votes

Final answer:

The attribute that should be used in the associated form element is the name attribute.

Step-by-step explanation:

The attribute that should be used in the associated form element is the name attribute. The name attribute is used to identify the form element so that it can be sent to the server when the form is submitted.

Example:

<form>
<input type="text" name="username">
</form>

User Robsch
by
8.1k points

No related questions found