Easy Tutorial
❮ Ev Onresize Tag Strong ❯

HTML <select> name Attribute

HTML <select> Tag

Example

A dropdown list with the name attribute:


Browser Support

All major browsers support the name attribute.


Definition and Usage

The name attribute specifies the name of the dropdown list.

The name attribute is used to reference elements in JavaScript, or to reference form data after a form is submitted.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
text The name of the dropdown list.
❮ Ev Onresize Tag Strong ❯