HTML <select> Tag with the 'form' Attribute

<form id="myForm" action="https://www.PuStudy.Com/resources/html-forms-action.html">	
<input name="someText">
<button>Submit</button>
</form>

<select name="Food" form="myForm">
<option value ="apples">Apples</option>
<option value ="bananas">Bananas</option>
<option value ="oranges">Oranges</option>
</select>

The above example demonstrates usage of the <select> element with the form attribute.

The form attribute allows you to associate the <select> control with a form. You do this by referencing the form's ID in the form attribute.

The form attribute enables you to have your <select> select control outside of the form. In other words, the <select> list doesn't need to be nested between the start and end <form> tags.