name Posted on March 22, 2017 by Definition and Usage The name attribute specifies the name for a drop-down list. It assigns a name to the input control. The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted.