Use of name attribute in input tag in HTML | Sololearn: Learn to code for FREE!

0

Use of name attribute in input tag in HTML

Web input tag

4/10/2021 11:00:18 AM

Gunasekaran Ayyasamy

2 Answers

New Answer

0

The name attribute specifies the name of an <input> element. The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted. Note: Only form elements with a name attribute will have their values passed when submitting a form.

-1

cc to