create a
form in HtML. Mention
Section, roll numbers,name, class
Answers
Answered by
0
Answer:
Definition and Usage
The name attribute specifies the name of a form.
The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted.
Explanation:HTML <form> name Attribute
Example
An HTML form with a name attribute:
<form action="/action_page.php" method="get" name="myForm">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<input type="button" onclick="formSubmit()" value="Send form data!">
</form>
Similar questions
Hindi,
2 months ago
English,
2 months ago
Business Studies,
4 months ago
Computer Science,
4 months ago
Biology,
10 months ago
Math,
10 months ago