HTML name attribute
name attribute specifies a unique name for the html elements. name attribute is very important because it is used to retrieve the data of form.
Attribute values
All possible values of name attributeThe value of name attribute is plain text.
Related Tags
The tags that support name attribute<input> tag
-
input tag represents an input field. name attribute specifies a unique name for the input control that is used to process the data. In the other words, this attribute is used in the back-end.
<select> tag
-
The data of select element is manipulated by the name attribute.
<textarea> tag
-
textarea tag represents multi line resizeable textarea.